8000 DOC Duplicate information about supported Python versions by DimitriPapadopoulos · Pull Request #31084 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Duplicate information about supported Python versions #31084

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

Reference Issues/PRs

Fix issue reported in #31024 (comment).

What does this implement/fix? Explain your changes.

Remove from README information about versions of Python supported by older versions of scikit-learn:

scikit-learn/README.rst

Lines 75 to 77 in 0ae1c43

**Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.**
scikit-learn 1.0 and later require Python 3.7 or newer.
scikit-learn 1.1 and later require Python 3.8 or newer.

More up-to-date and complete information is available in section Installing scikit-learn:

Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.
Scikit-learn 0.21 supported Python 3.5-3.7.
Scikit-learn 0.22 supported Python 3.5-3.8.
Scikit-learn 0.23-0.24 required Python 3.6 or newer.
Scikit-learn 1.0 supported Python 3.7-3.10.
Scikit-learn 1.1, 1.2 and 1.3 support Python 3.8-3.12
Scikit-learn 1.4 requires Python 3.9 or newer.
Scikit-learn 1.7 requires Python 3.10 or newer.

Any other comments?

More up-to-date and complete information is available in the
installation instructions.
Copy link

✔️ Linting Passed

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

Generated for commit: 9ede6b4. Link to the linter CI: here

Copy link
Member
@lesteve lesteve left a comment

Choose a reason for hiding this comment

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

I am fine removing this, since I don't think many people come to the scikit-learn README.rst to know this info and it hasn't been updated recently for 1.4 and the upcoming 1.7 ...

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.

@jeremiedbb jeremiedbb merged commit 6d7ff73 into scikit-learn:main Mar 27, 2025
39 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the PythonMinVersion_history branch March 27, 2025 21:02
lucyleeow pushed a commit to lucyleeow/scikit-learn that referenced this pull request Apr 2, 2025
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.

3 participants
0