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

Test against Python 3.12 #2478

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Contributor

This did not work when #2349 was put in due to an issue with pyzmq. Let's see if it works now that there have been a couple new pyzmq releases.

@esantorella esantorella self-assigned this May 25, 2024
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2024

Codecov Report

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

Project coverage is 95.28%. Comparing base (58e6fff) to head (998b93d).

Files Patch % Lines
ax/utils/common/testutils.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2478      +/-   ##
==========================================
+ Coverage   95.26%   95.28%   +0.01%     
==========================================
  Files         485      485              
  Lines       47424    47408      -16     
==========================================
- Hits        45178    45171       -7     
+ Misses       2246     2237       -9     

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57815360

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
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57815360

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in ba6eb81.

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. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants