Skip to content

Commit e4a25d8

Browse files
authored
chore: drop support for Python 3.7 / 3.8 (#97)
* chore: bump ubuntu image for CI to 'ubuntu-latest' * chore: bump mac image for CI to 'macos-13' * fix: build / check dists in tox envdir
1 parent 8598904 commit e4a25d8

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.github/workflows/ci-tests.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,16 @@ jobs:
1616
strategy:
1717
matrix:
1818
py:
19-
- "3.7"
20-
- "3.8"
2119
- "3.9"
2220
- "3.10"
2321
- "3.11"
2422
- "3.12"
2523
- "3.13"
26-
- "pypy-3.8"
24+
- "pypy-3.10"
2725
os:
2826
- "ubuntu-latest"
2927
- "windows-latest"
30-
- "macos-12" # (later seem to fail building python)
28+
- "macos-13"
3129
architecture:
3230
- x64
3331
- x86
@@ -36,7 +34,7 @@ jobs:
3634
# Linux and macOS don't have x86 python
3735
- os: "ubuntu-latest"
3836
architecture: x86
39-
- os: "macos-12"
37+
- os: "macos-13"
4038
architecture: x86
4139

4240
name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"

.readthedocs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-20.04
10+
os: ubuntu-lts-latest
1111
tools:
12-
python: "3.10"
12+
python: "latest"
1313

1414
# Build documentation in the docs/ directory with Sphinx
1515
sphinx:

CHANGES.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
3.3.0 (unreleased)
2+
------------------
3+
4+
- Remove support for Python 3.7 and 3.8.
5+
16
3.1.1 (2024-12-01)
27
------------------
38

setup.cfg

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = venusian
3-
version = 3.1.1
3+
version = 3.2.0dev0
44
description = A library for deferring decorator actions
55
long_description = file: README.rst, CHANGES.rst
66
long_description_content_type = text/x-rst
@@ -11,8 +11,6 @@ classifiers =
1111
Development Status :: 6 - Mature
1212
Intended Audience :: Developers
1313
Programming Language :: Python :: 3
14-
Programming Language :: Python :: 3.7
15-
Programming Language :: Python :: 3.8
1614
Programming Language :: Python :: 3.9
1715
Programming Language :: Python :: 3.10
1816
Programming Language :: Python :: 3.11
@@ -29,7 +27,7 @@ author_email = [email protected]
2927
package_dir=
3028
=src
3129
packages=find:
32-
python_requires = >=3.7
30+
python_requires = >=3.9
3331

3432
[options.packages.find]
3533
where=src

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
lint,
4-
py37,py38,py39,py310,py311,py312,py313,pypy3
4+
py39,py310,py311,py312,py313,pypy3
55
docs,
66
coverage
77
isolated_build = True
@@ -32,8 +32,8 @@ commands =
3232
black --check --diff .
3333
check-manifest
3434
# build sdist/wheel
35-
python -m build .
36-
twine check dist/*
35+
python -m build -o {envdir}/dist .
36+
twine check {envdir}/dist/*
3737
deps =
3838
black
3939
build

0 commit comments

Comments
 (0)