diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index e3d0dbe..0fc471b 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -28,20 +28,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-24.04, windows-latest, macos-latest] - pyver: - - cp38 - - cp39 - - cp310 - - cp311 - - cp312 - - cp313 - include: - - pyver: cp37 - os: macos-13 - - pyver: cp37 - os: ubuntu-24.04 - - pyver: cp37 - os: windows-latest + pyver: [cp38, cp39, cp310, cp311, cp312, cp313] steps: - name: Checkout repos @@ -78,14 +65,7 @@ jobs: strategy: fail-fast: false matrix: - pyver: - - cp37 - - cp38 - - cp39 - - cp310 - - cp311 - - cp312 - - cp313 + pyver: [cp38, cp39, cp310, cp311, cp312, cp313] arch: [aarch64, ppc64le] steps: @@ -125,6 +105,7 @@ jobs: uses: pypa/cibuildwheel@v2.21.2 env: CIBW_BUILD: pp* + CIBW_SKIP: pp37-* CIBW_TEST_EXTRAS: test CIBW_TEST_COMMAND: pytest --color=yes -m 'not embedded' {project}/tests # Passing a space in a param is a b*tch on windows. @@ -160,6 +141,7 @@ jobs: uses: pypa/cibuildwheel@v2.21.2 env: CIBW_BUILD: pp* + CIBW_SKIP: pp37-* # Tests mostly fail because of some confusion with the python interpreter diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbd60d0..cdbb3db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,9 +27,6 @@ jobs: - "pypy-3.10" os: - ubuntu-24.04 - include: - - python-version: 3.7 - os: ubuntu-22.04 steps: - name: Checkout repos @@ -55,7 +52,6 @@ jobs: fail-fast: false matrix: python-version: - - 3.7 - 3.8 - 3.9 - "3.10" @@ -94,8 +90,6 @@ jobs: os: - macos-latest include: - - python-version: 3.7 - os: macos-13 - python-version: 3.8 os: macos-13 - python-version: 3.9 diff --git a/HISTORY.rst b/HISTORY.rst index 541c127..19bab3a 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,6 +5,8 @@ Unreleased ---------- - Add support for Python 3.13 +- Drop support for Python 3.7 + Version 1.3.3 ------------- diff --git a/setup.py b/setup.py index 9732699..8468f2c 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,6 @@ License :: OSI Approved :: BSD License Programming Language :: C Programming Language :: Python :: 3 -Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -119,7 +118,7 @@ def do_build(with_extension): download_url="http://pypi.python.org/pypi/setproctitle/", license="BSD-3-Clause", platforms=["GNU/Linux", "BSD", "MacOS X", "Windows"], - python_requires=">=3.7", + python_requires=">=3.8", classifiers=classifiers, packages=["setproctitle"], package_dir={"setproctitle": "pkg/setproctitle"}, diff --git a/tox.ini b/tox.ini index bca5296..e87166e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, pypy-3.8, pypy-3.9, pypy-3.10 +envlist = 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, pypy-3.8, pypy-3.9, pypy-3.10 [testenv] commands = @@ -7,9 +7,6 @@ commands = extras = test -[testenv:3.7] -basepython = python3.7 - [testenv:3.8] basepython = python3.8