Skip to content
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
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python 3.11
uses: actions/setup-python@v1
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install dependencies
Expand All @@ -26,12 +26,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy-3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -47,12 +47,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"] # FIXME: these segfault PyPy
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] # FIXME: these segfault PyPy
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -67,11 +67,11 @@ jobs:
needs: [check, test, test-slow]
if: github.repository == 'python-jsonschema/hypothesis-jsonschema' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.12"
- name: Install tools
run: python -m pip install --upgrade pip setuptools wheel twine
- name: Upload new release
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Actual checks run via tox -e check (in CI and locally)
# This config exists for pre-commit.ci compatibility
repos: []
68 changes: 29 additions & 39 deletions deps/check.txt
Original file line number Diff line number Diff line change
@@ -1,64 +1,54 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=deps/check.txt deps/check.in
#
autoflake==2.3.0
black==25.11.0
# via shed
black==24.2.0
# via shed
click==8.1.7
click==8.3.1
# via black
com2ann==0.3.0
# via shed
flake8==7.0.0
flake8==7.3.0
# via -r deps/check.in
isort==5.13.2
# via shed
libcst==1.2.0
libcst==1.8.6
# via shed
librt==0.6.3
# via mypy
mccabe==0.7.0
# via flake8
mypy==1.8.0
mypy==1.19.0
# via -r deps/check.in
mypy-extensions==1.0.0
mypy-extensions==1.1.0
# via
# black
# mypy
# typing-inspect
packaging==23.2
packaging==25.0
# via black
pathspec==0.12.1
# via
# black
# mypy
platformdirs==4.5.0
# via black
platformdirs==4.2.0
# via black
pycodestyle==2.11.1
pycodestyle==2.14.0
# via flake8
pyflakes==3.2.0
# via
# autoflake
# flake8
pyupgrade==3.15.1
pyflakes==3.4.0
# via flake8
pytokens==0.3.0
# via black
pyupgrade==3.21.2
# via shed
pyyaml==6.0.1
pyyaml==6.0.3
# via libcst
ruff==0.3.0
# via -r deps/check.in
shed==2024.1.1
ruff==0.14.7
# via
# -r deps/check.in
# shed
shed==2025.6.1
# via -r deps/check.in
tokenize-rt==5.2.0
tokenize-rt==6.2.0
# via pyupgrade
tomli==2.0.1
# via
# autoflake
# black
# mypy
typing-extensions==4.10.0
# via
# black
# libcst
# mypy
# typing-inspect
typing-inspect==0.9.0
# via libcst
typing-extensions==4.15.0
# via mypy
25 changes: 20 additions & 5 deletions deps/deps.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#
# This file is autogenerated by pip-compile
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=deps/deps.txt deps/deps.in
#
click==7.0 # via pip-tools
pip-tools==4.1.0
six==1.12.0 # via pip-tools
build==1.3.0
# via pip-tools
click==8.3.1
# via pip-tools
packaging==25.0
# via build
pip-tools==7.5.2
# via -r deps/deps.in
pyproject-hooks==1.2.0
# via
# build
# pip-tools
wheel==0.45.1
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
57 changes: 27 additions & 30 deletions deps/test.txt
Original file line number Diff line number Diff line change
@@ -1,82 +1,79 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=deps/test.txt deps/test.in setup.py
#
arrow==1.3.0
arrow==1.4.0
# via isoduration
attrs==23.2.0
attrs==25.4.0
# via
# hypothesis
# jsonschema
# referencing
coverage[toml]==7.4.3
coverage[toml]==7.12.0
# via pytest-cov
exceptiongroup==1.2.0
# via
# hypothesis
# pytest
execnet==2.0.2
execnet==2.1.2
# via pytest-xdist
fqdn==1.5.1
# via jsonschema
hypothesis==6.98.15
hypothesis==6.148.5
# via hypothesis-jsonschema (setup.py)
idna==3.6
idna==3.11
# via jsonschema
iniconfig==2.0.0
iniconfig==2.3.0
# via pytest
isoduration==20.11.0
# via jsonschema
jsonpointer==2.4
jsonpointer==3.0.0
# via jsonschema
jsonschema[format]==4.21.1
jsonschema[format]==4.25.1
# via
# -r deps/test.in
# hypothesis-jsonschema (setup.py)
jsonschema-specifications==2023.12.1
jsonschema-specifications==2025.9.1
# via jsonschema
packaging==23.2
packaging==25.0
# via pytest
pluggy==1.4.0
pluggy==1.6.0
# via
# pytest
# pytest-cov
pygments==2.19.2
# via pytest
pytest==8.0.2
pytest==9.0.1
# via
# -r deps/test.in
# pytest-cov
# pytest-xdist
pytest-cov==4.1.0
pytest-cov==7.0.0
# via -r deps/test.in
pytest-xdist==3.5.0
pytest-xdist==3.8.0
# via -r deps/test.in
python-dateutil==2.9.0.post0
# via arrow
referencing==0.33.0
referencing==0.37.0
# via
# jsonschema
# jsonschema-specifications
rfc3339-validator==0.1.4
# via jsonschema
rfc3987==1.3.8
# via jsonschema
rpds-py==0.18.0
rpds-py==0.30.0
# via
# jsonschema
# referencing
six==1.16.0
six==1.17.0
# via
# python-dateutil
# rfc3339-validator
sortedcontainers==2.4.0
# via hypothesis
tomli==2.0.1
# via
# coverage
# pytest
types-python-dateutil==2.8.19.20240106
typing-extensions==4.15.0
# via referencing
tzdata==2025.2
# via arrow
uri-template==1.3.0
# via jsonschema
webcolors==1.13
webcolors==25.10.0
# via jsonschema
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[tool.ruff]
target-version = "py310"

[tool.ruff.lint]
select = [
"ASYNC", # flake8-async
"B", # flake8-bugbear
Expand Down Expand Up @@ -27,15 +30,18 @@ select = [
]
ignore = [
"B008",
"B018",
"B017",
"B018",
"B905",
"C408",
"C409",
"COM812",
"DJ008",
"E501",
"E721",
"E731",
"E741",
"FBT001",
"FBT003",
"PT001",
"PT003",
Expand All @@ -49,6 +55,7 @@ ignore = [
"PT019",
"PT023",
"PT027",
"PT030",
"UP007",
"UP031",
]
target-version = "py38"
Loading