diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-07-17 17:10:23 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-21 11:52:26 +0100 |
| commit | 2c7c360936260457fb551c6429148f7c039428bb (patch) | |
| tree | b31933299afe95ee2f3364b8d68aff6a539ecc2c /meta/recipes-devtools/python/python3-numpy_1.25.1.bb | |
| parent | ef058f91cfb93ab210ff69d70c68116b9559fad0 (diff) | |
| download | poky-2c7c360936260457fb551c6429148f7c039428bb.tar.gz | |
python3-numpy: upgrade 1.25.0 -> 1.25.1
A total of 14 pull requests were merged for this release.
========================================================
#23968: MAINT: prepare 1.25.x for further development
#24036: BLD: Port long double identification to C for meson
#24037: BUG: Fix reduction return NULL to be goto fail
#24038: BUG: Avoid undefined behavior in array.astype()
#24039: BUG: Ensure __array_ufunc__ works without any kwargs passed
#24117: MAINT: Pin urllib3 to avoid anaconda-client bug.
#24118: TST: Pin pydantic<2 in Pyodide workflow
#24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1
#24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3
#24122: BUG: Multiply or Divides using SIMD without a full vector can...
#24127: MAINT: testing for IS_MUSL closes #24074
#24128: BUG: Only replace dtype temporarily if dimensions changed
#24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0
#24134: BUG: Fix private procedures in f2py modules
(From OE-Core rev: 7371f2513d30bf6a17620271df8abbdaeafaae6b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy_1.25.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy_1.25.1.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy_1.25.1.bb b/meta/recipes-devtools/python/python3-numpy_1.25.1.bb new file mode 100644 index 0000000000..3632ab71ee --- /dev/null +++ b/meta/recipes-devtools/python/python3-numpy_1.25.1.bb | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | SUMMARY = "A sophisticated Numeric Processing Package for Python" | ||
| 2 | HOMEPAGE = "https://numpy.org/" | ||
| 3 | DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python." | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7614a5b0073688df53773ec6ec7fe81d" | ||
| 7 | |||
| 8 | SRCNAME = "numpy" | ||
| 9 | |||
| 10 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | ||
| 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | ||
| 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | SRC_URI[sha256sum] = "9a3a9f3a61480cc086117b426a8bd86869c213fc4072e606f01c4e4b66eb92bf" | ||
| 16 | |||
| 17 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" | ||
| 18 | UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" | ||
| 19 | |||
| 20 | DEPENDS += "python3-cython-native" | ||
| 21 | |||
| 22 | inherit ptest setuptools3 github-releases | ||
| 23 | |||
| 24 | S = "${WORKDIR}/numpy-${PV}" | ||
| 25 | |||
| 26 | CLEANBROKEN = "1" | ||
| 27 | |||
| 28 | do_compile:prepend() { | ||
| 29 | export NPY_DISABLE_SVML=1 | ||
| 30 | } | ||
| 31 | |||
| 32 | # Unfortunately the following pyc files are non-deterministc due to 'frozenset' | ||
| 33 | # being written without strict ordering, even with PYTHONHASHSEED = 0 | ||
| 34 | # Upstream is discussing ways to solve the issue properly, until then let's | ||
| 35 | # just not install the problematic files. | ||
| 36 | # More info: http://benno.id.au/blog/2013/01/15/python-determinism | ||
| 37 | do_install:append() { | ||
| 38 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/typing/tests/data/pass/__pycache__/literal.cpython* | ||
| 39 | } | ||
| 40 | |||
| 41 | FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" | ||
| 42 | |||
| 43 | # install what is needed for numpy.test() | ||
| 44 | RDEPENDS:${PN} = "${PYTHON_PN}-unittest \ | ||
| 45 | ${PYTHON_PN}-difflib \ | ||
| 46 | ${PYTHON_PN}-pprint \ | ||
| 47 | ${PYTHON_PN}-pickle \ | ||
| 48 | ${PYTHON_PN}-shell \ | ||
| 49 | ${PYTHON_PN}-doctest \ | ||
| 50 | ${PYTHON_PN}-datetime \ | ||
| 51 | ${PYTHON_PN}-distutils \ | ||
| 52 | ${PYTHON_PN}-misc \ | ||
| 53 | ${PYTHON_PN}-mmap \ | ||
| 54 | ${PYTHON_PN}-netclient \ | ||
| 55 | ${PYTHON_PN}-numbers \ | ||
| 56 | ${PYTHON_PN}-pydoc \ | ||
| 57 | ${PYTHON_PN}-pkgutil \ | ||
| 58 | ${PYTHON_PN}-email \ | ||
| 59 | ${PYTHON_PN}-compression \ | ||
| 60 | ${PYTHON_PN}-ctypes \ | ||
| 61 | ${PYTHON_PN}-threading \ | ||
| 62 | ${PYTHON_PN}-multiprocessing \ | ||
| 63 | ${PYTHON_PN}-json \ | ||
| 64 | " | ||
| 65 | RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest \ | ||
| 66 | ${PYTHON_PN}-hypothesis \ | ||
| 67 | ${PYTHON_PN}-sortedcontainers \ | ||
| 68 | ${PYTHON_PN}-resource \ | ||
| 69 | ${PYTHON_PN}-typing-extensions \ | ||
| 70 | ldd \ | ||
| 71 | " | ||
| 72 | |||
| 73 | BBCLASSEXTEND = "native nativesdk" | ||
