8000 DOC Fix Python min version in advanced installation docs by lesteve · Pull Request #31081 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Fix Python min version in advanced installation docs #31081

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

Merged
merged 3 commits into from
Mar 31, 2025

Conversation

lesteve
Copy link
Member
@lesteve lesteve commented Mar 26, 2025

Fix issue reported in #31024 (comment).

Copy link
github-actions bot commented Mar 26, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: e192411. Link to the linter CI: here

@@ -58,7 +58,7 @@ feature, code or documentation improvement).
If you plan on submitting a pull-request, you should clone from your fork
instead.

#. Install a recent version of Python (3.9 or later at the time of writing) for
#. Install a recent version of Python (|PythonMinVersion| or later) for
Copy link
Member

Choose a reason for hiding this comment

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

|PythonMinVersion| is not defined because Python min version is not set in _min_dependencies. That's why it was hard coded. I don't know if there's a reason against setting python min version in _min_dependencies, maybe we could do it ?

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 naively assumed PythonMinVersion would "just work" because it works inside README.rst and I thought there was an include somewhere that was doing the magic 😅 I'll take a closer look ...

Copy link
Member

Choose a reason for hiding this comment

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

in README.rst it's defined line 32 .. |PythonMinVersion| replace:: 3.10. We can define it here as well to keep things simple.

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 did it the easier way after looking a bit how this was all generated. Maybe I will do it on a rainy day 😅

Copy link
Member
@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM. Just 1 nitpick

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
@lesteve lesteve changed the title DOC Fix Python min versions in advanced installation docs DOC Fix Python min version in advanced installation docs Mar 27, 2025
@jeremiedbb jeremiedbb merged commit 7505ed5 into scikit-learn:main Mar 31, 2025
37 checks passed
@lesteve lesteve deleted the fix-python-versions branch March 31, 2025 16:24
lucyleeow pushed a commit to lucyleeow/scikit-learn that referenced this pull request Apr 2, 2025
…n#31081)

Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0