From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 5/6] package/python-pydantic-core: bump for fixes with python 3.12
Date: Fri, 14 Jun 2024 19:32:59 +0200 [thread overview]
Message-ID: <Zmx-y2XW4ygziuh0@landeda> (raw)
In-Reply-To: <cea1e19d0c970055e04dbdbcfd7f1c74d2f4d694.1718382114.git.yann.morin.1998@free.fr>
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@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@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
next prev parent reply other threads:[~2024-06-14 17:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 16:21 [Buildroot] [PATCH 0/6] package: bump to python 3.12, rust 1.79.0 (branch yem/python3.12) Yann E. MORIN
2024-06-14 16:21 ` [Buildroot] [PATCH 1/6] package/sentry-cli: needs pkgconf and openssl Yann E. MORIN
2024-06-15 16:13 ` Yann E. MORIN
2024-06-14 16:21 ` [Buildroot] [PATCH 2/6] utils/update-rust: add script to automatically update the rust version Yann E. MORIN
2024-06-16 18:14 ` James Hilliard
2024-06-16 20:27 ` Yann E. MORIN
2024-06-20 18:13 ` James Hilliard
2024-06-21 19:58 ` Yann E. MORIN
2024-06-23 21:05 ` James Hilliard
2024-06-14 16:21 ` [Buildroot] [PATCH 3/6] package/rust: update to 1.79.0 Yann E. MORIN
2024-06-14 16:21 ` [Buildroot] [PATCH 4/6] package/python-web2py: fix build with python 3.12 Yann E. MORIN
2024-06-14 16:21 ` [Buildroot] [PATCH 5/6] package/python-pydantic-core: bump for fixes " Yann E. MORIN
2024-06-14 17:32 ` Yann E. MORIN [this message]
2024-06-14 18:03 ` James Hilliard
2024-06-14 20:54 ` Yann E. MORIN
2024-06-14 22:12 ` James Hilliard
2024-06-14 16:21 ` [Buildroot] [PATCH 6/6] package/python3: bump python to 3.12.4 Yann E. MORIN
2024-06-21 19:14 ` [Buildroot] [PATCH 0/6] package: bump to python 3.12, rust 1.79.0 (branch yem/python3.12) Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zmx-y2XW4ygziuh0@landeda \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox