diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58a4a25..6994495 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ ubuntu-22.04 ] - python: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ] + python: [ '3.11', '3.12', '3.13', '3.14', '3.15.0-rc.3' ] variant: [ "py", "py-images" ] include: - os: macOS-12 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b932c2..eeedb54 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,4 +16,4 @@ repos: rev: v1.6.0 hooks: - id: vermin - args: ['-t=3.9-', '--violations'] + args: ['-t=3.11-', '--violations'] diff --git a/README.rst b/README.rst index 44b25a2..a9a1dfd 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ python-barcode There are no external dependencies when generating SVG files. Pillow is required for generating images (e.g.: PNGs). -Support Python 3.9 to 3.13. +Support Python 3.11 to 3.15. .. image:: example-ean13.png :target: https://github.com/WhyNotHugo/python-barcode diff --git a/docs/changelog.rst b/docs/changelog.rst index caa70d5..9a15b52 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,9 +1,10 @@ Changelog --------- -v0.16.2 +v0.17.0 ~~~~~~~ -* Add support for Python 3.13 and 3.14. +* Add support for Python 3.13, 3.14 and 3.15. +* Drop support for Python < 3.11. * Fix a leading ``99`` digit pair being silently dropped from Code128 barcodes. (#251) * Fix ISBN-10 and ISSN barcodes being truncated to 10 and 8 digits. diff --git a/pyproject.toml b/pyproject.toml index 81cdc66..fc5d541 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "python-barcode" description = "Create standard barcodes with Python. No external modules needed. (optional Pillow support included)." readme = "README.rst" -requires-python = ">=3.9" +requires-python = ">=3.11" license = { text = "MIT" } authors = [ { name = "Hugo Osvaldo Barrera et al", email = "hugo@whynothugo.nl" } @@ -19,12 +19,11 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Multimedia :: Graphics", "Topic :: Software Development :: Libraries :: Python Modules", ]