Skip to content

Commit 895f7c4

Browse files
authored
Add Python 3.11 to docs/build matrix. (#327)
* fix py311 test #326, add 3.11 to the local and CI test matrix, and update some references (had to rebase 🙄 )
1 parent 75cd86b commit 895f7c4

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/tests.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
include:
21-
- {name: Linux, python: '3.10', os: ubuntu-latest, tox: py310}
22-
- {name: Windows, python: '3.10', os: windows-latest, tox: py310}
23-
- {name: Mac, python: '3.10', os: macos-latest, tox: py310}
21+
- {name: Linux, python: '3.11', os: ubuntu-latest, tox: py311}
22+
- {name: Windows, python: '3.11', os: windows-latest, tox: py311}
23+
- {name: Mac, python: '3.11', os: macos-latest, tox: py311}
24+
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
2425
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
2526
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
2627
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get_mod_stats():
9797

9898
# General information about the project.
9999
project = u'boltons'
100-
copyright = u'2020, Mahmoud Hashemi'
100+
copyright = u'2023, Mahmoud Hashemi'
101101
author = u'Mahmoud Hashemi'
102102

103103
version = '21.0'

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ consider other integration options. See the :ref:`Integration
6868
<arch_integration>` section of the architecture document for more
6969
details.
7070

71-
Boltons is tested against Python 2.6-2.7, 3.4-3.7, and PyPy.
71+
Boltons is tested against Python 3.7-3.11, as well as Python 2.7 and PyPy3.
7272

7373
.. _MacPorts: https://ports.macports.org/port/py-boltons/summary
7474

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
__author__ = 'Mahmoud Hashemi'
16-
__version__ = '21.0.1dev'
16+
__version__ = '23.0.1dev'
1717
__contact__ = '[email protected]'
1818
__url__ = 'https://github.com/mahmoud/boltons'
1919
__license__ = 'BSD'
@@ -42,15 +42,13 @@
4242
# List of python versions and their support status:
4343
# https://en.wikipedia.org/wiki/CPython#Version_history
4444
'Programming Language :: Python :: 2',
45-
'Programming Language :: Python :: 2.6',
4645
'Programming Language :: Python :: 2.7',
4746
'Programming Language :: Python :: 3',
48-
'Programming Language :: Python :: 3.4',
49-
'Programming Language :: Python :: 3.5',
50-
'Programming Language :: Python :: 3.6',
5147
'Programming Language :: Python :: 3.7',
5248
'Programming Language :: Python :: 3.8',
5349
'Programming Language :: Python :: 3.9',
50+
'Programming Language :: Python :: 3.10',
51+
'Programming Language :: Python :: 3.11',
5452
'Programming Language :: Python :: Implementation :: CPython',
5553
'Programming Language :: Python :: Implementation :: PyPy', ]
5654
)

tests/test_dictutils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ def test_frozendict_api():
473473
'__format__',
474474
'__ge__',
475475
'__getattribute__',
476+
'__getstate__',
476477
'__getitem__',
477478
'__getstate__',
478479
'__gt__',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py37,py39,py310,pypy3
2+
envlist = py27,py37,py39,py310,py311,pypy3
33
[testenv]
44
changedir = .tox
55
deps = -rrequirements-test.txt

0 commit comments

Comments
 (0)