hashworks pushed to branch main at Arch Linux / Packaging / Packages / python-ml-dtypes
Commits: be358e5f by Daniel Bershatsky at 2024-06-11T10:57:26+03:00 upgpkg: 0.4.0-1 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - ml-dtypes.diff Changes: ===================================== .SRCINFO ===================================== @@ -1,12 +1,11 @@ pkgbase = python-ml-dtypes pkgdesc = A stand-alone implementation of several NumPy dtype extensions used in ML - pkgver = 0.3.2 - pkgrel = 2 + pkgver = 0.4.0 + pkgrel = 1 url = https://github.com/jax-ml/ml_dtypes arch = x86_64 license = Apache-2.0 license = MPL-2.0 - makedepends = pybind11 makedepends = python-absl makedepends = python-build makedepends = python-installer @@ -16,11 +15,11 @@ pkgbase = python-ml-dtypes depends = gcc-libs depends = glibc depends = python-numpy - source = ml-dtypes-0.3.2.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v0.3.2.tar.gz + 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.diff source = eigen-7bf2968.tar.gz::https://gitlab.com/libeigen/eigen/-/archive/7bf2968fed5f246c0589e1111004cb420fcd7c71/eigen-7bf2968.tar.gz - sha256sums = 029a866a745726954cd825f8e013363fa103d45ea7c4fb1c23dd0d6b8361ad5b - sha256sums = a7b8074c063d17d178430f291f92c18bece68855af957018a6baefc2f54df296 + sha256sums = f50ed095a4c262b2d4cddc9ec22fc571b698f37008f12ea62e17a7ea43c7b458 + sha256sums = ee2ed5a7cb0bf8cca5412c6c7265d20de892a3fc99dbec88f6ec89ef13e8a355 sha256sums = beca76e4663a75ef3ff00b0704009a7a60cec3783ce3cada0b828982da87130b pkgname = python-ml-dtypes ===================================== PKGBUILD ===================================== @@ -2,19 +2,19 @@ # Contributor: Daniel Bershatsky <bepshat...@yandex.ru> pkgname='python-ml-dtypes' -pkgver=0.3.2 -pkgrel=2 +pkgver=0.4.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' license=('Apache-2.0' 'MPL-2.0') depends=('gcc-libs' 'glibc' 'python-numpy') -makedepends=('pybind11' 'python-absl' 'python-build' 'python-installer' 'python-pytest' 'python-setuptools' 'python-wheel') +makedepends=('python-absl' 'python-build' 'python-installer' 'python-pytest' 'python-setuptools' 'python-wheel') 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=('029a866a745726954cd825f8e013363fa103d45ea7c4fb1c23dd0d6b8361ad5b' - 'a7b8074c063d17d178430f291f92c18bece68855af957018a6baefc2f54df296' +sha256sums=('f50ed095a4c262b2d4cddc9ec22fc571b698f37008f12ea62e17a7ea43c7b458' + 'ee2ed5a7cb0bf8cca5412c6c7265d20de892a3fc99dbec88f6ec89ef13e8a355' 'beca76e4663a75ef3ff00b0704009a7a60cec3783ce3cada0b828982da87130b') prepare() { ===================================== ml-dtypes.diff ===================================== @@ -1,28 +1,15 @@ diff --git a/pyproject.toml b/pyproject.toml -index e1b7122..459c2a3 100644 +index d96d480..6e5788e 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -18,9 +18,6 @@ keywords = [] - dependencies = [ - # Ensure numpy release supports Python version. - "numpy>1.20", -- "numpy>=1.21.2; python_version>='3.10'", -- "numpy>=1.23.3; python_version>='3.11'", -- "numpy>=1.26.0; python_version>='3.12'", - ] - - [project.urls] -@@ -49,10 +46,9 @@ pyink-use-majority-quotes = true +@@ -49,8 +49,8 @@ pyink-use-majority-quotes = true [build-system] requires = [ - # Build with oldest supported numpy for each Python version. -- "numpy~=1.21.2; python_version<'3.11'", -- "numpy~=1.23.3; python_version>='3.11' and python_version<'3.12'", -- "numpy~=1.26.0; python_version>='3.12'", + # TODO(phawkins): update this to 2.0.0 after its release. +- "numpy==2.0.0rc1", - "setuptools~=68.1.0", -+ "numpy>1.20", -+ "pybind11>2.10.0", -+ "setuptools>68.1.0", ++ "numpy", ++ "setuptools", ] build-backend = "setuptools.build_meta" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/be358e5f049ba4fd85078b9a0957a553d62aa3e5 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/be358e5f049ba4fd85078b9a0957a553d62aa3e5 You're receiving this email because of your account on gitlab.archlinux.org.