Skip to content

Commit

Permalink
Add Python 3.13, drop Python 3.8
Browse files Browse the repository at this point in the history
Python 3.8 has reached its end of life the day Python 3.13 was released.
  • Loading branch information
ikalnytskyi committed Oct 17, 2024
1 parent b6201e2 commit c84a7b1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"

- name: Run lints
run: python3 -m pip install hatch && hatch run lint:run
Expand All @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"

- name: Run lints
run: python3 -m pip install hatch && hatch run type:run
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"

- name: Run sphinx
run: python3 -m pip install hatch && hatch run docs:run
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ Release Notes

(unreleased)

* Add ``Python 3.13`` support.

* Drop ``Python 3.8`` support. It reached its end-of-life recently.

* Add ``picobox.ext.wsgiscopes`` extensions with ``application`` and ``request``
scopes for WSGI applications.

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "picobox"
description = "Dependency injection framework designed with Python in mind."
readme = "README.rst"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = "MIT"
authors = [{ name = "Ihor Kalnytskyi", email = "[email protected]" }]
classifiers = [
Expand All @@ -15,11 +15,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
Expand Down

0 comments on commit c84a7b1

Please sign in to comment.