0001-pyproject.toml-don-t-pin-dependency-versions.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From d46b8720a6bccb345f6bdd7ee2f5c357e7eb227b Mon Sep 17 00:00:00 2001
  2. From: Trevor Gamblin <tgamblin@baylibre.com>
  3. Date: Mon, 12 Aug 2024 11:27:36 -0400
  4. Subject: [PATCH] pyproject.toml: don't pin dependency versions
  5. Pandas will fail to build if the exact versions aren't found, but newer
  6. ones actually work. Since newer versions of pandas are adjusting the
  7. requires section of pyproject toml further, just patch it for us.
  8. Upstream-Status: Inappropriate [OE-Specific]
  9. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
  10. ---
  11. pyproject.toml | 6 +++---
  12. 1 file changed, 3 insertions(+), 3 deletions(-)
  13. --- a/pyproject.toml
  14. +++ b/pyproject.toml
  15. @@ -2,10 +2,10 @@
  16. # Minimum requirements for the build system to execute.
  17. # See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
  18. requires = [
  19. - "meson-python==0.13.1",
  20. - "meson==1.2.1",
  21. + "meson-python>=0.13.1",
  22. + "meson>=1.2.1",
  23. "wheel",
  24. - "Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
  25. + "Cython>=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
  26. # Force numpy higher than 2.0, so that built wheels are compatible
  27. # with both numpy 1 and 2
  28. "numpy>=2.0",