Skip to content

Commit

Permalink
chore: drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Nov 16, 2024
1 parent 641d87d commit dfc9ffb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 34 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -125,6 +105,7 @@ jobs:
uses: pypa/[email protected]
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.
Expand Down Expand Up @@ -160,6 +141,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BUILD: pp*
CIBW_SKIP: pp37-*

# Tests mostly fail because of some confusion with the python interpreter

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -55,7 +52,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.7
- 3.8
- 3.9
- "3.10"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Unreleased
----------

- Add support for Python 3.13
- Drop support for Python 3.7


Version 1.3.3
-------------
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"},
Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[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 =
pytest {posargs}
extras =
test

[testenv:3.7]
basepython = python3.7

[testenv:3.8]
basepython = python3.8

Expand Down

0 comments on commit dfc9ffb

Please sign in to comment.