-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remove Python version check #167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just remove this entirely. We already set requires_python
in the metadata.
Hmm. I can see the value of only maintaining the version in one location in source, but from a user perspective, if I just do a 'pip install antsibull-changelog' on a system with python 3.8 for example, it doesn't give me any errors. So if we remove the version check in this PR, how will I know it's not working (and why?). |
@samccann you'll likely get an older version then that still works with Python 3.8 :) Only with extremely old pip versions that didn't check for the Python version would you get the latest version, but then the Python is probably also very old and it would complain about syntax errors before running any code :) |
I rewrote the PR to remove the check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
It was checking for Python 3.6, for which we dropped support quite some time ago (we're requiring Python 3.9+ since 2022-12-17).