Skip to content

Conversation

@chezou
Copy link
Contributor

@chezou chezou commented Dec 7, 2024

Description

Since Python 3.8 is EoL, this change makes Python 3.12 installation easier, especially by preventing pandas build since locked pandas version does not have wheels for Python 3.12.

  • Drop Python 3.8
  • Update RTD Python version

PyTorch will likely support Python 3.13 early next year, so I skipped to support Python 3.13.
pytorch/pytorch#130249

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Optimization

How Has This Been Tested?

Before submitting a PR, please check yourself against the following list. It would save us quite a lot of time.

  • Have you read the contribution guide?: Yes
  • Have you updated the relevant docstrings? We're using Numpy format, please double-check yourself: NA
  • Does your change require any new tests?: NA
  • Have you updated the changelog file?

@codecov
Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9b3992e) to head (87550f3).
Report is 99 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #222     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           45        59     +14     
  Lines         2242      3872   +1630     
===========================================
+ Hits          2242      3872   +1630     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chezou chezou force-pushed the py39 branch 2 times, most recently from f8ebb8c to 3b26148 Compare December 7, 2024 02:18
@chezou chezou changed the title Bump minimum Python version to 3.9 Drop Python 3.8 Dec 7, 2024
@chezou chezou changed the title Drop Python 3.8 Drop Python 3.8 Support Dec 7, 2024
@chezou chezou mentioned this pull request Dec 8, 2024
4 tasks
@feldlime
Copy link
Collaborator

feldlime commented Dec 8, 2024

@chezou Thanks for the PR!

Before merging, we have to ensure that nobody in the company uses Python 3.8. It may take a few days

@chezou
Copy link
Contributor Author

chezou commented Dec 8, 2024

@feldlime Got it.

Due to the PyTorch issue, the current pyproject.toml fails to install with Python 3.8 pytorch/pytorch#139005

Copy link
Collaborator

@feldlime feldlime left a comment

Choose a reason for hiding this comment

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

We checked and can confirm that we can drop 3.8 support safely

Just 2 small comments + you need to pull the fresh version of the main branch

chezou and others added 12 commits December 9, 2024 07:46
@chezou
Copy link
Contributor Author

chezou commented Dec 9, 2024

@feldlime Applied review comments and rebased toward main.

@feldlime feldlime merged commit a159b19 into MobileTeleSystems:main Dec 9, 2024
8 checks passed
@chezou chezou deleted the py39 branch December 9, 2024 17:47
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.

2 participants