-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Python Launcher ignoring config files #95359
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
Comments
The ini file is searched for as Checking the docs, I see that the "defaults" section is documented to use value names that are "the same as the environment variables without the leading The new launcher's Footnotes
|
On checking I already had a
I did find that if I change that specific file to include the prefix: [defaults]
py_python=3.9
py_python3=3.9 The py stops working altogether - no output from |
The new launcher's When the ini file is beside the launcher instead of in the local appdata directory, |
I can verify that if |
I agree, but am filing it under "let's not cause churn right now" as I've discussed elsewhere. The other two issues are easily fixed. Thanks for catching them! |
…ommand names (pythonGH-95399) (cherry picked from commit 38bb206) Co-authored-by: Steve Dower <steve.dower@python.org>
Proves the value of the beta testing - catches issues that occur in non-isolated environments. |
Bug report
Following installing
3.11.0b5 (main, Jul 25 2022, 22:59:14) [MSC v.1932 64 bit (AMD64)]
with install launcher for all users py-0 reports that 3.11 is the default py target. Adding a py.ini file with the contents below to both of the following locations:Does not override this - settung
PY_PYTHON=3.9
does.File content:
Running the older launcher the
.ini
file settings are honored i.e.py -0
reports 3.9 as the default.Your environment
Windows 10 - 64bit
Windows 10 - 64bit Python:
3.11.0b5 (main, Jul 25 2022, 22:59:14) [MSC v.1932 64 bit (AMD64)]
but with multiple other pythons installed.The text was updated successfully, but these errors were encountered: