diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index 9b59a8e..03dcbbb 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup Conda uses: s-weigand/setup-conda@v1 with: - python-version: 3.9 + python-version: '3.10' conda-channels: conda-forge - name: Install and Build @@ -31,7 +31,7 @@ jobs: run: | conda config --prepend channels conda-forge conda config --set channel_priority strict - conda create -n docs python=3.9 odc-geo geopandas rasterio scipy rioxarray xarray pandoc + conda create -n docs python=3.10 odc-geo geopandas rasterio scipy rioxarray xarray pandoc source activate docs python -m pip install -e .[doc] sphinx-build -b html docs/ docs/_build/ diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index 41d4d4e..ca6d84d 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -11,9 +11,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python 3.9 + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.9.13" + python-version: "3.10" - name: nbdime-git-diff uses: raybellwaves/nbdime-git-diff@0.0.6 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 947524f..bcec6ec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7d18434..d535afd 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -28,7 +28,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 61c3980..479fe3d 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -110,7 +110,7 @@ Before you submit a pull request, check that it meets these guidelines: 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst. -3. The pull request should work for Python 3.9-3.11. +3. The pull request should work for Python 3.10-3.12. Tips ---- diff --git a/appveyor.yml b/appveyor.yml index 9b4f9af..6fe6259 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,7 +4,7 @@ environment: matrix: - - PYTHON_VERSION: "3.9" + - PYTHON_VERSION: "3.10" MINICONDA: "C:\\Miniconda3-x64" install: diff --git a/environment.yml b/environment.yml index 89b0f47..608be42 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,7 @@ channels: - conda-forge - defaults dependencies: -- python=3.9 +- python=3.10 - geopandas - rasterio - scipy diff --git a/mypy.ini b/mypy.ini index a183342..7425089 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.9 +python_version = 3.10 allow_redefinition = True plugins = numpy.typing.mypy_plugin diff --git a/setup.cfg b/setup.cfg index d956c51..b63b71b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,9 +18,9 @@ classifiers = Operating System :: OS Independent Topic :: Scientific/Engineering :: GIS Programming Language :: Python - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: 3 Topic :: Software Development :: Libraries :: Python Modules Typing :: Typed @@ -31,7 +31,7 @@ download_url = http://python.org/pypi/geocube packages = find: zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html include_package_data = True -python_requires = >=3.9 +python_requires = >=3.10 install_requires = appdirs click>=6.0