From 0407eb95ffd7107c9f9f07011d13132d5b74818c Mon Sep 17 00:00:00 2001 From: snowman2 Date: Fri, 29 Dec 2023 14:30:53 -0600 Subject: [PATCH] DEP: Support Python 3.10-3.12 --- .github/workflows/release.yaml | 2 +- .github/workflows/tests.yaml | 2 +- CONTRIBUTING.rst | 2 +- mypy.ini | 2 +- setup.cfg | 5 ++--- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c44f16a..de4b172 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.8' + python-version: '3.10' - name: Install dependencies run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bea6b71..ac5f844 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.8', '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 f2b0884..b16c07f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -103,4 +103,4 @@ 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 example usage to README.rst. -3. The pull request should work for Python 3.8+. +3. The pull request should work for Python 3.10+. diff --git a/mypy.ini b/mypy.ini index b6d63cf..bc1f492 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.8 +python_version = 3.10 allow_redefinition = True [mypy-appdirs] diff --git a/setup.cfg b/setup.cfg index 14790c6..049af09 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,10 +17,9 @@ classifiers = License :: OSI Approved :: BSD License Operating System :: OS Independent 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.12 Programming Language :: Python :: 3 Topic :: Software Development :: Libraries :: Python Modules Typing :: Typed @@ -30,7 +29,7 @@ download_url = http://python.org/pypi/msal-requests-auth [options] packages = find: zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html -python_requires = >=3.8 +python_requires = >=3.10 include_package_data = True install_requires = appdirs