diff mbox series

[meta-python,053/105] python3-pandas: upgrade 3.0.6 -> 3.1.1

Message ID 20261116175359.342679-53-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:53 p.m. UTC
Refresh the numpy include dir patch; meson.options exists upstream now.

Changes:
- BREAKING: NumPy >= 2.0.2 and python-dateutil >= 2.9.0 now required;
  C++20 is required to build from source; optional dependency minimums
  raised (matplotlib 3.10.5, lxml 6.0.0, Jinja2 3.1.6, numba 0.61.2...).
- Add DataFrame.select (with pandas.col expressions); new read_csv
  options; Index.values/Index.array return read-only arrays; Timestamp
  and to_datetime return datetime.timezone.utc; stricter Timedelta
  string parsing; infer_freq QS anchor reporting changed.
- Deprecate xlrd/pyxlsb engines in read_excel (use calamine),
  DataFrame.join lsuffix/rsuffix, mode.chained_assignment, and
  integers passed to Period.
- Building no longer needs MSVC on Windows; CRLF checkout fixes.
- 3.1.1 is a regression-fix release.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...ion-to-specify-numpy-header-location.patch | 20 ++++++++-----------
 ...andas_3.0.6.bb => python3-pandas_3.1.1.bb} |  2 +-
 2 files changed, 9 insertions(+), 13 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pandas_3.0.6.bb => python3-pandas_3.1.1.bb} (94%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch b/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch
index ed5eb767e9..37f6881a15 100644
--- a/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch
+++ b/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch
@@ -21,23 +21,22 @@  Upstream-Status: Submitted [https://github.com/pandas-dev/pandas/pull/61095]
 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
 ---
- meson.options      |  1 +
- pandas/meson.build | 12 +++++++++---
+ meson.options      |    1 +
+ pandas/meson.build |   12 +++++++++---
  2 files changed, 10 insertions(+), 3 deletions(-)
- create mode 100644 meson.options
 
 diff --git a/meson.options b/meson.options
-new file mode 100644
-index 0000000..3d3a18d
---- /dev/null
+--- a/meson.options
 +++ b/meson.options
-@@ -0,0 +1 @@
+@@ -4,3 +4,4 @@
+     value: false,
+     description: 'Enable UBSan checks beyond the default `undefined` set on the hand-written C/C++ sources. Cython-generated code is excluded because its codegen would drown the results in noise. Only meaningful together with -Db_sanitize=undefined.',
+ )
 +option('numpy_inc_dir', type : 'string', description : 'The absolute path to the numpy headers')
 diff --git a/pandas/meson.build b/pandas/meson.build
-index 840ac25..2c3423e 100644
 --- a/pandas/meson.build
 +++ b/pandas/meson.build
-@@ -4,17 +4,23 @@ incdir_numpy = run_command(
+@@ -4,17 +4,23 @@
          '-c',
          '''
  import os
@@ -64,6 +63,3 @@  index 840ac25..2c3423e 100644
      check: true,
  ).stdout().strip()
  
--- 
-2.47.3
-
diff --git a/meta-python/recipes-devtools/python/python3-pandas_3.0.6.bb b/meta-python/recipes-devtools/python/python3-pandas_3.1.1.bb
similarity index 94%
rename from meta-python/recipes-devtools/python/python3-pandas_3.0.6.bb
rename to meta-python/recipes-devtools/python/python3-pandas_3.1.1.bb
index 75581a83a3..b4d1b2e8d2 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_3.0.6.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_3.1.1.bb
@@ -8,7 +8,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d"
 
 SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
 
-SRC_URI[sha256sum] = "66b07ef7315a31bfe1089cd3d71a7de781c9dca986762d0b4fe7c0ef17465d10"
+SRC_URI[sha256sum] = "05fed3e3b7c99b226f160e29d7d6cb7ef39638c758cbfe42b3f24ba34f04b859"
 
 CVE_PRODUCT = "pandas"