Skip to content
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

bump minimum python version to 3.10 #2349

Closed
wants to merge 8 commits into from

Conversation

sdaulton
Copy link
Contributor

Bump minmum python version to 3.10 since scientific python is no longer supporting py3.9: https://scientific-python.org/specs/spec-0000/

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 11, 2024
@sdaulton sdaulton requested a review from Balandat April 11, 2024 00:01
Copy link
Contributor

@saitcakmak saitcakmak left a comment

Choose a reason for hiding this comment

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

Thanks! Can you make Python 3.12 testing into a backlog task with the pyzmq as the blocker?

@facebook-github-bot
Copy link
Contributor

@sdaulton has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 95.86207% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 94.92%. Comparing base (adcf3a4) to head (a5b0d09).
Report is 13 commits behind head on main.

❗ Current head a5b0d09 differs from pull request most recent head b0c7aa2. Consider uploading reports for the commit b0c7aa2 to get more accurate results

Files Patch % Lines
ax/analysis/helpers/plot_data_df_helpers.py 82.75% 5 Missing ⚠️
ax/analysis/helpers/plot_helpers.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2349      +/-   ##
==========================================
+ Coverage   94.91%   94.92%   +0.01%     
==========================================
  Files         491      495       +4     
  Lines       47788    48057     +269     
==========================================
+ Hits        45356    45620     +264     
- Misses       2432     2437       +5     

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

@facebook-github-bot
Copy link
Contributor

@sdaulton has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@sdaulton merged this pull request in 6268ced.

esantorella added a commit to esantorella/Ax that referenced this pull request May 25, 2024
Summary:
A few changes were needed to enable Python 3.12 in tests:
* I unpinned the pyfakefs version.
* I removed Yappi entirely. Yappi was used to print basic profiling output on test runtime when tests timed out. It seems to be incompatible with unittest.mock with Python 3.12; see here: sumerc/yappi#172 I don't think anyone was using Yappi's output.

Note: This previously did not work when facebook#2349 was put in due to an issue with pyzmq, but since then there have been new pyzmq releases, which added 3.12 support.

Differential Revision: D57815360
esantorella added a commit to esantorella/Ax that referenced this pull request May 25, 2024
Summary:

A few changes were needed to enable Python 3.12 in tests:
* I unpinned the pyfakefs version.
* I removed Yappi entirely. Yappi was used to print basic profiling output on test runtime when tests timed out. It seems to be incompatible with unittest.mock with Python 3.12; see here: sumerc/yappi#172 I don't think anyone was using Yappi's output.

Note: This previously did not work when facebook#2349 was put in due to an issue with pyzmq, but since then there have been new pyzmq releases, which added 3.12 support.

Differential Revision: D57815360
facebook-github-bot pushed a commit that referenced this pull request May 25, 2024
Summary:
Pull Request resolved: #2478

A few changes were needed to enable Python 3.12 in tests:
* I unpinned the pyfakefs version.
* I removed Yappi entirely. Yappi was used to print basic profiling output on test runtime when tests timed out. It seems to be incompatible with unittest.mock with Python 3.12; see here: sumerc/yappi#172 I don't think anyone was using Yappi's output.

Note: This previously did not work when #2349 was put in due to an issue with pyzmq, but since then there have been new pyzmq releases, which added 3.12 support.

Reviewed By: Balandat

Differential Revision: D57815360

fbshipit-source-id: 4c40fcde516034e1c6065e45c37f9d3110bd2b78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants