diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 4fde4331..662afb39 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] # Run all shells using bash (including Windows) defaults: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d400e1d..d4987aed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,11 +20,11 @@ The technical steps to contributing to xDEM are: ## Development environment -xDEM currently supports Python versions of 3.8 to 3.10 (see `dev-environment.yml` for detailed dependencies), which are +xDEM currently supports Python versions of 3.9 to 3.11 (see `dev-environment.yml` for detailed dependencies), which are tested in a continuous integration (CI) workflow running on GitHub Actions. When you open a PR on xDEM, a single linting action and 9 test actions will automatically start, corresponding to all -supported Python versions (3.8, 3.9 and 3.10) and OS (Ubuntu, Mac, Windows). The coverage change of the tests will also +supported Python versions (3.9, 3.10 and 3.11) and OS (Ubuntu, Mac, Windows). The coverage change of the tests will also be reported by CoverAlls. ### Setup diff --git a/dev-environment.yml b/dev-environment.yml index 706f11d1..cf17d7cb 100644 --- a/dev-environment.yml +++ b/dev-environment.yml @@ -2,7 +2,7 @@ name: xdem-dev channels: - conda-forge dependencies: - - python>=3.8 + - python>=3.9 - geopandas>=0.10.0 - fiona - shapely diff --git a/environment.yml b/environment.yml index e8182b4d..5144a8e3 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: xdem channels: - conda-forge dependencies: - - python>=3.8 + - python>=3.9 - geopandas>=0.10.0 - fiona - shapely diff --git a/setup.cfg b/setup.cfg index 968b16c8..c35a861c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,9 +20,9 @@ classifiers = Topic :: Scientific/Engineering :: Image Processing Topic :: Scientific/Engineering :: Information Analysis Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Programming Language :: Python :: 3 Topic :: Software Development :: Libraries :: Python Modules Typing :: Typed @@ -33,7 +33,7 @@ download_url = https://pypi.org/project/xdem/ packages = find: zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html include_package_data = True -python_requires = >=3.8 +python_requires = >=3.9 # Avoid pinning dependencies in requirements.txt (which we don't do anyways, and we rely mostly on Conda) # (https://caremad.io/posts/2013/07/setup-vs-requirement/, https://github.com/pypa/setuptools/issues/1951) install_requires = file: requirements.txt