Skip to content

Commit

Permalink
Restrict jsonschema (#8161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus authored Jul 9, 2023
1 parent 8437d54 commit 01657dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ test_task:
- POETRY_HOME=/opt/poetry
- $PYTHON -m venv $POETRY_HOME
- $POETRY_HOME/bin/pip install --upgrade pip setuptools wheel
- $POETRY_HOME/bin/pip install poetry
# jsonschema 4.18 uses Rust-based libraries which causes issues when building from source
- $POETRY_HOME/bin/pip install poetry "jsonschema<4.18.0"
- echo "PATH=$POETRY_HOME/bin:$PATH" >> $CIRRUS_ENV
install_and_test_script:
- poetry install
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ crashtest = "^0.4.1"
dulwich = "^0.21.2"
importlib-metadata = { version = ">=4.4", python = "<3.10" }
installer = "^0.7.0"
jsonschema = "^4.10.0"
# jsonschema 4.18 uses Rust-based libraries which causes issues when building from source
jsonschema = ">=4.10.0,<4.18.0"
keyring = "^23.9.0"
# packaging uses calver, so version is unclamped
packaging = ">=20.4"
Expand Down

0 comments on commit 01657dd

Please sign in to comment.