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

Source Checkout Installs With Unparseable Version #100531

Closed
xloem opened this issue Dec 26, 2022 · 2 comments
Closed

Source Checkout Installs With Unparseable Version #100531

xloem opened this issue Dec 26, 2022 · 2 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@xloem
Copy link

xloem commented Dec 26, 2022

git clone https://github.com/python/cpython
cd cpython
git checkout 3.9 # i think 3.10 has it too, not certain
./configure && make && sudo make install
python3 -c 'import packaging.version, platform; packaging.version.parse(platform.python_version())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/user/.local/lib/python3.9/site-packages/packaging/version.py", line 52, in parse
    return Version(version)
  File "/home/user/.local/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
    raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '3.9.16+'
@xloem xloem added the type-bug An unexpected behavior, bug, or error label Dec 26, 2022
@ronaldoussoren
Copy link
Contributor

This is a duplicate of #99968.

@ronaldoussoren ronaldoussoren closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2022
@xloem
Copy link
Author

xloem commented Dec 26, 2022

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants