diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 77c816b..986b14b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,7 +26,7 @@ jobs: # retires on 2 November 2026 with brownouts before. The timeout makes a # lost runner fail within minutes instead of holding the run. platform: ["ubuntu-latest", "macos-15", "windows-latest"] - python_version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python_version: ["3.11", "3.12", "3.13", "3.14"] runs-on: ${{ matrix.platform }} timeout-minutes: 15 name: test ${{ matrix.platform }} (py${{ matrix.python_version }}) @@ -34,7 +34,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python_version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "${{ matrix.python_version }}" - name: Setup pip diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2f72aec..5ec62a8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,8 @@ +New in version 1.7.0: + +* req-compile requires Python 3.11 or newer. 3.9 and 3.10 are past their end of life, and GitHub's + runner images no longer carry a 3.9 build for every platform the tests run on. + New in version 1.6.5: * Every target of a wheel repository, the ``py_library`` of the package and of each hub, the ``whl`` diff --git a/req_compile/BUILD.bazel b/req_compile/BUILD.bazel index 90251de..6c029f1 100644 --- a/req_compile/BUILD.bazel +++ b/req_compile/BUILD.bazel @@ -29,8 +29,6 @@ py_wheel_library( author_email = "sputt@alumni.iu.edu", classifiers = [ "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.13", @@ -55,7 +53,7 @@ py_wheel_library( }, homepage = "https://github.com/periareon/req-compile", license = "MIT License", - python_requires = ">=3.9", + python_requires = ">=3.11", repository_url = "https://upload.pypi.org/legacy/", summary = "Python requirements compiler", version = VERSION, diff --git a/setup.py b/setup.py index 26f43dc..e0a0e3e 100644 --- a/setup.py +++ b/setup.py @@ -34,11 +34,9 @@ def load_version(path: str) -> str: "req-candidates = req_compile.candidates:candidates_main", ], }, - python_requires=">=3.9", + python_requires=">=3.11", classifiers=[ "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.13",