diff --git a/.cirrus.yml b/.cirrus.yml index c4722b3ba3e..7f451590537 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 diff --git a/poetry.lock b/poetry.lock index dd2e2f5cb01..4b778032f24 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1662,4 +1662,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "92d6cd808867382b92c7e760437501ed12f1ba5857bfcdd5f23693c6d2ee6411" +content-hash = "05ea5cbcfebb28782eccca523686f8bd970cbfb8c8ab0c1f5b13689174f875df" diff --git a/pyproject.toml b/pyproject.toml index fa1057d66e9..50e7829aaed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"