[Buildroot] [PATCH 5/6] package/python-pydantic-core: bump for fixes with python 3.12
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Jun 14 17:32:59 UTC 2024
All,
On 2024-06-14 18:21 +0200, Yann E. MORIN spake thusly:
> The package is not yet available on PyPI, so go fetch it at the source.
Well, at least it was no twhen I needed to write the patch.
And even though it now is on PyPI, I am still of the opinion that, when
the official upstream repo is usable as-is, it is better to use the
sources from there than from the package on PyPI, for which we have no
way to know how it has been generated. We should only rely on fetching
from PyPI thos packages for which the upstream sources are not enough
(e.g. needs heavy tooling that we lack).
Regards,
Yann E. MORIN.
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> ---
> package/python-pydantic-core/python-pydantic-core.hash | 2 +-
> package/python-pydantic-core/python-pydantic-core.mk | 7 +++----
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/package/python-pydantic-core/python-pydantic-core.hash b/package/python-pydantic-core/python-pydantic-core.hash
> index b5d975cb3b..d11b3bfbb4 100644
> --- a/package/python-pydantic-core/python-pydantic-core.hash
> +++ b/package/python-pydantic-core/python-pydantic-core.hash
> @@ -1,4 +1,4 @@
> # Locally calculated after vendoring
> -sha256 23f5e10872d9c3d49ebc1fcbd317612eb63d65a7afd88dbef8d23cb63d830cb4 python-pydantic-core-2.14.6-cargo2.tar.gz
> +sha256 3359b437ca74c8f7e1b8ec477b1ff1e39f0fff08abb0eb171953f9bc3e8773c6 python-pydantic-core-v2.19.0-git4-cargo2.tar.gz
> # Locally computed sha256 checksums
> sha256 2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a LICENSE
> diff --git a/package/python-pydantic-core/python-pydantic-core.mk b/package/python-pydantic-core/python-pydantic-core.mk
> index 38128ebe46..79d06deab2 100644
> --- a/package/python-pydantic-core/python-pydantic-core.mk
> +++ b/package/python-pydantic-core/python-pydantic-core.mk
> @@ -4,10 +4,9 @@
> #
> ################################################################################
>
> -PYTHON_PYDANTIC_CORE_VERSION = 2.14.6
> -PYTHON_PYDANTIC_CORE_SOURCE_PYPI = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
> -PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/b2/7d/8304d8471cfe4288f95a3065ebda56f9790d087edc356ad5bd83c89e2d79
> -PYTHON_PYDANTIC_CORE_SITE = $(PYTHON_PYDANTIC_CORE_SITE_PYPI)/$(PYTHON_PYDANTIC_CORE_SOURCE_PYPI)?buildroot-path=filename
> +PYTHON_PYDANTIC_CORE_VERSION = v2.19.0
> +PYTHON_PYDANTIC_CORE_SITE = https://github.com/pydantic/pydantic-core
> +PYTHON_PYDANTIC_CORE_SITE_METHOD = git
> PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
> PYTHON_PYDANTIC_CORE_LICENSE = MIT
> PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
> --
> 2.45.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at 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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list