-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Remove support for Python 3.8 #20071
Conversation
for more information, see https://pre-commit.ci
…into removal/python38
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflow
These checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 pytorch_lightning: Benchmarks
These checks are required after the changes to 🟢 fabric: Docs
These checks are required after the changes to 🟢 pytorch_lightning: Docs
These checks are required after the changes to 🟢 lightning_fabric: CPU workflowThese checks are required after the changes to 🟢 lightning_fabric: Azure GPU
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 installThese checks are required after the changes to Thank you for your contribution! 💜
|
for more information, see https://pre-commit.ci
…into removal/python38
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20071 +/- ##
=======================================
Coverage 91% 91%
=======================================
Files 266 266
Lines 22956 22948 -8
=======================================
- Hits 20784 20781 -3
+ Misses 2172 2167 -5 |
Python 3.8 support was removed in Lightning-AI/pytorch-lightning#20071, and runtime dependency on NumPy was removed in Lightning-AI/pytorch-lightning#20090
* updated v2.4.0 * MNT: Re-rendered with conda-build 24.7.1, conda-smithy 3.37.2, and conda-forge-pinning 2024.08.07.04.40.03 * Bump minimum version of Python to 3.9 and drop numpy Python 3.8 support was removed in Lightning-AI/pytorch-lightning#20071, and runtime dependency on NumPy was removed in Lightning-AI/pytorch-lightning#20090 --------- Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
What does this PR do?
Python 3.8 reaches end-of-life in October 2024. In addition, PyTorch has now support for Python 3.12 (including dynamo) so I propose to shift our Python support window. This PR drops 3.8 and a future PR will add 3.12.
📚 Documentation preview 📚: https://pytorch-lightning--20071.org.readthedocs.build/en/20071/
cc @carmocca @Borda @justusschock @awaelchli