Skip to content

Commit

Permalink
ENH: Handle Python 3.12. #113
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Nov 3, 2023
1 parent 21316bf commit c2cbbed
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,34 @@ pytest_end_to_end311:
when: always
needs: [ "pytest_end_to_end310" ]

pytest_end_to_end312:
image: $EEO_DEPS:312
stage: test
variables:
# Use Dask for python 3.11
EOREADER_USE_DASK: "1"
before_script:
- python -m pip install --upgrade pip
- pip install --ignore-installed PyYAML
- pip install pytest coverage pytest-cov pylint
- pip install -e .
script:
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS_SNAP/test_all_sat_end_to_end_on_disk.py --log-cli-level DEBUG --capture=tee-sys
artifacts:
paths:
- ${CI_PROJECT_DIR}/cov_e2e.html
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
tags:
- sertit
- linux
- high_memory
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"'
when: always
- if: $CI_COMMIT_TAG
when: always
needs: [ "pytest_end_to_end311" ]

tox-linux-3.9:on-schedule:
image: $EO_CONTAINER:3.9
stage: weekly_tests
Expand Down
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
- **BREAKING CHANGES: Rename `utils.stack_dict` to `utils.stack` since we are stacking datasets and not dict anymore.**
- **BREAKING CHANGES: Band ID for Sentinel-3 OLCI are now int instead of band names (i.e. `7` instead of `Oa07`. The names don't change).**
- **ENH: Allow to use bands IDs, names and common name added to mapped names when trying to load a spectral band. ([#111](https://github.com/sertit/eoreader/issues/111)**
- **ENH: Manage Sentinel-2 (currently L2A) as formatted on the cloud (Element84's way). ([#104](https://github.com/sertit/eoreader/issues/111)**
- **ENH: Manage Sentinel-2 (currently L2A) as formatted on the cloud (Element84's way). ([#104](https://github.com/sertit/eoreader/issues/104)**
- **ENH: Handle Python 3.12. ([#113](https://github.com/sertit/eoreader/issues/113)**
- FIX: Fix jpg, png... quicklooks management when plotting
- CI: Update pre-commit hooks
- CI: Revamping `test_satellites`
Expand Down

0 comments on commit c2cbbed

Please sign in to comment.