Skip to content

Commit ed8db72

Browse files
committed
Drop support for python 3.7
Two barcode implementation were actually already broken for 3.7. Rather than fix them, drop 3.7 entirely, since its extended support is ending next week anyway.
1 parent d107a47 commit ed8db72

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

README.rst

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

29-
Support Python 3.7 to 3.11.
29+
Support Python 3.8 to 3.11.
3030

3131
.. image:: example-ean13.png
3232
:target: https://github.com/WhyNotHugo/python-barcode

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ v0.15.1
99
v0.15.0
1010
~~~~~~~~~~
1111

12-
* **Breaking** Dropped support for Python 3.6.
12+
* **Breaking** Dropped support for Python 3.6 and 3.7.
1313
* Added support for Python 3.11.
1414
* Fixed compatibility with Pillow 10.0.
1515
* Updated ISBN to support newer allocated ranges.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ write_to = "barcode/version.py"
66
version_scheme = "post-release"
77

88
[tool.black]
9-
target-version = ['py37']
9+
target-version = ['py38']
1010

1111
[tool.ruff]
1212
select = [
@@ -39,7 +39,7 @@ select = [
3939
"PLE",
4040
"RUF",
4141
]
42-
target-version = "py37"
42+
target-version = "py38"
4343

4444
[tool.ruff.isort]
4545
force-single-line = true

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.7",
2726
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",

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,py311}{,-images}
2+
envlist = {py38,py39,py310,py311}{,-images}
33
skip_missing_interpreters = True
44

55
[testenv]

0 commit comments

Comments
 (0)