-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
question about "environment marker de-selection" #2045
Comments
Ah, actually it seems I can just reproduce the issue by doing:
If I create either of the 2 single libs, it works. It's the combination of both that fails |
....and if I follow what's written in #616 and execute: But I'm still not sure what's going on :) It seems that if I don't explicitely put |
Changing defaults is a breaking change. I won't do these without a major version change. Pex 3.x will be coming this year and will change several defaults including |
I'm going to close this as an answered question. Thanks for figuring out what options you needed. |
thanks, this makes sense to not want breaking changes |
That's correct, the default is a patched version of 20.3.4 that is vendored inside Pex. |
Hello!
I'm trying to understand why a pex built at work cannot execute properly.
If I try to execute this pex in debug mode, I have the following interesting things:
and somewhere else in the log:
(etc)
So, my understanding is that these packages are indeed in the pex, but due to not having the correct "environment marker" , pex decides to not activate the module.
I managed to understand where this issue of [
format-nongpl
] is coming from:jsonschema
provides a set of optional dependencies ( link ) called"format-nongpl"
jsonschema
through several indirection: most of the indirection don't require the optional dependencies, but we also have a dependency onjupyter-event
which indeed requires this optional dependency ( link )Further than this, I'm a bit lost as I can't really easily built the pex myself (it's built in CI system from work, and the script is quite complex to copy/paste).
But I still wanted to understand a few things :
format-nongpl
marker "by itself" in the pex file ? (or should this marker be automatically added during the build ?)I couldn't really find many infos on what exactly are "environment marker" and how they are handled
thanks!
The text was updated successfully, but these errors were encountered: