Skip to content

Commit 0f674ce

Browse files
committed
Drop Python 3.5, 3.6 support, add 3.10
Both of these are EOL upstream. We also (finally) mark the package as stable. 3.10 already worked by now we make it official. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 4d1a4f6 commit 0f674ce

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.github/workflows/ci.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout source code
1414
uses: actions/checkout@v2
15-
- name: Set up Python 3.9
15+
- name: Set up Python 3.10
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: 3.9
18+
python-version: 3.10
1919
- name: Install dependencies
2020
run: python -m pip install tox
2121
- name: Run tox
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python: [3.6, 3.7, 3.8, 3.9]
28+
python: [3.7, 3.8, 3.9, 3.10]
2929
steps:
3030
- name: Checkout source code
3131
uses: actions/checkout@v2
@@ -46,10 +46,10 @@ jobs:
4646
uses: actions/checkout@v2
4747
with:
4848
fetch-depth: 0
49-
- name: Set up Python 3.9
49+
- name: Set up Python 3.10
5050
uses: actions/setup-python@v2
5151
with:
52-
python-version: 3.9
52+
python-version: 3.10
5353
- name: Install dependencies
5454
run: python -m pip install tox
5555
- name: Build docs (via tox)
@@ -70,10 +70,10 @@ jobs:
7070
uses: actions/checkout@v2
7171
with:
7272
fetch-depth: 0
73-
- name: Set up Python 3.9
73+
- name: Set up Python 3.10
7474
uses: actions/setup-python@v2
7575
with:
76-
python-version: 3.9
76+
python-version: 3.10
7777
- name: Install dependencies
7878
run: python -m pip install build
7979
- name: Build a binary wheel and a source tarball
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
Support for Python 3.5 and 3.6 has been dropped.
5+
features:
6+
- |
7+
Support for Python 3.10 has been added.

setup.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ license = MIT License
66
license_file = LICENSE
77
classifiers =
88
Programming Language :: Python :: 3
9-
Programming Language :: Python :: 3.5
10-
Programming Language :: Python :: 3.6
119
Programming Language :: Python :: 3.7
1210
Programming Language :: Python :: 3.8
11+
Programming Language :: Python :: 3.9
12+
Programming Language :: Python :: 3.10
1313
Programming Language :: Python
14-
Development Status :: 4 - Beta
14+
Development Status :: 5 - Production/Stable
1515
Environment :: Console
1616
Intended Audience :: Developers
1717
Intended Audience :: Information Technology
@@ -25,7 +25,7 @@ project_urls =
2525
Bug Tracker = https://github.com/getpatchwork/git-pw/issues
2626
Source Code = https://github.com/getpatchwork/git-pw
2727
Documentation = https://git-pw.readthedocs.io
28-
python_requires = >=3.5
28+
python_requires = >=3.7
2929

3030
[files]
3131
packages =

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.1
3-
envlist = pep8,mypy,clean,py{36,37,38,39},report
3+
envlist = pep8,mypy,clean,py{37,38,39,310},report
44
ignore_basepython_conflict = true
55

66
[testenv]

0 commit comments

Comments
 (0)