NumPy 2.1.3 發行說明#

NumPy 2.1.3 是一個維護版本,修復了在 2.1.2 版本發行後發現的錯誤和回歸問題。

此版本支援的 Python 版本為 3.10-3.13。

改進#

  • 修復了許多關於字串 ufuncs 與 StringDType 參數的型別提升問題。現在混合使用 StringDType 和固定寬度 DTypes 的字串 ufuncs 應該會產生更一致的結果。

    (gh-27636)

變更#

  • numpy.fix 現在對於整數和布林資料類型輸入陣列,不會執行轉換為浮點資料類型的操作。

    (gh-26766)

貢獻者#

總共有 15 人為此版本做出了貢獻。名字旁邊標有「+」號的人是第一次貢獻 patch。

  • Abhishek Kumar +

  • Austin +

  • Benjamin A. Beasley +

  • Charles Harris

  • Christian Lorentzen

  • Marcel Telka +

  • Matti Picus

  • Michael Davidsaver +

  • Nathan Goldbaum

  • Peter Hawkins

  • Raghuveer Devulapalli

  • Ralf Gommers

  • Sebastian Berg

  • dependabot[bot]

  • kp2pml30 +

合併的 Pull Request#

總共有 21 個 pull request 在此版本中被合併。

  • #27512: MAINT: 為進一步開發準備 2.1.x

  • #27537: MAINT: 將 actions/cache 從 4.0.2 升級到 4.1.1

  • #27538: MAINT: 將 pypa/cibuildwheel 從 2.21.2 升級到 2.21.3

  • #27539: MAINT: MSVC 不支援 #warning 指令

  • #27543: BUG: 修復使用者 dtype 在型別提升期間與 python 純量轉換的問題

  • #27561: DEV: 在 environment.yml 中將 python 升級到 3.12

  • #27562: BLD: 更新供應商 Meson 到 1.5.2

  • #27563: BUG: 某些零權重的加權分位數 (#27549)

  • #27565: MAINT: 為 macos conda 測試使用 miniforge。

  • #27566: BUILD: 滿足 gcc-13 pedantic 錯誤

  • #27569: BUG: 處理 PyTraceMallocTrack 可能發生的錯誤

  • #27570: BLD: 開始建置 Windows free-threaded wheels [wheel build]

  • #27571: BUILD: 從 Cython 供應商 tempita

  • #27574: BUG: 修復 npy_atomic.h 中 “間接層級不同” 的警告…

  • #27592: MAINT: 將 Highway 更新到最新版本

  • #27593: BUG: 調整 numpy.i 以符合 SWIG 4.3 相容性

  • #27616: BUG: 修復 Linux QEMU CI 工作流程

  • #27668: BLD: 在建置期間不要將 __STDC_VERSION__ 設定為零

  • #27669: ENH: 修復 numpy._core 中 wasm32 執行階段型別錯誤

  • #27672: BUG: 修復 npy_find_descr_for_scalar 中的參考計數洩漏。

  • #27673: BUG: 修復 StringDType/unicode promoters