Skip to content
Draft
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
14 changes: 7 additions & 7 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

- uses: actions/setup-python@v3
- uses: actions/setup-python@v6
with:
python-version: ${{ env.PRE_COMMIT_PYTHON_VERSION }}

- name: Cache pre-commit environments
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down Expand Up @@ -80,10 +80,10 @@ jobs:
# Main job runs only if pre-commit succeeded
main-job:
strategy:
fail-fast: true
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.10", "3.11", "3.12", "3.13"]
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
package_name: ["pyrit"]
package_extras: ["dev", "dev_all"]
runs-on: ${{ matrix.os }}
Expand All @@ -94,10 +94,10 @@ jobs:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5

# Set up Python
- uses: actions/setup-python@v3
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}

Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10, <3.14"
requires-python = ">=3.10, <3.15"
dependencies = [
"aiofiles>=24,<25",
"appdirs>=1.4.0",
Expand Down Expand Up @@ -117,12 +118,12 @@ playwright = [
"playwright>=1.49.0",
]
gradio = [
"gradio>=5.32.0",
"gradio>=5.32.0; python_version < '3.14'", # https://github.com/gradio-app/gradio/issues/12118
"rpyc>=6.0.1",
"pywebview>=5.4"
]
fairness_bias = [
"spacy>=3.8.7",
"spacy>=3.8.7; python_version < '3.14'", # pydantic v1 incompatible with 3.14
]
opencv = [
"opencv-python>=4.11.0.86",
Expand All @@ -141,14 +142,14 @@ all = [
"flask>=3.1.3",
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
"gradio>=5.32.0",
"gradio>=5.32.0; python_version < '3.14'", # https://github.com/gradio-app/gradio/issues/12118
"mlflow>=2.22.0",
"ml-collections>=1.1.0",
"ollama>=0.5.1",
"opencv-python>=4.11.0.86",
"playwright>=1.49.0",
"pywebview>=5.4",
"spacy>=3.8.7",
"spacy>=3.8.7; python_version < '3.14'", # pydantic v1 incompatible with 3.14
"rpyc>=6.0.1",
"torch>=2.7.0",
"types-PyYAML>=6.0.12.20250516",
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/executor/benchmark/test_fairness_bias.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def is_spacy_installed():
import spacy # noqa: F401

return True
except ModuleNotFoundError:
except Exception:
return False


Expand Down
Loading