Skip to content
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

Prototype support for --python.target-config #12193

Closed

Conversation

FFY00
Copy link
Member

@FFY00 FFY00 commented Sep 1, 2023

Early implementation prototype for the static Python installation file format proposed in python/cpython#108483.

@FFY00 FFY00 requested a review from jpakkane as a code owner September 1, 2023 02:35
@FFY00 FFY00 marked this pull request as draft September 1, 2023 02:36
@FFY00
Copy link
Member Author

FFY00 commented Sep 1, 2023

This keeps the Python interpreter discovery logic as-is and simply uses the config file as the highest source of truth, leaving the existent introspection mechanism in place for any information not present in the config.

For the final implementation, we probably want to use the interpreter specified by the config. Also, maybe consider adding an extra option for users to provide a matching host interpreter, to be used in things such as bytecode generation.

Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00 FFY00 force-pushed the python-installation-description-file branch from 31050ca to 6be14ac Compare September 1, 2023 14:56
@@ -0,0 +1,7 @@
[python]
# inexistent version number, we set the value to this to test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-existent

@rgommers
Copy link
Contributor

This PR is superseded by gh-13945 I assume?

@FFY00
Copy link
Member Author

FFY00 commented Dec 10, 2024

Yes.

@FFY00 FFY00 closed this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants