Skip to content

Commit

Permalink
Merge pull request #25 from mbdevpl/feature/update-tested-python-vers…
Browse files Browse the repository at this point in the history
…ions

update supported Python versions: remove 3.8 (EOL), add 3.13, do necessary maintenance
  • Loading branch information
mbdevpl authored Feb 16, 2025
2 parents 2251170 + 35362a4 commit 3a0c62b
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 18 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,25 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', 'pypy3.8', '3.9', 'pypy3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', 'pypy3.9', '3.10', 'pypy3.10', '3.11', '3.12', '3.13']
exclude:
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: 'pypy3.8'
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: 'pypy3.9'
- os: macos-latest
python-version: '3.10'
- os: macos-latest
python-version: 'pypy3.10'
include:
- os: macos-13
python-version: '3.8'
- os: macos-13
python-version: 'pypy3.8'
- os: macos-13
python-version: '3.9'
- os: macos-13
python-version: 'pypy3.9'
- os: macos-13
python-version: '3.10'
- os: macos-13
python-version: 'pypy3.10'
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION="3.12"
ARG PYTHON_VERSION="3.13"

FROM python:${PYTHON_VERSION}

Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version-query
Copyright (c) 2017-2024 Mateusz Bysiek https://mbdevpl.github.io/
Copyright (c) 2017-2025 Mateusz Bysiek https://mbdevpl.github.io/
Copyright (c) 2020 John Vandenberg https://github.com/jayvdb

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ using version-query without any issues.
Requirements
============

Python version 3.8 or later.
Python version 3.9 or later.

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

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
requires = [
'boilerplates[setup] ~= 1.0',
'GitPython ~= 3.1',
'packaging >= 23.0',
'semver ~= 2.13'
'packaging >= 24.0',
'semver ~= 2.13, < 3.1'
]

[tool.flake8]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
boilerplates[cli,logging] ~= 1.0
GitPython ~= 3.1
packaging >= 23.0
packaging >= 24.0
semver >= 2.13, < 3.1
2 changes: 1 addition & 1 deletion requirements_ci.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements_test.txt
codecov ~= 2.1
coverage ~= 7.2
flake518 ~= 1.6; python_version >= '3.9'
flake518 ~= 1.6
mypy ~= 1.5
pydocstyle ~= 6.3
pylint ~= 3.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class Package(boilerplates.setup.Package):
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.8',
'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 :: Only',
'Topic :: Software Development :: Version Control',
'Topic :: Software Development :: Version Control :: Git',
Expand Down
2 changes: 1 addition & 1 deletion version_query/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main(args=None, namespace=None) -> None:
description='''Tool for querying current versions of Python packages. Use LOGGING_LEVEL
environment variable to adjust logging level.''',
epilog=make_copyright_notice(
2017, 2024, author='the contributors', url='https://github.com/mbdevpl/version-query'),
2017, 2025, author='the contributors', url='https://github.com/mbdevpl/version-query'),
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
add_version_option(parser, VERSION)

Expand Down

0 comments on commit 3a0c62b

Please sign in to comment.