Skip to content

Commit bae509d

Browse files
committed
Add Python 3.13 support & drop python 3.8 & upgrade package version
1 parent f46cb8c commit bae509d

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
## [Unreleased] - YYYY-MM-DD
66

77
### Added
8+
89
- Python 3.13 support added
910

1011
### Changed

docs/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ $ git rebase upstream/main
3535

3636
## Testing
3737

38-
First, make sure you have at least one of the python versions py3.9, py3.10, py3.11, py3.12 and
39-
py3.13 If not all versions are available, after opening PR, github action will run the
40-
tests for each version, so you can be sure that you wrote the correct code. You can skip
41-
the tox step below.
38+
First, make sure you have at least one of the python versions py3.9, py3.10, py3.11,
39+
py3.12 and py3.13 If not all versions are available, after opening PR, github action
40+
will run the tests for each version, so you can be sure that you wrote the correct code.
41+
You can skip the tox step below.
4242

4343
After typing your codes, you should run the tests by typing the following command.
4444

tests/cases/test_cases.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ def test_cases(path: Path, logger):
3232

3333
source = path.read_text()
3434
skip_if = re.search(r"# pytest.mark.skipif\((?P<condition>.*), reason: (?P<reason>.*)\)", source, re.IGNORECASE)
35-
if skip_if and (condition := skip_if.group("condition")) and condition in ("not PY310_PLUS", "not PY312_PLUS", "not PY313_PLUS"):
35+
if (
36+
skip_if
37+
and (condition := skip_if.group("condition"))
38+
and condition in ("not PY310_PLUS", "not PY312_PLUS", "not PY313_PLUS")
39+
):
3640
reason = skip_if.group("reason")
3741
pytest.mark.skipif(False, reason, allow_module_level=True)
3842

0 commit comments

Comments
 (0)