Skip to content

Commit 3a0c62b

Browse files
authored
Merge pull request #25 from mbdevpl/feature/update-tested-python-versions
update supported Python versions: remove 3.8 (EOL), add 3.13, do necessary maintenance
2 parents 2251170 + 35362a4 commit 3a0c62b

File tree

9 files changed

+14
-18
lines changed

9 files changed

+14
-18
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,25 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: ['3.8', 'pypy3.8', '3.9', 'pypy3.9', '3.10', '3.11', '3.12']
15+
python-version: ['3.9', 'pypy3.9', '3.10', 'pypy3.10', '3.11', '3.12', '3.13']
1616
exclude:
17-
- os: macos-latest
18-
python-version: '3.8'
19-
- os: macos-latest
20-
python-version: 'pypy3.8'
2117
- os: macos-latest
2218
python-version: '3.9'
2319
- os: macos-latest
2420
python-version: 'pypy3.9'
2521
- os: macos-latest
2622
python-version: '3.10'
23+
- os: macos-latest
24+
python-version: 'pypy3.10'
2725
include:
28-
- os: macos-13
29-
python-version: '3.8'
30-
- os: macos-13
31-
python-version: 'pypy3.8'
3226
- os: macos-13
3327
python-version: '3.9'
3428
- os: macos-13
3529
python-version: 'pypy3.9'
3630
- os: macos-13
3731
python-version: '3.10'
32+
- os: macos-13
33+
python-version: 'pypy3.10'
3834
steps:
3935
- uses: actions/checkout@v4
4036
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PYTHON_VERSION="3.12"
1+
ARG PYTHON_VERSION="3.13"
22

33
FROM python:${PYTHON_VERSION}
44

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version-query
2-
Copyright (c) 2017-2024 Mateusz Bysiek https://mbdevpl.github.io/
2+
Copyright (c) 2017-2025 Mateusz Bysiek https://mbdevpl.github.io/
33
Copyright (c) 2020 John Vandenberg https://github.com/jayvdb
44

55
Licensed under the Apache License, Version 2.0 (the "License");

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ using version-query without any issues.
436436
Requirements
437437
============
438438

439-
Python version 3.8 or later.
439+
Python version 3.9 or later.
440440

441441
Python libraries as specified in `<requirements.txt>`_.
442442

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
requires = [
33
'boilerplates[setup] ~= 1.0',
44
'GitPython ~= 3.1',
5-
'packaging >= 23.0',
6-
'semver ~= 2.13'
5+
'packaging >= 24.0',
6+
'semver ~= 2.13, < 3.1'
77
]
88

99
[tool.flake8]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
boilerplates[cli,logging] ~= 1.0
22
GitPython ~= 3.1
3-
packaging >= 23.0
3+
packaging >= 24.0
44
semver >= 2.13, < 3.1

requirements_ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-r requirements_test.txt
22
codecov ~= 2.1
33
coverage ~= 7.2
4-
flake518 ~= 1.6; python_version >= '3.9'
4+
flake518 ~= 1.6
55
mypy ~= 1.5
66
pydocstyle ~= 6.3
77
pylint ~= 3.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class Package(boilerplates.setup.Package):
2020
'Operating System :: MacOS',
2121
'Operating System :: Microsoft :: Windows',
2222
'Operating System :: POSIX :: Linux',
23-
'Programming Language :: Python :: 3.8',
2423
'Programming Language :: Python :: 3.9',
2524
'Programming Language :: Python :: 3.10',
2625
'Programming Language :: Python :: 3.11',
2726
'Programming Language :: Python :: 3.12',
27+
'Programming Language :: Python :: 3.13',
2828
'Programming Language :: Python :: 3 :: Only',
2929
'Topic :: Software Development :: Version Control',
3030
'Topic :: Software Development :: Version Control :: Git',

version_query/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def main(args=None, namespace=None) -> None:
2020
description='''Tool for querying current versions of Python packages. Use LOGGING_LEVEL
2121
environment variable to adjust logging level.''',
2222
epilog=make_copyright_notice(
23-
2017, 2024, author='the contributors', url='https://github.com/mbdevpl/version-query'),
23+
2017, 2025, author='the contributors', url='https://github.com/mbdevpl/version-query'),
2424
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2525
add_version_option(parser, VERSION)
2626

0 commit comments

Comments
 (0)