-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cartopy and drop Python3.8 (#507)
## Overview This PR fixes #494 Changes: * Upgraded Cartopy to v0.23.0 (BSD License) * Added `yamllint` and `isort` to development deps and to linting * Dropped support for Python3.8 ## Additional Information SciTools/cartopy#2285
- Loading branch information
Showing
14 changed files
with
48 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.x" | ||
- uses: pre-commit/[email protected] | ||
|
||
conda: | ||
|
@@ -36,7 +36,6 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest] | ||
python-version: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
|
@@ -50,7 +49,6 @@ jobs: | |
with: | ||
cache-downloads: true | ||
cache-environment: true | ||
activate-environment: raven | ||
environment-file: environment.yml | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
|
@@ -60,14 +58,14 @@ jobs: | |
echo "micromamba: $(micromamba --version)" | ||
- name: Install RavenWPS | ||
run: | | ||
python3 -m pip install --no-user --editable ".[dev]" | ||
python -m pip install --no-user --editable ".[dev]" | ||
- name: Check versions | ||
run: | | ||
conda list | ||
pip check | ||
python -m pip check | ||
- name: Test RavenWPS | ||
run: | | ||
python3 -m pytest -m "not very_slow" tests | ||
python -m pytest -m "not very_slow" tests | ||
finish: | ||
name: Finish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ maintainers = [ | |
{name = "Tuan Long Vu", email = "[email protected]"} | ||
] | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
requires-python = ">=3.8.0" | ||
requires-python = ">=3.9.0" | ||
keywords = ["wps", "pywps", "birdhouse", "raven", "hydrology", "gis", "analysis"] | ||
license = {file = "LICENSE.txt"} | ||
classifiers = [ | ||
|
@@ -27,7 +27,6 @@ classifiers = [ | |
"Programming Language :: Python", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -45,15 +44,15 @@ dependencies = [ | |
"netCDF4", | ||
"numpy", | ||
"owslib", | ||
"pandas <2.0; python_version == '3.8'", | ||
"pandas; python_version >= '3.9'", | ||
"pandas >=2.0", | ||
"psutil", | ||
"pywps ==4.5.1", | ||
"requests", | ||
"xarray >=0.18", | ||
"xclim >=0.31.0", | ||
# GIS libraries | ||
"affine", | ||
"cartopy >=0.23.0", | ||
"fiona >=1.9.0", | ||
"geojson", | ||
"geopandas >=0.12.0", | ||
|
@@ -74,11 +73,12 @@ dependencies = [ | |
dev = [ | ||
# Dev tools and testing | ||
"birdhouse-birdy", | ||
"black >=24.1.1", | ||
"black >=24.4.2", | ||
"black-nb", | ||
"bumpversion", | ||
"flake8 >=7.0.0", | ||
"ipykernel", | ||
"isort >=5.13.2", | ||
"nbconvert", | ||
"nbval", | ||
"nc-time-axis", | ||
|
@@ -119,7 +119,6 @@ raven-wps = "raven.cli:cli" | |
|
||
[tool.black] | ||
target-version = [ | ||
"py38", | ||
"py39", | ||
"py310", | ||
"py311" | ||
|
@@ -169,7 +168,7 @@ exclude = [ | |
|
||
[tool.isort] | ||
profile = "black" | ||
py_version = 38 | ||
py_version = 39 | ||
append_only = true | ||
|
||
[tool.pytest.ini_options] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.