From 5de6df8cca2428ada77d426f3bfbceb70087ce89 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Thu, 5 Nov 2026 11:33:28 -0500 Subject: [PATCH] Modernize --- .github/workflows/pypi.yaml | 2 +- .github/workflows/test.yml | 2 +- setup.py | 8 +++----- tox.ini | 4 +--- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index c79b8c3..1be8140 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.11" - name: Install pypa/build run: python -m pip install build --user - name: Build a binary wheel and a source tarball diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dfedce9..cd24190 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.11', '3.12', '3.13', '3.14'] fail-fast: false steps: diff --git a/setup.py b/setup.py index 27c505f..be2d788 100644 --- a/setup.py +++ b/setup.py @@ -15,19 +15,17 @@ long_description=readme, long_description_content_type='text/markdown', license='BSD', - python_requires='>=3.7', + python_requires='>=3.11', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - '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.13', + 'Programming Language :: Python :: 3.14', ], install_requires=[ 'filelock!=3.11.0,!=3.13.0', diff --git a/tox.ini b/tox.ini index d6ca38c..cb6ea44 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = 3.7, 3.8, 3.9, 3.10, 3.11, flake8 +envlist = 3.11, 3.12, 3.13, 3.14, flake8 [testenv:flake8] basepython = python @@ -13,8 +13,6 @@ setenv = PYTHONPATH = {toxinidir} deps = -r{toxinidir}/requirements_dev.txt - 3.9: filelock==3.10.7 - 3.10: filelock==3.12.4 3.11: filelock==3.13.1 ; If you want to make tox run the tests with the same versions, create a ; requirements.txt with the pinned versions and uncomment the following line: