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

sys.winver is 3.1 instead of 3.11 #199

Closed
ala-ableton opened this issue Dec 5, 2023 · 2 comments
Closed

sys.winver is 3.1 instead of 3.11 #199

ala-ableton opened this issue Dec 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ala-ableton
Copy link

I downloaded and extracted https://github.com/indygreg/python-build-standalone/releases/download/20231002/cpython-3.11.6+20231002-i686-pc-windows-msvc-static-install_only.tar.gz, then ran python.exe -c "import sys; print(sys.winver)" and it printed 3.1, instead of the expected 3.11.
This is because on https://github.com/indygreg/python-build-standalone/blob/main/cpython-windows/build.py#L1525, the Python version gets truncated to 3 characters.

@indygreg indygreg added the bug Something isn't working label Jan 7, 2024
@indygreg
Copy link
Owner

indygreg commented Jan 7, 2024

Thanks for the report!

indygreg added a commit that referenced this issue Jan 7, 2024
@ala-ableton
Copy link
Author

Thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants