-
-
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
TypeError when resolving local platforms. #1043
Labels
Comments
This bug was introduced here: #1028 (comment) |
jsirois
added a commit
to jsirois/pex
that referenced
this issue
Sep 27, 2020
Restructure iter_interpreters to be directly useable by the Pex CLI and the PEX runtime bootstrap so that the heterogeneous usage of PythonInterpreter.iter_candidates can be fully self contained. Fixes pex-tool#1043
This was referenced Sep 27, 2020
Closed
jsirois
added a commit
to jsirois/pex
that referenced
this issue
Sep 27, 2020
This adds support for a path filter to allow unification of Pex buildtime and runtime interpreter discovery. The PythonInterpreter public API family of `iter`, `iter_candidates` and `all` is type-annotated and tests are added for `iter_candidates`. To support proper annotation of iter_candidates helpers, `@overload` support is added for Python 2.7. Work towards pex-tool#1043
jsirois
added a commit
to jsirois/pex
that referenced
this issue
Sep 27, 2020
This adds support for a path filter to allow unification of Pex buildtime and runtime interpreter discovery. The PythonInterpreter public API family of `iter`, `iter_candidates` and `all` is type-annotated and tests are added for `iter_candidates`. To support proper annotation of iter_candidates helpers, `@overload` support is added for Python 2.7. Work towards pex-tool#1043
jsirois
added a commit
that referenced
this issue
Sep 27, 2020
This adds support for a path filter to allow unification of Pex buildtime and runtime interpreter discovery. The PythonInterpreter public API family of `iter`, `iter_candidates` and `all` is type-annotated and tests are added for `iter_candidates`. To support proper annotation of iter_candidates helpers, `@overload` support is added for Python 2.7. Work towards #1043
jsirois
added a commit
to jsirois/pex
that referenced
this issue
Sep 28, 2020
Previously, `iter_compatible_interpreters` let its use of `PythonIntepreter.iter_candidates` leak outside its direct control. This allowed the heterogenous iterator returned by `iter_candidates` to end up in places that did not know about its heterogenous nature. Expand `iter_compatible_interpreters` to accept an optional `valid_basenames` filter so that interpreter selection at Pex buildtime and at PEX runtime can share the same code path and use this unification to localize consumption of the heteogenous iterator. Fixes pex-tool#1043.
jsirois
added a commit
that referenced
this issue
Oct 1, 2020
Previously, `iter_compatible_interpreters` let its use of `PythonIntepreter.iter_candidates` leak outside its direct control. This allowed the heterogenous iterator returned by `iter_candidates` to end up in places that did not know about its heterogenous nature. Expand `iter_compatible_interpreters` to accept an optional `valid_basenames` filter so that interpreter selection at Pex buildtime and at PEX runtime can share the same code path and use this unification to localize consumption of the heteogenous iterator. Fixes #1043.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As seen in https://github.com/pantsbuild/example-python CI:
The text was updated successfully, but these errors were encountered: