Skip to content

Commit

Permalink
Merge pull request #197 from dpath-maintainers/190-add-python-312-sup…
Browse files Browse the repository at this point in the history
…port

Add 3.12 support
  • Loading branch information
moomoohk authored Jun 12, 2024
2 parents de999a5 + 6e569af commit 38b639b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,15 @@ jobs:
- name: Check out code
uses: actions/checkout@main

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@main
with:
python-version: "3.11"
python-version: "3.12"

- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1.1

- name: Lint with flake8
run: |
pip install flake8
flake8 setup.py dpath/ tests/
uses: TrueBrain/actions-flake8@v2.3
with:
path: setup.py dpath/ tests/

# Generate a common hashseed for all tests
generate-hashseed:
Expand Down Expand Up @@ -70,7 +67,7 @@ jobs:
strategy:
matrix:
# Match versions specified in tox.ini
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.7']
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.7', '3.12']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed',
],
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ignore = E501,E722

[tox]
envlist = pypy37, py38, py39, py310, py311
envlist = pypy37, py38, py39, py310, py311, py312

[gh-actions]
python =
Expand All @@ -16,10 +16,10 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
deps =
hypothesis
mock
nose2
commands = nose2 {posargs}

0 comments on commit 38b639b

Please sign in to comment.