Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b57aa99

Browse files
Update CI and Python versions (#66)
1 parent 0adba5b commit b57aa99

5 files changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on: push
88
jobs:
99
build-n-publish:
1010
name: Build and publish Python distributions to PyPI
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Set up Python 3.9
14+
- name: Set up Python 3.12
1515
uses: actions/setup-python@v4
1616
with:
17-
python-version: 3.9
17+
python-version: 3.12
1818
- name: Install pypa/build
1919
run: >-
2020
python -m

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
12+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
1313

1414
steps:
1515
- uses: actions/checkout@v1

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Known limitations:
9999

100100
# Changelog
101101

102+
## Unreleased
103+
104+
- Drop support for Python 3.7; add support for Python 3.12
105+
102106
## 23.3.0 (March 3, 2023)
103107

104108
- Fix crash on certain argument names like `iterables` (contributed by

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"License :: OSI Approved :: MIT License",
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
3030
"Topic :: Software Development",
3131
],
32-
python_requires=">=3.7",
32+
python_requires=">=3.8",
3333
)

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion=2.3.1
3-
envlist = py37,py38,py39,py310,py311,black,pyanalyze
3+
envlist = py38,py39,py310,py311,py312,black,pyanalyze
44

55
[testenv]
66
deps =
@@ -11,20 +11,20 @@ commands =
1111

1212
[testenv:black]
1313
deps =
14-
black == 22.12.0
14+
black == 24.2.0
1515
commands =
1616
black --check .
1717

1818
[testenv:pyanalyze]
1919
deps =
20-
pyanalyze == 0.8.0
20+
pyanalyze == 0.12.0
2121
commands =
2222
python -m pyanalyze --config pyproject.toml -v autotyping
2323

2424
[gh-actions]
2525
python =
26-
3.7: py37
2726
3.8: py38
2827
3.9: py39
29-
3.10: py310, black, pyanalyze
28+
3.10: py310
3029
3.11: py311
30+
3.12: py312, black, pyanalyze

0 commit comments

Comments
 (0)