Thanks to visit codestin.com
Credit goes to github.com

Skip to content

REL: Prepare for the NumPy 2.2.0rc1 release [wheel build] #27853

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

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

charris
Copy link
Member

@charris charris commented Nov 25, 2024

  • Create 2.2.0-changelog.rst.
  • Update 2.2.0-notes.rst.
  • Update .mailmap.
  • Update pyproject.toml
  • Delete release note snippets

- Create 2.2.0-changelog.rst.
- Update 2.2.0-notes.rst.
- Update .mailmap.
- Update pyproject.toml
- Delete release note snippets
@charris charris added this to the 2.2.0 release milestone Nov 25, 2024
@charris
Copy link
Member Author

charris commented Nov 25, 2024

The test failure is in https://github.com/numpy/numpy/actions/runs/12018119440/job/33501941894?pr=27853

      def test_openblas_threading(self):
          # gh-27036
          # Test whether matrix multiplication involving a large matrix always
          # gives the same (correct) answer
          x = np.arange(500000, dtype=np.float64)
          src = np.vstack((x, -10*x)).T
          matrix = np.array([[0, 1], [1, 0]])
          expected = np.vstack((-10*x, x)).T  # src @ matrix
          for i in range(200):
              result = src @ matrix
              mismatches = (~np.isclose(result, expected)).sum()
              if mismatches != 0:
  >               assert False, ("unexpected result from matmul, "
                      "probably due to OpenBLAS threading issues")
  E               AssertionError: unexpected result from matmul, probably due to OpenBLAS threading issues
  E               assert False

gh-27036 @mattip Thoughts? I will rerun, so the failure log may disappear,

@charris charris merged commit de271f1 into numpy:maintenance/2.2.x Nov 26, 2024
113 checks passed
@charris charris deleted the prepare-2.2.0rc1 branch November 26, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant