Skip to content

Commit

Permalink
Add support for Python 3.12 and 3.13 (#105)
Browse files Browse the repository at this point in the history
* pytest: drop the dot

* Add support for Python 3.12

* Add support for Python 3.13

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
  • Loading branch information
3 people authored Aug 13, 2024
1 parent a07e0a0 commit fb640c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
permissions:
contents: read

env:
FORCE_COLOR: 1

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -21,30 +24,31 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9.1", "3.9", "3.10", "3.11"]
python-version: ["3.6", "3.7", "3.8", "3.9.1", "3.9", "3.10", "3.11", "3.12", "3.13"]

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Test typing_inspect
run: |
pip install -r test-requirements.txt
py.test
pytest
linting:
name: Lint

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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',
'Topic :: Software Development',
]

Expand Down

0 comments on commit fb640c7

Please sign in to comment.