Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Python 3.13 #166

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12']
python-version: ['3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12']
python-version: ['3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Pro Tip: When writing loops and conditionals with `repeat`, `for`, and `if-then-

## Interpreter Installation

The interpreter has been tested with Python versions **3.11** and **3.12**, on macOS and Linux. For Windows, please use WSL.
The interpreter has been tested with Python versions **3.11**, **3.12**, and **3.13**, on macOS and Linux. For Windows, please use WSL.

To install the requirements for `pdl`, execute the command:

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Pro Tip: When writing loops and conditionals with `repeat`, `for`, and `if-then-

## Interpreter Installation

The interpreter has been tested with Python versions **3.11** and **3.12**, on macOS and Linux. For Windows, please use WSL.
The interpreter has been tested with Python versions **3.11**, **3.12**, and **3.13**, on macOS and Linux. For Windows, please use WSL.

To install the requirements for `pdl`, execute the command:

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ dev = [
examples = [
"wikipedia~=1.0",
"textdistance~=4.0",
"faiss-cpu~=1.0",
"datasets>2,<4",
"sympy~=1.0"
]
Expand Down
3 changes: 3 additions & 0 deletions tests/test_runtime_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def test_parser_regex():
assert (
str(exc.value.message)
== "Fail to parse with regex (: error('missing ), unterminated subpattern at position 0')"
) or (
str(exc.value.message)
== "Fail to parse with regex (: PatternError('missing ), unterminated subpattern at position 0')"
)


Expand Down
Loading