Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 #34

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9c6b808
Test with UPath
remi-braun Dec 13, 2024
7a2cb5d
Updates to make UPath work with zipfile and tarfiles
remi-braun Dec 13, 2024
118cad1
Don't recreate Path without storage options to make it work with UPath
remi-braun Dec 13, 2024
938b657
Merge branch 'main' into 4-switch-from-cloudpathlib-to-universal_pathlib
remi-braun Dec 13, 2024
e6ba438
Create archives module (to avoid circular imports between path and fi…
remi-braun Dec 13, 2024
fa06faf
Simplify pre-commit hooks
remi-braun Dec 13, 2024
3637145
Merge branch 'main' into 4-switch-from-cloudpathlib-to-universal_pathlib
remi-braun Dec 13, 2024
8b95aac
Make UPath work with all archive functions and dcmp
remi-braun Dec 13, 2024
3919037
Make the functions work with cloudpathlib also
remi-braun Dec 13, 2024
fd953c2
**ENH: Use `universal_pathlib` instead of `cloudpathlib` (even if the…
remi-braun Dec 13, 2024
455716a
BREAKING CHANGE: Remove all deprecations from `sertit==1.*` #3
remi-braun Dec 13, 2024
829ef81
Fix storage option handling
remi-braun Dec 13, 2024
dac6505
Merge branch 'main' into 2.0.0
remi-braun Dec 17, 2024
323dc28
Merge branch 'main' into 2.0.0
remi-braun Dec 23, 2024
b6e8509
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 23, 2024
c9e3f3c
FIX: Allow str as paths in `ci.assert_files_equal`
remi-braun Dec 23, 2024
2be7216
Fix files after CI folder renaming
remi-braun Dec 23, 2024
28b5f25
Remove useless fct in CI
remi-braun Dec 23, 2024
fcc353a
FIX: Better alignement between `rasters.read` function and `rasters.a…
remi-braun Dec 23, 2024
69bf6d1
FIX: Fix `rasters.sieve` function with `xr.apply_ufunc`
remi-braun Dec 23, 2024
c47581a
Fix CI
remi-braun Dec 23, 2024
e54eb49
Fix CI
remi-braun Dec 23, 2024
14234e5
Merge branch 'main' into 2.0.0
remi-braun Dec 24, 2024
b2a93d2
Merge branch 'main' into 2.0.0
remi-braun Jan 6, 2025
bc16c37
Merge branch 'main' into 2.0.0
remi-braun Jan 27, 2025
1cf310e
Fix merge
remi-braun Jan 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove useless fct in CI
  • Loading branch information
remi-braun committed Dec 23, 2024
commit 28b5f25719e0d69a18af83f1d9b67a17e4d9cabb
13 changes: 2 additions & 11 deletions ci/script_utils.py
Original file line number Diff line number Diff line change
@@ -52,21 +52,12 @@ def get_s3_ci_path():
return ci_path


def get_proj_path():
"""Get project path"""
if int(os.getenv(CI_SERTIT_S3, 1)) and sys.platform != "win32":
return get_s3_ci_path()
else:
# ON DISK
return AnyPath(unistra.get_db3_path())


def get_ci_data_path():
"""Get CI DATA path"""
if int(os.getenv(CI_SERTIT_S3, 1)) and sys.platform != "win32":
return get_proj_path().joinpath("DATA")
return get_s3_ci_path() / "DATA"
else:
return get_proj_path().joinpath("CI", "sertit_utils", "DATA")
return AnyPath(unistra.get_db3_path()) / "CI" / "sertit_utils" / "DATA"


def dask_env(function):