Skip to content

Commit 12f4c47

Browse files
authored
Update supported Python versions (#202)
* minimum python version = 3.9, maximum python version = 3.14 * updated CHANGELOG.md * setup uv in tests GitHub action workflow
1 parent d47c7ab commit 12f4c47

9 files changed

Lines changed: 27 additions & 25 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,15 @@ on:
88

99
jobs:
1010
tests:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
os:
15-
[
16-
# ubuntu-20.04,
17-
ubuntu-22.04,
18-
# windows-2019,
19-
# windows-2022,
20-
# macos-11,
21-
# macos-12,
22-
# macos-13,
23-
]
11+
runs-on: ubuntu-latest
2412
steps:
2513
- uses: actions/checkout@v5
26-
- uses: wntrblm/nox@2025.05.01
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v6
16+
- name: Setup NOX
17+
uses: wntrblm/nox@2025.05.01
2718
with:
28-
python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, 3.13"
19+
python-versions: "3.9, 3.10, 3.11, 3.12, 3.13, 3.14"
2920
- name: Test with NOX
3021
run: |
3122
nox --session tests

.sourcery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ ignore:
1212
- docs/build
1313

1414
rule_settings:
15-
python_version: '3.8'
15+
python_version: '3.9'

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added Python 3.14 to the list of supported Python versions.
13+
1014
### Changed
1115

1216
- Modified the header image url to be an absolute url so that it hopefully shows up in PyPI correctly.
1317

18+
### Removed
19+
20+
- Removed Python 3.8 from the list of supported Python versions.
21+
1422
## [0.13.1] - 2024-05-21
1523

1624
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The pythonbible library serves several purposes related to the Christian Bible a
3333
</tr>
3434
<tr>
3535
<td>Supported Python Versions</td>
36-
<td><a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue?logo=python&logoColor=lightgray"></a></td>
36+
<td><a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue?logo=python&logoColor=lightgray"></a></td>
3737
</tr>
3838
</table>
3939

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
# -- Project information -----------------------------------------------------
2020

2121
project = "pythonbible"
22-
copyright = "2020-2023 Nathan Patton"
22+
copyright = "2020-2025 Nathan Patton"
2323
author = "Nathan Patton"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.12.0"
26+
release = "0.13.1"
2727

2828

2929
# -- General configuration ---------------------------------------------------

docs/source/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ Requirements
66

77
**pythonbible** requires Python and is tested with the following versions:
88

9-
* 3.8
109
* 3.9
1110
* 3.10
1211
* 3.11
1312
* 3.12
13+
* 3.13
14+
* 3.14
1415

1516
**pythonbible** has no other dependencies.
1617

noxfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
PYTEST = "pytest"
66
COVERAGE = "coverage"
77

8+
nox.options.default_venv_backend = "uv"
89

9-
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"])
10+
11+
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"])
1012
def tests(session: nox.Session) -> None:
1113
session.install(PYTEST)
1214
session.run(PYTEST)
1315

1416

15-
@nox.session(python=["3.11"])
17+
@nox.session(python=["3.13"])
1618
def coverage(session: nox.Session) -> None:
1719
session.install("coverage[toml]", PYTEST)
1820
session.run(COVERAGE, "run", "-m", PYTEST)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ classifiers = [
1717
"Programming Language :: Python",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
2524
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
2626
"License :: OSI Approved :: MIT License"
2727
]
2828
requires = []
2929
description-file = "README.md"
30-
requires-python = ">=3.8"
30+
requires-python = ">=3.9"
3131

3232
[tool.flit.metadata.urls]
3333
Documentation = "https://docs.python.bible"

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nox==2025.5.1
1+
nox[uv]==2025.5.1
22
pytest-cov==6.2.1

0 commit comments

Comments
 (0)