Skip to content

Commit f3a7046

Browse files
committed
Add support for Python 3.11
1 parent 3643a65 commit f3a7046

6 files changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-python@v3
1515
with:
16-
python-version: 3.10
16+
python-version: 3.7
1717
- run: pip install build setuptools wheel
1818
- run: python -m build --sdist --wheel --no-isolation
1919
- uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
11-
python: [ '3.7', '3.8', '3.9', '3.10' ]
10+
os: [ ubuntu-20.04 ]
11+
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
1212
variant: [ "py", "py-images" ]
13+
include:
14+
- os: macOS-10.15
15+
python: "3.10"
16+
variant: py-images
17+
- os: windows-2019
18+
python: "3.10"
19+
variant: py-images
20+
- os: windows-2019
1321
name: python${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.variant }}
1422
steps:
1523
- uses: actions/checkout@v2

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ python-barcode
3030
There are no external dependencies when generating SVG files.
3131
Pillow is required for generating images (e.g.: PNGs).
3232

33-
Support Python 3.7 to 3.10.
33+
Support Python 3.7 to 3.11.
3434

3535
.. image:: example-ean13.png
3636
:target: https://github.com/WhyNotHugo/python-barcode

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ unreleased
55
~~~~~~~~~~
66

77
* **Breaking** Dropped support for Python 3.6.
8+
* Added support for Python 3.11.
89

910
v0.14.0
1011
~~~~~~~

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"Programming Language :: Python :: 3.8",
2828
"Programming Language :: Python :: 3.9",
2929
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
3031
"Topic :: Multimedia :: Graphics",
3132
"Topic :: Software Development :: Libraries :: Python Modules",
3233
],

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py37,py38,py39,py310}{,-images}
2+
envlist = {py37,py38,py39,py310,py311}{,-images}
33
skip_missing_interpreters = True
44

55
[testenv]

0 commit comments

Comments
 (0)