Commit 01657dde by Bartosz Sokorski Committed by GitHub

Restrict jsonschema (#8161)

parent 8437d541
...@@ -23,7 +23,8 @@ test_task: ...@@ -23,7 +23,8 @@ test_task:
- POETRY_HOME=/opt/poetry - POETRY_HOME=/opt/poetry
- $PYTHON -m venv $POETRY_HOME - $PYTHON -m venv $POETRY_HOME
- $POETRY_HOME/bin/pip install --upgrade pip setuptools wheel - $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 - echo "PATH=$POETRY_HOME/bin:$PATH" >> $CIRRUS_ENV
install_and_test_script: install_and_test_script:
- poetry install - poetry install
......
...@@ -1662,4 +1662,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more ...@@ -1662,4 +1662,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.8" python-versions = "^3.8"
content-hash = "92d6cd808867382b92c7e760437501ed12f1ba5857bfcdd5f23693c6d2ee6411" content-hash = "05ea5cbcfebb28782eccca523686f8bd970cbfb8c8ab0c1f5b13689174f875df"
...@@ -41,7 +41,8 @@ crashtest = "^0.4.1" ...@@ -41,7 +41,8 @@ crashtest = "^0.4.1"
dulwich = "^0.21.2" dulwich = "^0.21.2"
importlib-metadata = { version = ">=4.4", python = "<3.10" } importlib-metadata = { version = ">=4.4", python = "<3.10" }
installer = "^0.7.0" 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" keyring = "^23.9.0"
# packaging uses calver, so version is unclamped # packaging uses calver, so version is unclamped
packaging = ">=20.4" packaging = ">=20.4"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment