-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restrict jsonschema #8161
Restrict jsonschema #8161
Conversation
@radoering or @neersighted could you please take a look, backport to |
a73fae4
to
00a77e6
Compare
Are hotfixes required for older versions? Just curious but doesn't affect me directly as I'm on 1.5.1. |
The tricky part is that it's fine for already installed versions, but if you were to reinstall Poetry, it would pull |
afaik the jsonschema that poetry requires by regular means is ignored anyway, in favour of the vendored jsonschema in poetry-core... That vendoring seems likely to become awkward, if there's now effectively a binary-only sub-dependency. Perhaps should be looking for a way to remove the jsonschema dependency from poetry-core altogether... |
@Secrus Looks like this version has a dependency on rust also?
|
Separate from this PR but maybe worth adding alpine linux to the list of distros to test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the BSD tests you probably can just add jsonschema<4.18.0
to
Line 26 in d31dfa8
- $POETRY_HOME/bin/pip install poetry |
@@ -41,7 +41,7 @@ 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.10.0,<4.18.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment, why we are restricting it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
a87dce1
to
9e0106c
Compare
9e0106c
to
abe2b94
Compare
Has anyone asked for MUSL wheels? Last I tried to install Poetry on Alpine (year or so ago?) it also failed due to cryptography missing the Rust tool chain, but these days it looks like they publish MUSL wheels? Perhaps |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Resolves: #8160
This restricts
jsonschema
to versions below the problematic ones.