From c90dcff5d3fb773bde0fb5c3ffb87a2f63b62b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alice=20de=20Bardonn=C3=A8che-Richard?= Date: Tue, 29 Apr 2025 18:39:15 +0200 Subject: [PATCH] feat: 3.10 --- .github/workflows/pip-checks.yml | 2 +- .github/workflows/python-tests.yml | 2 +- CONTRIBUTING.md | 2 +- dev-environment.yml | 2 +- environment.yml | 2 +- setup.cfg | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pip-checks.yml b/.github/workflows/pip-checks.yml index a179e795..5845e919 100644 --- a/.github/workflows/pip-checks.yml +++ b/.github/workflows/pip-checks.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest"] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index a1376818..64c57290 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest"] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] defaults: run: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7cf926e4..3f68ca76 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ For more details, see the rest of this document. ## Development environment -GeoUtils currently supports only Python versions of 3.11 to 3.13, see `environment.yml` for detailed dependencies. +GeoUtils currently supports only Python versions of 3.10 to 3.13, see `environment.yml` for detailed dependencies. ### Setup diff --git a/dev-environment.yml b/dev-environment.yml index 508b75c9..b851ae7b 100644 --- a/dev-environment.yml +++ b/dev-environment.yml @@ -2,7 +2,7 @@ name: geoutils-dev channels: - conda-forge dependencies: - - python>=3.11,<3.14 + - python>=3.10,<3.14 - geopandas>=0.12.0 - matplotlib=3.* - pyproj=3.* diff --git a/environment.yml b/environment.yml index 61ba6023..f5a81352 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: geoutils channels: - conda-forge dependencies: - - python>=3.11,<3.14 + - python>=3.10,<3.14 - geopandas>=0.12.0 - matplotlib=3.* - pyproj=3.* diff --git a/setup.cfg b/setup.cfg index c433b96a..4325cd93 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Topic :: Scientific/Engineering :: Image Processing Topic :: Scientific/Engineering :: Information Analysis Programming Language :: Python + Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 @@ -33,7 +34,7 @@ packages = find: scripts = bin/geoviewer.py zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html include_package_data = True -python_requires = >=3.11,<3.14 +python_requires = >=3.10,<3.14 # 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