Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
s-t-e-v-e-n-k committed Nov 8, 2023
1 parent 2098a89 commit a15299a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Test (Python ${{ matrix.python-version }})
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion jellyash/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

if sys.version_info >= (3, 11): # pragma: no cover
from typing import Self
else:
else: # pragma: no cover
from typing_extensions import Self

from jellyfin_apiclient_python.api import API
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[tox]
envlist =
lint,
py{38,39,310,311},
py{38,39,310,311,312},

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310, lint
3.11: py311
3.12: py312

[testenv]
deps =
Expand Down

0 comments on commit a15299a

Please sign in to comment.