-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
Conversation
@@ -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 |
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.
|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 ?
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.
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 ...
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.
in README.rst it's defined line 32 .. |PythonMinVersion| replace:: 3.10
. We can define it here as well to keep things simple.
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.
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 😅
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. Just 1 nitpick
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
…n#31081) Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
Fix issue reported in #31024 (comment).