Skip to content

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

Closed
FFY00 wants to merge 1 commit into
mesonbuild:masterfrom
FFY00:python-installation-description-file
Closed

FFY00 wants to merge 1 commit into
mesonbuild:masterfrom
FFY00:python-installation-description-file

Conversation

@FFY00

@FFY00 FFY00 commented Sep 1, 2023

Copy link
Copy Markdown
Member

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

FFY00 commented Sep 1, 2023 •

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
Copy Markdown
Contributor

This PR is superseded by gh-13945 I assume?

@FFY00

FFY00 commented Dec 10, 2024

Copy link
Copy Markdown
Member Author

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