Skip to content

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
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