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

Set np printoptions #32539

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Set np printoptions #32539

merged 1 commit into from
Sep 23, 2024

Conversation

Abacn
Copy link
Contributor

@Abacn Abacn commented Sep 23, 2024

In preparation of NumPy 2 support.

NumPy 2 made some intended (breaking) changes, e.g. numpy/numpy#26774 , follow the fix there as we still support numpy 1.x

Alternative: Increase pandas upperbound to 2.2.2, which supports NumPy 2. However, tested that NumPy 2 + pandas 2.2.3 still fails doctest on the latest. Need upstream (pandas) fix.

Revisit until we drop numpy 1.x and/or pandas fixed doctest in newer versions


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@Abacn
Copy link
Contributor Author

Abacn commented Sep 23, 2024

R: @ahmedabu98

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@tvalentyn
Copy link
Contributor

Could you please explain in the PR desription the high-level summary of the change? For example, we are using formatting options from an older version of numpy, or any recommendation when we should revisit this logic.

@Abacn
Copy link
Contributor Author

Abacn commented Sep 23, 2024

Could you please explain in the PR desription the high-level summary of the change? For example, we are using formatting options from an older version of numpy, or any recommendation when we should revisit this logic.

Thanks, updated the description.

@Abacn
Copy link
Contributor Author

Abacn commented Sep 23, 2024

Rerun Python Unit Tests (macos-latest, 3.11, py311) which seemed to be stuck.

@Abacn Abacn merged commit 65b2936 into apache:master Sep 23, 2024
92 checks passed
@Abacn Abacn deleted the pddoctestoutput branch September 23, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants