Skip to content

fix: use PurePosixPath for GEE asset IDs#979

Merged
dfguerrerom merged 1 commit intomainfrom
fix/pure-posix-path-gee-assets
Mar 16, 2026
Merged

fix: use PurePosixPath for GEE asset IDs#979
dfguerrerom merged 1 commit intomainfrom
fix/pure-posix-path-gee-assets

Conversation

@dfguerrerom
Copy link
Copy Markdown
Collaborator

Summary

  • Use PurePosixPath instead of Path for GEE asset IDs in aoi_model.py (export_to_asset and export_to_asset_async) and in the gee_dir test fixture
  • GEE asset IDs are always forward-slash paths; using Path produces backslashes on Windows, breaking asset lookups and exports

Supersedes #964 (which had merge conflicts and targeted the old sepal_ui/ paths). Also fixes the async variant which #964 missed.

Closes #964

Test plan

  • Verify CI passes (lint + tests)
  • Confirm export_to_asset produces forward-slash asset IDs regardless of OS

🤖 Generated with Claude Code

GEE asset IDs are always forward-slash paths. Using pathlib.Path produces
backslashes on Windows, breaking asset lookups and exports.

Closes #964
@dfguerrerom dfguerrerom mentioned this pull request Mar 16, 2026
@dfguerrerom dfguerrerom merged commit 2386370 into main Mar 16, 2026
8 checks passed
@dfguerrerom dfguerrerom deleted the fix/pure-posix-path-gee-assets branch March 16, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant