Skip to content

Commit 5f04215

Browse files
authored
Merge pull request #18 from miketheman/patch-1
test: Update GitHub Actions and Python versions
2 parents 4746270 + 272678e commit 5f04215

File tree

4 files changed

+18
-30
lines changed

4 files changed

+18
-30
lines changed

.github/workflows/ci-tests.yml

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,59 +14,47 @@ jobs:
1414
strategy:
1515
matrix:
1616
py:
17-
- "3.7"
1817
- "3.8"
1918
- "3.9"
2019
- "3.10"
2120
- "3.11"
21+
- "3.12"
2222
- "pypy-3.8"
2323
os:
2424
- "ubuntu-latest"
2525
- "windows-latest"
26-
- "macos-latest"
27-
architecture:
28-
- x64
29-
- x86
30-
exclude:
31-
# Linux and macOS don't have x86 python
32-
- os: "ubuntu-latest"
33-
architecture: x86
34-
- os: "macos-latest"
35-
architecture: x86
36-
name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
26+
- "macos-13"
27+
name: "Python: ${{ matrix.py }} on ${{ matrix.os }}"
3728
runs-on: ${{ matrix.os }}
3829
steps:
39-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
4031
- name: Setup python
41-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
4233
with:
4334
python-version: ${{ matrix.py }}
44-
architecture: ${{ matrix.architecture }}
4535
- run: pip install tox
4636
- name: Running tox
4737
run: tox -e py
4838
coverage:
4939
runs-on: ubuntu-latest
5040
name: Validate coverage
5141
steps:
52-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
5343
- name: Setup python
54-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
5545
with:
56-
python-version: "3.7"
57-
architecture: x64
46+
python-version: "3.8"
5847

5948
- run: pip install tox
60-
- run: tox -e py37,coverage
49+
- run: tox -e py38,coverage
6150
lint:
6251
runs-on: ubuntu-latest
6352
name: Lint the package
6453
steps:
65-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
6655
- name: Setup python
67-
uses: actions/setup-python@v4
56+
uses: actions/setup-python@v5
6857
with:
69-
python-version: "3.7"
70-
architecture: x64
58+
python-version: "3.8"
7159
- run: pip install tox
7260
- run: tox -e lint

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Changes
44
unreleased
55
----------
66

7-
- Drop support for Python 3.4, 3.5, 3.6.
7+
- Drop support for Python 3.4, 3.5, 3.6, 3.7.
88

9-
- Add support for Python 3.10, 3.11.
9+
- Add support for Python 3.10, 3.11, 3.12.
1010

1111
2.2 (2019-04-22)
1212
----------------

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ classifiers =
2121
License :: OSI Approved :: MIT License
2222
Programming Language :: Python
2323
Programming Language :: Python :: 3
24-
Programming Language :: Python :: 3.7
2524
Programming Language :: Python :: 3.8
2625
Programming Language :: Python :: 3.9
2726
Programming Language :: Python :: 3.10
2827
Programming Language :: Python :: 3.11
28+
Programming Language :: Python :: 3.12
2929
Programming Language :: Python :: Implementation :: CPython
3030
Programming Language :: Python :: Implementation :: PyPy
3131

@@ -39,7 +39,7 @@ install_requires =
3939
wired >= 0.2
4040
zope.interface
4141
include_package_data = True
42-
python_requires = >=3.7
42+
python_requires = >=3.8
4343

4444
[options.packages.find]
4545
where = src

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
lint,
4-
py37,py38,py39,py310,py311,pypy3,
4+
py38,py39,py310,py311,py312,pypy3,
55
coverage
66

77
[testenv]
@@ -68,4 +68,4 @@ deps =
6868
build
6969
check-manifest
7070
readme_renderer
71-
twine
71+
twine

0 commit comments

Comments
 (0)