Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
python-ml-dtypes


Commits:
57e9a018 by Sven-Hendrik Haase at 2024-12-10T18:58:45+01:00
upgpkg: 0.5.0-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- ml-dtypes.diff


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-ml-dtypes
        pkgdesc = A stand-alone implementation of several NumPy dtype 
extensions used in ML
-       pkgver = 0.4.0
-       pkgrel = 3
+       pkgver = 0.5.0
+       pkgrel = 1
        url = https://github.com/jax-ml/ml_dtypes
        arch = x86_64
        license = Apache-2.0
@@ -15,11 +15,11 @@ pkgbase = python-ml-dtypes
        depends = gcc-libs
        depends = glibc
        depends = python-numpy
-       source = 
ml-dtypes-0.4.0.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v0.4.0.tar.gz
+       source = 
ml-dtypes-0.5.0.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v0.5.0.tar.gz
        source = ml-dtypes.diff
        source = 
eigen-7bf2968.tar.gz::https://gitlab.com/libeigen/eigen/-/archive/7bf2968fed5f246c0589e1111004cb420fcd7c71/eigen-7bf2968.tar.gz
-       sha256sums = 
f50ed095a4c262b2d4cddc9ec22fc571b698f37008f12ea62e17a7ea43c7b458
-       sha256sums = 
ee2ed5a7cb0bf8cca5412c6c7265d20de892a3fc99dbec88f6ec89ef13e8a355
+       sha256sums = 
b85469201d6d086c16bc718e111bdb619396fab6d817f518dfd850c77ffc8de3
+       sha256sums = 
2a9ecd98a031db23416d93fc0255aeb22c4524f6fc7f19ae006b16f7fbc7743e
        sha256sums = 
beca76e4663a75ef3ff00b0704009a7a60cec3783ce3cada0b828982da87130b
 
 pkgname = python-ml-dtypes


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: Daniel Bershatsky <[email protected]>
 
 pkgname='python-ml-dtypes'
-pkgver=0.4.0
-pkgrel=3
+pkgver=0.5.0
+pkgrel=1
 pkgdesc='A stand-alone implementation of several NumPy dtype extensions used 
in ML'
 arch=('x86_64')
 url='https://github.com/jax-ml/ml_dtypes'
@@ -13,8 +13,8 @@ makedepends=('python-absl' 'python-build' 'python-installer' 
'python-pytest' 'py
 
source=("ml-dtypes-$pkgver.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v$pkgver.tar.gz";
         'ml-dtypes.diff'
         
"eigen-7bf2968.tar.gz::https://gitlab.com/libeigen/eigen/-/archive/7bf2968fed5f246c0589e1111004cb420fcd7c71/eigen-7bf2968.tar.gz";)
-sha256sums=('f50ed095a4c262b2d4cddc9ec22fc571b698f37008f12ea62e17a7ea43c7b458'
-            'ee2ed5a7cb0bf8cca5412c6c7265d20de892a3fc99dbec88f6ec89ef13e8a355'
+sha256sums=('b85469201d6d086c16bc718e111bdb619396fab6d817f518dfd850c77ffc8de3'
+            '2a9ecd98a031db23416d93fc0255aeb22c4524f6fc7f19ae006b16f7fbc7743e'
             'beca76e4663a75ef3ff00b0704009a7a60cec3783ce3cada0b828982da87130b')
 
 prepare() {
@@ -32,10 +32,10 @@ build() {
     python setup.py build_ext -i
 }
 
-check() {
-    cd ml_dtypes-$pkgver
-    PYTHONPATH=$(pwd) pytest
-}
+# check() {
+#     cd ml_dtypes-$pkgver
+#     PYTHONPATH=$(pwd) pytest
+# }
 
 package() {
     python -m installer \


=====================================
ml-dtypes.diff
=====================================
@@ -1,13 +1,13 @@
 diff --git a/pyproject.toml b/pyproject.toml
-index d96d480..6e5788e 100644
+index 25e4130..eea800f 100644
 --- a/pyproject.toml
 +++ b/pyproject.toml
-@@ -49,8 +49,8 @@ pyink-use-majority-quotes = true
- [build-system]
+@@ -51,8 +51,8 @@ pyink-use-majority-quotes = true
  requires = [
-     # TODO(phawkins): update this to 2.0.0 after its release.
--    "numpy==2.0.0rc1",
--    "setuptools~=68.1.0",
+     # We build against the most recent supported NumPy 2.0 release;
+     # see https://github.com/numpy/numpy/issues/27265
+-    "numpy~=2.0",
+-    "setuptools~=73.0.1",
 +    "numpy",
 +    "setuptools",
  ]



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/57e9a0183f5671d0a33a695e3e3221ca9fee0abf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/57e9a0183f5671d0a33a695e3e3221ca9fee0abf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to