From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Asaf Kahlon <asafka7@gmail.com>
Subject: [Buildroot] [PATCH 3/3] package/python-pydantic: bump to version 2.5.2
Date: Sat, 25 Nov 2023 01:10:52 -0700 [thread overview]
Message-ID: <20231125081052.881728-3-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20231125081052.881728-1-james.hilliard1@gmail.com>
Add new python-annotated-types runtime dependency.
Add new python-pydantic-core runtime dependency.
Migrate build backend from setuptools to hatchling.
License hash changed due to adding contributors:
https://github.com/pydantic/pydantic/commit/7bc9c6525a81680c0dd9df3558ed5f33345a77c2
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/python-pydantic/Config.in | 5 ++++-
package/python-pydantic/python-pydantic.hash | 6 +++---
package/python-pydantic/python-pydantic.mk | 9 ++++++---
3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/package/python-pydantic/Config.in b/package/python-pydantic/Config.in
index 41ec43adf4..e9cd2e6780 100644
--- a/package/python-pydantic/Config.in
+++ b/package/python-pydantic/Config.in
@@ -1,8 +1,11 @@
config BR2_PACKAGE_PYTHON_PYDANTIC
bool "python-pydantic"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic-core
+ select BR2_PACKAGE_PYTHON_ANNOTATED_TYPES # runtime
+ select BR2_PACKAGE_PYTHON_PYDANTIC_CORE # runtime
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
help
Data validation and settings management using python 3.6
type hinting.
- https://github.com/samuelcolvin/pydantic
+ https://github.com/pydantic/pydantic
diff --git a/package/python-pydantic/python-pydantic.hash b/package/python-pydantic/python-pydantic.hash
index 88b17f4575..0848debc1c 100644
--- a/package/python-pydantic/python-pydantic.hash
+++ b/package/python-pydantic/python-pydantic.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pydantic/json
-md5 f0e286c32f40ec45aba9603742739cd6 pydantic-1.10.8.tar.gz
-sha256 1410275520dfa70effadf4c21811d755e7ef9bb1f1d077a21958153a92c8d9ca pydantic-1.10.8.tar.gz
+md5 348281a5a27eb5253c7a83927aae64e1 pydantic-2.5.2.tar.gz
+sha256 ff177ba64c6faf73d7afa2e8cad38fd456c0dbe01c9954e71038001cd15a6edd pydantic-2.5.2.tar.gz
# Locally computed sha256 checksums
-sha256 9e3946690ac88b6b73e8f001a0586af13568be8852fd514e4393f39761764387 LICENSE
+sha256 a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3 LICENSE
diff --git a/package/python-pydantic/python-pydantic.mk b/package/python-pydantic/python-pydantic.mk
index b800426d22..b5bb7ff853 100644
--- a/package/python-pydantic/python-pydantic.mk
+++ b/package/python-pydantic/python-pydantic.mk
@@ -4,11 +4,14 @@
#
################################################################################
-PYTHON_PYDANTIC_VERSION = 1.10.8
+PYTHON_PYDANTIC_VERSION = 2.5.2
PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz
-PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/23/65/2aa13873e9e0084ecaec00fbe6c6096b65e1ab99ba66bdbf7e4e7c4cc915
-PYTHON_PYDANTIC_SETUP_TYPE = setuptools
+PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/b7/41/3c8108f79fb7da2d2b17f35744232af4ffcd9e764ebe1e3fd4b26669b325
+PYTHON_PYDANTIC_SETUP_TYPE = pep517
PYTHON_PYDANTIC_LICENSE = MIT
PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
+PYTHON_PYDANTIC_DEPENDENCIES = \
+ host-python-hatchling \
+ host-python-hatch-fancy-pypi-readme
$(eval $(python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-11-25 8:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-25 8:10 [Buildroot] [PATCH 1/3] package/python-annotated-types: new package James Hilliard
2023-11-25 8:10 ` [Buildroot] [PATCH 2/3] package/python-pydantic-core: " James Hilliard
2023-11-25 15:36 ` Yann E. MORIN
2023-11-26 0:11 ` James Hilliard
2023-11-26 11:27 ` Yann E. MORIN
2023-11-26 16:19 ` James Hilliard
2023-11-26 16:39 ` Yann E. MORIN
2023-11-26 16:46 ` James Hilliard
2023-11-26 17:12 ` Yann E. MORIN
2023-11-25 8:10 ` James Hilliard [this message]
2023-11-26 17:12 ` [Buildroot] [PATCH 3/3] package/python-pydantic: bump to version 2.5.2 Yann E. MORIN
2023-11-26 17:11 ` [Buildroot] [PATCH 1/3] package/python-annotated-types: new package 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=20231125081052.881728-3-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/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