Skip to content

Commit

Permalink
Merge pull request #102 from ikalnytskyi/feat/py313
Browse files Browse the repository at this point in the history
Add Python 3.13, drop Python 3.8
  • Loading branch information
ikalnytskyi authored Oct 17, 2024
2 parents b6201e2 + 38a68df commit 729669b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
12 changes: 8 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,11 @@ 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"]
exclude:
# The job hangs for some reason during tests execution. :(
- os: macos-latest
python-version: pypy-3.10

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -49,7 +53,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 +67,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 729669b

Please sign in to comment.