* [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2
@ 2024-02-06 16:17 James Hilliard
2024-02-06 17:18 ` Yann E. MORIN
2024-05-14 8:20 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: James Hilliard @ 2024-02-06 16:17 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, James Hilliard, Asaf Kahlon
Migrate from distutils which is being deprecated to setuptools.
Drop python-pybind which is no longer required:
https://github.com/jax-ml/ml_dtypes/blob/v0.3.2/CHANGELOG.md#032---2024-01-03
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
- drop pybind
---
package/python-ml-dtypes/Config.in | 1 -
package/python-ml-dtypes/python-ml-dtypes.hash | 4 ++--
package/python-ml-dtypes/python-ml-dtypes.mk | 9 ++++-----
3 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/package/python-ml-dtypes/Config.in b/package/python-ml-dtypes/Config.in
index 72506896df..8791564b19 100644
--- a/package/python-ml-dtypes/Config.in
+++ b/package/python-ml-dtypes/Config.in
@@ -5,7 +5,6 @@ config BR2_PACKAGE_PYTHON_ML_DTYPES
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
select BR2_PACKAGE_PYTHON_NUMPY
- select BR2_PACKAGE_PYTHON_PYBIND
help
ml_dtypes is a stand-alone implementation of several NumPy
dtype extensions used in machine learning libraries.
diff --git a/package/python-ml-dtypes/python-ml-dtypes.hash b/package/python-ml-dtypes/python-ml-dtypes.hash
index a440268e39..53bfacb528 100644
--- a/package/python-ml-dtypes/python-ml-dtypes.hash
+++ b/package/python-ml-dtypes/python-ml-dtypes.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/ml_dtypes/json
-md5 6adbb05530819bdb4a78d2372d187fe2 ml_dtypes-0.3.1.tar.gz
-sha256 60778f99194b4c4f36ba42da200b35ef851ce4d4af698aaf70f5b91fe70fc611 ml_dtypes-0.3.1.tar.gz
+md5 438c04dc0d941ec1b3b71667225c74c8 ml_dtypes-0.3.2.tar.gz
+sha256 533059bc5f1764fac071ef54598db358c167c51a718f68f5bb55e3dee79d2967 ml_dtypes-0.3.2.tar.gz
# Locally computed sha256 checksums
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
diff --git a/package/python-ml-dtypes/python-ml-dtypes.mk b/package/python-ml-dtypes/python-ml-dtypes.mk
index 92d23bece4..676137ecf1 100644
--- a/package/python-ml-dtypes/python-ml-dtypes.mk
+++ b/package/python-ml-dtypes/python-ml-dtypes.mk
@@ -4,16 +4,15 @@
#
################################################################################
-PYTHON_ML_DTYPES_VERSION = 0.3.1
+PYTHON_ML_DTYPES_VERSION = 0.3.2
PYTHON_ML_DTYPES_SOURCE = ml_dtypes-$(PYTHON_ML_DTYPES_VERSION).tar.gz
-PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/16/6e/9a7a51ee1ca24b8e92109128260c5aec8340c8fe5572e9ceecddae559abe
+PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/39/7d/8d85fcba868758b3a546e6914e727abd8f29ea6918079f816975c9eecd63
PYTHON_ML_DTYPES_LICENSE = Apache-2.0
PYTHON_ML_DTYPES_LICENSE_FILES = LICENSE
-PYTHON_ML_DTYPES_SETUP_TYPE = distutils
+PYTHON_ML_DTYPES_SETUP_TYPE = setuptools
PYTHON_ML_DTYPES_DEPENDENCIES = \
host-python-numpy \
- python-numpy \
- python-pybind
+ python-numpy
$(eval $(python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2
2024-02-06 16:17 [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2 James Hilliard
@ 2024-02-06 17:18 ` Yann E. MORIN
2024-02-06 17:26 ` James Hilliard
2024-05-14 8:20 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2024-02-06 17:18 UTC (permalink / raw)
To: James Hilliard; +Cc: Julien Olivain, Asaf Kahlon, buildroot
James, All,
On 2024-02-06 09:17 -0700, James Hilliard spake thusly:
> Migrate from distutils which is being deprecated to setuptools.
>
> Drop python-pybind which is no longer required:
> https://github.com/jax-ml/ml_dtypes/blob/v0.3.2/CHANGELOG.md#032---2024-01-03
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
Could you check whether the following patches are still valid and
required, please:
https://patchwork.ozlabs.org/project/buildroot/patch/3afcc982685e876ac9b2ae54f86164647040ab85.1706448055.git.yann.morin.1998@free.fr/
https://patchwork.ozlabs.org/project/buildroot/patch/20240112221910.14778-1-fontaine.fabrice@gmail.com/
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - drop pybind
> ---
> package/python-ml-dtypes/Config.in | 1 -
> package/python-ml-dtypes/python-ml-dtypes.hash | 4 ++--
> package/python-ml-dtypes/python-ml-dtypes.mk | 9 ++++-----
> 3 files changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/package/python-ml-dtypes/Config.in b/package/python-ml-dtypes/Config.in
> index 72506896df..8791564b19 100644
> --- a/package/python-ml-dtypes/Config.in
> +++ b/package/python-ml-dtypes/Config.in
> @@ -5,7 +5,6 @@ config BR2_PACKAGE_PYTHON_ML_DTYPES
> depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
> depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
> select BR2_PACKAGE_PYTHON_NUMPY
> - select BR2_PACKAGE_PYTHON_PYBIND
> help
> ml_dtypes is a stand-alone implementation of several NumPy
> dtype extensions used in machine learning libraries.
> diff --git a/package/python-ml-dtypes/python-ml-dtypes.hash b/package/python-ml-dtypes/python-ml-dtypes.hash
> index a440268e39..53bfacb528 100644
> --- a/package/python-ml-dtypes/python-ml-dtypes.hash
> +++ b/package/python-ml-dtypes/python-ml-dtypes.hash
> @@ -1,5 +1,5 @@
> # md5, sha256 from https://pypi.org/pypi/ml_dtypes/json
> -md5 6adbb05530819bdb4a78d2372d187fe2 ml_dtypes-0.3.1.tar.gz
> -sha256 60778f99194b4c4f36ba42da200b35ef851ce4d4af698aaf70f5b91fe70fc611 ml_dtypes-0.3.1.tar.gz
> +md5 438c04dc0d941ec1b3b71667225c74c8 ml_dtypes-0.3.2.tar.gz
> +sha256 533059bc5f1764fac071ef54598db358c167c51a718f68f5bb55e3dee79d2967 ml_dtypes-0.3.2.tar.gz
> # Locally computed sha256 checksums
> sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
> diff --git a/package/python-ml-dtypes/python-ml-dtypes.mk b/package/python-ml-dtypes/python-ml-dtypes.mk
> index 92d23bece4..676137ecf1 100644
> --- a/package/python-ml-dtypes/python-ml-dtypes.mk
> +++ b/package/python-ml-dtypes/python-ml-dtypes.mk
> @@ -4,16 +4,15 @@
> #
> ################################################################################
>
> -PYTHON_ML_DTYPES_VERSION = 0.3.1
> +PYTHON_ML_DTYPES_VERSION = 0.3.2
> PYTHON_ML_DTYPES_SOURCE = ml_dtypes-$(PYTHON_ML_DTYPES_VERSION).tar.gz
> -PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/16/6e/9a7a51ee1ca24b8e92109128260c5aec8340c8fe5572e9ceecddae559abe
> +PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/39/7d/8d85fcba868758b3a546e6914e727abd8f29ea6918079f816975c9eecd63
> PYTHON_ML_DTYPES_LICENSE = Apache-2.0
> PYTHON_ML_DTYPES_LICENSE_FILES = LICENSE
> -PYTHON_ML_DTYPES_SETUP_TYPE = distutils
> +PYTHON_ML_DTYPES_SETUP_TYPE = setuptools
>
> PYTHON_ML_DTYPES_DEPENDENCIES = \
> host-python-numpy \
> - python-numpy \
> - python-pybind
> + python-numpy
>
> $(eval $(python-package))
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2
2024-02-06 17:18 ` Yann E. MORIN
@ 2024-02-06 17:26 ` James Hilliard
0 siblings, 0 replies; 4+ messages in thread
From: James Hilliard @ 2024-02-06 17:26 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: Julien Olivain, Asaf Kahlon, buildroot
On Tue, Feb 6, 2024 at 10:18 AM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> James, All,
>
> On 2024-02-06 09:17 -0700, James Hilliard spake thusly:
> > Migrate from distutils which is being deprecated to setuptools.
> >
> > Drop python-pybind which is no longer required:
> > https://github.com/jax-ml/ml_dtypes/blob/v0.3.2/CHANGELOG.md#032---2024-01-03
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> Applied to master, thanks.
>
> Could you check whether the following patches are still valid and
> required, please:
>
> https://patchwork.ozlabs.org/project/buildroot/patch/3afcc982685e876ac9b2ae54f86164647040ab85.1706448055.git.yann.morin.1998@free.fr/
> https://patchwork.ozlabs.org/project/buildroot/patch/20240112221910.14778-1-fontaine.fabrice@gmail.com/
Yeah, looks like they are still needed due to the numpy dependency,
although the python-pybind comment I think can be dropped.
>
> Regards,
> Yann E. MORIN.
>
> > ---
> > Changes v1 -> v2:
> > - drop pybind
> > ---
> > package/python-ml-dtypes/Config.in | 1 -
> > package/python-ml-dtypes/python-ml-dtypes.hash | 4 ++--
> > package/python-ml-dtypes/python-ml-dtypes.mk | 9 ++++-----
> > 3 files changed, 6 insertions(+), 8 deletions(-)
> >
> > diff --git a/package/python-ml-dtypes/Config.in b/package/python-ml-dtypes/Config.in
> > index 72506896df..8791564b19 100644
> > --- a/package/python-ml-dtypes/Config.in
> > +++ b/package/python-ml-dtypes/Config.in
> > @@ -5,7 +5,6 @@ config BR2_PACKAGE_PYTHON_ML_DTYPES
> > depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
> > depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
> > select BR2_PACKAGE_PYTHON_NUMPY
> > - select BR2_PACKAGE_PYTHON_PYBIND
> > help
> > ml_dtypes is a stand-alone implementation of several NumPy
> > dtype extensions used in machine learning libraries.
> > diff --git a/package/python-ml-dtypes/python-ml-dtypes.hash b/package/python-ml-dtypes/python-ml-dtypes.hash
> > index a440268e39..53bfacb528 100644
> > --- a/package/python-ml-dtypes/python-ml-dtypes.hash
> > +++ b/package/python-ml-dtypes/python-ml-dtypes.hash
> > @@ -1,5 +1,5 @@
> > # md5, sha256 from https://pypi.org/pypi/ml_dtypes/json
> > -md5 6adbb05530819bdb4a78d2372d187fe2 ml_dtypes-0.3.1.tar.gz
> > -sha256 60778f99194b4c4f36ba42da200b35ef851ce4d4af698aaf70f5b91fe70fc611 ml_dtypes-0.3.1.tar.gz
> > +md5 438c04dc0d941ec1b3b71667225c74c8 ml_dtypes-0.3.2.tar.gz
> > +sha256 533059bc5f1764fac071ef54598db358c167c51a718f68f5bb55e3dee79d2967 ml_dtypes-0.3.2.tar.gz
> > # Locally computed sha256 checksums
> > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
> > diff --git a/package/python-ml-dtypes/python-ml-dtypes.mk b/package/python-ml-dtypes/python-ml-dtypes.mk
> > index 92d23bece4..676137ecf1 100644
> > --- a/package/python-ml-dtypes/python-ml-dtypes.mk
> > +++ b/package/python-ml-dtypes/python-ml-dtypes.mk
> > @@ -4,16 +4,15 @@
> > #
> > ################################################################################
> >
> > -PYTHON_ML_DTYPES_VERSION = 0.3.1
> > +PYTHON_ML_DTYPES_VERSION = 0.3.2
> > PYTHON_ML_DTYPES_SOURCE = ml_dtypes-$(PYTHON_ML_DTYPES_VERSION).tar.gz
> > -PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/16/6e/9a7a51ee1ca24b8e92109128260c5aec8340c8fe5572e9ceecddae559abe
> > +PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/39/7d/8d85fcba868758b3a546e6914e727abd8f29ea6918079f816975c9eecd63
> > PYTHON_ML_DTYPES_LICENSE = Apache-2.0
> > PYTHON_ML_DTYPES_LICENSE_FILES = LICENSE
> > -PYTHON_ML_DTYPES_SETUP_TYPE = distutils
> > +PYTHON_ML_DTYPES_SETUP_TYPE = setuptools
> >
> > PYTHON_ML_DTYPES_DEPENDENCIES = \
> > host-python-numpy \
> > - python-numpy \
> > - python-pybind
> > + python-numpy
> >
> > $(eval $(python-package))
> > --
> > 2.34.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2
2024-02-06 16:17 [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2 James Hilliard
2024-02-06 17:18 ` Yann E. MORIN
@ 2024-05-14 8:20 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-14 8:20 UTC (permalink / raw)
To: James Hilliard; +Cc: Julien Olivain, Asaf Kahlon, buildroot
Hello James,
On Tue, 6 Feb 2024 09:17:15 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> Migrate from distutils which is being deprecated to setuptools.
>
> Drop python-pybind which is no longer required:
> https://github.com/jax-ml/ml_dtypes/blob/v0.3.2/CHANGELOG.md#032---2024-01-03
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> Changes v1 -> v2:
> - drop pybind
> ---
> package/python-ml-dtypes/Config.in | 1 -
> package/python-ml-dtypes/python-ml-dtypes.hash | 4 ++--
> package/python-ml-dtypes/python-ml-dtypes.mk | 9 ++++-----
> 3 files changed, 6 insertions(+), 8 deletions(-)
This package fails to build:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6833308461
Could you have a look? If you submit a fix, please don't just "fix" the
issue, research since when the issue started occurring, so that we know
if the issue is affecting one of our stable branches. Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-14 8:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 16:17 [Buildroot] [PATCH v2 1/1] package/python-ml-dtypes: bump to version 0.3.2 James Hilliard
2024-02-06 17:18 ` Yann E. MORIN
2024-02-06 17:26 ` James Hilliard
2024-05-14 8:20 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox