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

MAINT update the python version supported #1073

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

glemaitre
Copy link
Member

closes #1071

Update the supported python version and anticipate the release of Python 3.13.

@glemaitre glemaitre merged commit 5f98136 into scikit-learn-contrib:master Mar 31, 2024
20 of 22 checks passed
@@ -55,6 +67,11 @@ def __init__(self, param_1, param_2):
self.param_2 = param_2


if sys.version_info.minor == "13":

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't work. It returns False. How about sys.version_info >= (3, 13) since it will be needed for future versions as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true that we need it for future python version. I falsely trust copilot without checking that it returns an integer (and we test for alpha python version). Thanks I'll make the fix.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or, if you want to stick with checking the minor version number only, compare to an integer, since that is what sys.version_info.minor returns. But that will only work until 3.14 is released.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Appreciated.

Btw, my last comment was not a response. I didn't get to see your comment to my first comment until I refreshed the page. 😞

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I uploaded again the new wheels. Sorry for this.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries and thanks again for the quick fix.

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.

Python 3.13: Two tests from test_docstring.py are failing
2 participants