From 11fc18390f1670cf327f87ee21448ab620dbfaa7 Mon Sep 17 00:00:00 2001 From: Grzegorz Juras Date: Tue, 7 Jan 2025 15:15:25 +0100 Subject: [PATCH 1/2] documentation and setup changes to target 3.10, 3.11 and 3.12 --- .github/workflows/ci.yaml | 4 ++-- docs/getting_started.rst | 2 +- setup.cfg | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e2233d4..c3fe602 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: strategy: 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@v2 @@ -38,4 +38,4 @@ jobs: - name: Test doc build with tox run: tox -e docs - if: ${{ (matrix.python-version == '3.10') && (matrix.os == 'ubuntu-latest')}} \ No newline at end of file + if: ${{ (matrix.python-version == '3.11') && (matrix.os == 'ubuntu-latest')}} \ No newline at end of file diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 3e83163..39b68dd 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -8,7 +8,7 @@ Head over to `Python.org`_ for instructions. Python version support ---------------------- -Officially Python 3.9, 3.10, and 3.11. We aim to support the three most +Officially Python 3.10, 3.11, and 3.12. We aim to support the three most recent major versions. OS support diff --git a/setup.cfg b/setup.cfg index ceff862..f97a1e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,14 +13,14 @@ project_urls = classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [options] zip_safe = False packages = find_namespace: -python_requires = >=3.9 +python_requires = >=3.10 install_requires = oauthlib requests-oauthlib From f89d14b49fd3e4c269317f0cd88987a28a6dff5c Mon Sep 17 00:00:00 2001 From: Grzegorz Juras Date: Tue, 7 Jan 2025 15:26:24 +0100 Subject: [PATCH 2/2] default changed from Python 3.9 to 3.10 on tox conf and deploment workflow --- .github/workflows/deploy_public.yml | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_public.yml b/.github/workflows/deploy_public.yml index 7988f22..87ca4d0 100644 --- a/.github/workflows/deploy_public.yml +++ b/.github/workflows/deploy_public.yml @@ -35,10 +35,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | diff --git a/tox.ini b/tox.ini index 4c555f0..7ec9555 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps = pytest-cov [testenv:docs] -basepython = python3.10 +basepython = python3.11 changedir = docs deps = sphinx==5.3.0