diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch new file mode 100644 index 0000000000..f60f43a5b0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 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 | |||
| 6 | Pandas will fail to build if the exact versions aren't found, but newer | ||
| 7 | ones actually work. Since newer versions of pandas are adjusting the | ||
| 8 | requires section of pyproject toml further, just patch it for us. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 11 | |||
| 12 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 13 | --- | ||
| 14 | pyproject.toml | 6 +++--- | ||
| 15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 18 | index db9f055799..5158d60f59 100644 | ||
| 19 | --- a/pyproject.toml | ||
| 20 | +++ b/pyproject.toml | ||
| 21 | @@ -2,10 +2,10 @@ | ||
| 22 | # Minimum requirements for the build system to execute. | ||
| 23 | # See https://github.com/scipy/scipy/pull/12940 for the AIX issue. | ||
| 24 | requires = [ | ||
| 25 | - "meson-python==0.13.1", | ||
| 26 | - "meson==1.2.1", | ||
| 27 | + "meson-python>=0.13.1", | ||
| 28 | + "meson>=1.2.1", | ||
| 29 | "wheel", | ||
| 30 | - "Cython==3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json | ||
| 31 | + "Cython>=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json | ||
| 32 | # Force numpy higher than 2.0rc1, so that built wheels are compatible | ||
| 33 | # with both numpy 1 and 2 | ||
| 34 | "numpy>=2.0.0rc1", | ||
| 35 | -- | ||
| 36 | 2.39.2 | ||
| 37 | |||
