From 28ccb96b879389298b2f308c3dd5297d29974aed Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Tue, 14 Dec 2021 13:48:09 +0000 Subject: [PATCH 1/3] Add support for Python 3.10 Enable testing under CI for 3.10 to see if all dependencies are available for install. --- .github/workflows/pypi.yml | 2 +- .github/workflows/test.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 284d80723..5345a5573 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -47,7 +47,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.9" + python-version: "3.10" - name: Install requirements run: python -m pip install -r env/requirements-build.txt diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37b2bba11..2fac27dfa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,18 +43,18 @@ jobs: - windows python: - "3.6" - - "3.9" + - "3.10" dependencies: - latest include: - os: ubuntu - python: "3.9" + python: "3.10" dependencies: optional - os: macos - python: "3.9" + python: "3.10" dependencies: optional - os: windows - python: "3.9" + python: "3.10" dependencies: optional env: REQUIREMENTS: requirements.txt env/requirements-test.txt env/requirements-build.txt From 8f0339facc56916f2798d88d89ef67cc1e45f6ed Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Fri, 18 Mar 2022 10:15:27 +0000 Subject: [PATCH 2/3] Update the Python version on the dev environment --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 2d6e438b2..678c53762 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - defaults dependencies: - - python==3.9 + - python==3.10 - pip # Build - setuptools_scm>=6.2 From 5bb97932be877ed78fca182cf5ad52f3ccf97c27 Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Fri, 18 Mar 2022 10:16:24 +0000 Subject: [PATCH 3/3] Update Python versions in PyPI metadata --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 238741aad..88ba4485e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 url = https://github.com/fatiando/verde project_urls = Documentation = https://www.fatiando.org/verde