package/python-tzdata: new package
PATCH 1/2 package/python-tzdata: new package
--- package/Config.in | 1 + package/python-tzdata/Config.in | 6 ++++++ package/python-tzdata/python-tzdata.hash | 5 +++++ package/python-tzdata/python-tzdata.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-tzdata/Config.in create mode 100644 package/python-tzdata/python-tzdata.hash create mode 100644 package/python-tzdata/python-tzdata.mk
package/Config.in +1 -0
@@ -1425,6 +1425,7 @@ menu "External python modules" source "package/python-types-python-dateutil/Config.in" source "package/python-typing-extensions/Config.in" source "package/python-typing-inspect/Config.in" + source "package/python-tzdata/Config.in" source "package/python-u-msgpack/Config.in" source "package/python-ubjson/Config.in" source "package/python-uhid/Config.in"
package/python-tzdata/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TZDATA + bool "python-tzdata" + help + Provider of IANA time zone data. + + https://github.com/python/tzdata
package/python-tzdata/python-tzdata.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tzdata/json +md5 6ffd87c74f67524f8e58ae32868c1a95 tzdata-2024.1.tar.gz +sha256 2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd tzdata-2024.1.tar.gz +# Locally computed sha256 checksums +sha256 33e8e5002d3512d3fcc2282b995e6bad9d334781b9c5ac31843f404900e1f3b4 LICENSE
package/python-tzdata/python-tzdata.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-tzdata +# +################################################################################ + +PYTHON_TZDATA_VERSION = 2024.1 +PYTHON_TZDATA_SOURCE = tzdata-$(PYTHON_TZDATA_VERSION).tar.gz +PYTHON_TZDATA_SITE = https://files.pythonhosted.org/packages/74/5b/e025d02cb3b66b7b76093404392d4b44343c69101cc85f4d180dd5784717 +PYTHON_TZDATA_SETUP_TYPE = setuptools +PYTHON_TZDATA_LICENSE = Apache-2.0 +PYTHON_TZDATA_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/python-pydantic: bump to version 2.9.0
Add new python-tzdata runtime dependency.
--- package/python-pydantic/Config.in | 1 + package/python-pydantic/python-pydantic.hash | 4 ++-- package/python-pydantic/python-pydantic.mk | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-)
package/python-pydantic/Config.in +1 -0
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYDANTIC select BR2_PACKAGE_PYTHON_ANNOTATED_TYPES # runtime select BR2_PACKAGE_PYTHON_PYDANTIC_CORE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON_TZDATA # runtime help Data validation and settings management using python 3.6 type hinting.
package/python-pydantic/python-pydantic.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 940d760de174d3567d4f5be28fd215f5 pydantic-2.8.2.tar.gz -sha256 6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a pydantic-2.8.2.tar.gz +md5 f328e2d6c3d511a81e358aac6a8636b6 pydantic-2.9.0.tar.gz +sha256 c7a8a9fdf7d100afa49647eae340e2d23efa382466a8d177efcd1381e9be5598 pydantic-2.9.0.tar.gz # Locally computed sha256 checksums sha256 a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3 LICENSE
package/python-pydantic/python-pydantic.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYDANTIC_VERSION = 2.8.2 +PYTHON_PYDANTIC_VERSION = 2.9.0 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/8c/99/d0a5dca411e0a017762258013ba9905cd6e7baa9a3fd1fe8b6529472902e +PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/f6/8f/3b9f7a38caa3fa0bcb3cea7ee9958e89a9a6efc0e6f51fd6096f24cac140 PYTHON_PYDANTIC_SETUP_TYPE = pep517 PYTHON_PYDANTIC_LICENSE = MIT PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-pydantic: bump to version 2.9.0
James, All,
On 2024-09-06 12:47 -0600, James Hilliard spake thusly:
Quoted 1 line
Add new python-tzdata runtime dependency.
This is weird that it is needed, because the dependency is written as an optional dependency, specific to win32;
57 [project.optional-dependencies]
58 email = ['email-validator>=2.0.0']
59 timezone = [
60 # See: https://docs.python.org/3/library/zoneinfo.html#data-sources
61 'tzdata; python_version >= "3.9" and sys_platform == "win32"',
62 ]
So, how come it is needed on Linux?
Regards,
Yann E. MORIN.
Quoted 54 lines
Signed-off-by James Hilliard <[email protected]>--- package/python-pydantic/Config.in | 1 + package/python-pydantic/python-pydantic.hash | 4 ++-- package/python-pydantic/python-pydantic.mk | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-)package/python-pydantic/Config.in +1
-0@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYDANTIC select BR2_PACKAGE_PYTHON_ANNOTATED_TYPES # runtime select BR2_PACKAGE_PYTHON_PYDANTIC_CORE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON_TZDATA # runtime help Data validation and settings management using python 3.6 type hinting.package/python-pydantic/python-pydantic.hash +2
-2@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 940d760de174d3567d4f5be28fd215f5 pydantic-2.8.2.tar.gz -sha256 6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a pydantic-2.8.2.tar.gz +md5 f328e2d6c3d511a81e358aac6a8636b6 pydantic-2.9.0.tar.gz +sha256 c7a8a9fdf7d100afa49647eae340e2d23efa382466a8d177efcd1381e9be5598 pydantic-2.9.0.tar.gz # Locally computed sha256 checksums sha256 a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3 LICENSEpackage/python-pydantic/python-pydantic.mk +2
-2@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYDANTIC_VERSION = 2.8.2 +PYTHON_PYDANTIC_VERSION = 2.9.0 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/8c/99/d0a5dca411e0a017762258013ba9905cd6e7baa9a3fd1fe8b6529472902e +PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/f6/8f/3b9f7a38caa3fa0bcb3cea7ee9958e89a9a6efc0e6f51fd6096f24cac140 PYTHON_PYDANTIC_SETUP_TYPE = pep517 PYTHON_PYDANTIC_LICENSE = MIT PYTHON_PYDANTIC_LICENSE_FILES = LICENSESignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-pydantic: bump to version 2.9.0
Quoted 12 lines · Yann E. MORIN
James, All,
On 2024-09-06 12:47 -0600, James Hilliard spake thusly:
Quoted 1 line
Add new python-tzdata runtime dependency.
This is weird that it is needed, because the dependency is written as an optional dependency, specific to win32;
57 [project.optional-dependencies] 58 email = ['email-validator>=2.0.0'] 59 timezone = [ 60 # See:
Quoted 6 lines
https://docs.python.org/3/library/zoneinfo.html#data-sources
61 'tzdata;python_version>= "3.9" andsys_platform== "win32"',
62 ]So, how come it is needed on Linux?
It's not listed under optional in version 2.9.0:
https://github.com/pydantic/pydantic/blob/v2.9.0/pyproject.toml#L54-L55
But it does look like it was changed in main:
https://github.com/pydantic/pydantic/pull/10331
Quoted 82 lines
Regards,
Yann E. MORIN.Review
Quoted 8 lines
Signed-off-by James Hilliard <[email protected]>--- package/python-pydantic/Config.in | 1 + package/python-pydantic/python-pydantic.hash | 4 ++-- package/python-pydantic/python-pydantic.mk | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-)(quoted diff) +0
-0b/package/python-pydantic/Config.in
Review
Quoted 12 lines
index
e9cd2e6780..029f86450e100644package/python-pydantic/Config.in +1
-0@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYDANTIC select BR2_PACKAGE_PYTHON_ANNOTATED_TYPES # runtime select BR2_PACKAGE_PYTHON_PYDANTIC_CORE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON_TZDATA # runtime help Data validation and settings management using python 3.6 type hinting.(quoted diff) +0
-0b/package/python-pydantic/python-pydantic.hash
package/python-pydantic/python-pydantic.hash line 3
Quoted 7 lines
index
6127dcaf37..fd8d16dbb1100644package/python-pydantic/python-pydantic.hash +0
-2@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 940d760de174d3567d4f5be28fd215f5 pydantic-2.8.2.tar.gz -sha256
6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2apydantic-2.8.2.tar.gzpackage/python-pydantic/python-pydantic.hash line 3
Quoted 2 lines
package/python-pydantic/python-pydantic.hash +2
-0+md5 f328e2d6c3d511a81e358aac6a8636b6 pydantic-2.9.0.tar.gz +sha256
c7a8a9fdf7d100afa49647eae340e2d23efa382466a8d177efcd1381e9be5598pydantic-2.9.0.tar.gzpackage/python-pydantic/python-pydantic.hash line 5
Quoted 2 lines
package/python-pydantic/python-pydantic.hash +0
-0# Locally computed sha256 checksums sha256
a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3LICENSEReview
Quoted 1 line
(quoted diff) +0
-0
b/package/python-pydantic/python-pydantic.mkpackage/python-pydantic/python-pydantic.mk line 5
Quoted 6 lines
index
c549970db9..828658af19100644package/python-pydantic/python-pydantic.mk +0
-0@@ -4,9 +4,9 @@ #################################################################################
package/python-pydantic/python-pydantic.mk
Quoted 5 lines
package/python-pydantic/python-pydantic.mk +1
-2-PYTHON_PYDANTIC_VERSION = 2.8.2 +PYTHON_PYDANTIC_VERSION = 2.9.0 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE =package/python-pydantic/python-pydantic.mk line 8
Quoted 1 line
package/python-pydantic/python-pydantic.mk +1
-0+PYTHON_PYDANTIC_SITE =Quoted 10 lines
package/python-pydantic/python-pydantic.mk +0
-1PYTHON_PYDANTIC_SETUP_TYPE = pep517 PYTHON_PYDANTIC_LICENSE = MIT PYTHON_PYDANTIC_LICENSE_FILES = LICENSE --2.34.1
_______________________________________________
buildroot mailing list
[email protected]
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. |
Quoted 2 lines
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-pydantic: bump to version 2.9.0
James, All,
On 2024-09-07 14:41 -0600, James Hilliard spake thusly:
Quoted 4 lines
On Sat, Sep 7, 2024 at 1:42 PM Yann E. MORIN <[1][email protected]> wrote:
This is weird that it is needed, because the dependency is written as an optional dependency, specific to win32;
[--SNIP--]
Quoted 5 lines
It's not listed under optional in version 2.9.0:
[3]https://github.com/pydantic/pydantic/blob/v2.9.0/pyproject.toml#L54-L55But it does look like it was changed in main:
[4]https://github.com/pydantic/pydantic/pull/10331
OK, right. Too bad. Can we backport this change instead, then?
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-pydantic: bump to version 2.9.0
Quoted 8 lines · Yann E. MORIN
James, All,
On 2024-09-07 14:41 -0600, James Hilliard spake thusly:
Quoted 4 lines
On Sat, Sep 7, 2024 at 1:42 PM Yann E. MORIN <[1][email protected]> wrote:
This is weird that it is needed, because the dependency is written as an optional dependency, specific to win32;
Quoted 8 lines
[--SNIP--]
Quoted 5 lines
It's not listed under optional in version 2.9.0:
[3]https://github.com/pydantic/pydantic/blob/v2.9.0/pyproject.toml#L54-L55But it does look like it was changed in main:
[4]https://github.com/pydantic/pydantic/pull/10331OK, right. Too bad. Can we backport this change instead, then?
No need, we don't enforce runtime dependencies so we can drop the dependency without a backport.
Quoted 11 lines
Regards,
Yann E. MORIN.--
.-----------------.--------------------.------------------.--------------------.| 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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-pydantic: bump to version 2.9.0
In reply to James HilliardQuoted 14 lines · James Hilliard
Add new python-tzdata runtime dependency.
Signed-off-by James Hilliard <[email protected]>--- package/python-pydantic/Config.in | 1 + package/python-pydantic/python-pydantic.hash | 4 ++-- package/python-pydantic/python-pydantic.mk | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-)package/python-pydantic/Config.in +0
-0
package/python-pydantic/Config.in config BR2_PACKAGE_PYTHON_PYDANTIC · line 7
Quoted 4 lines
package/python-pydantic/Config.in +1
-0@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYDANTIC select BR2_PACKAGE_PYTHON_ANNOTATED_TYPES # runtime select BR2_PACKAGE_PYTHON_PYDANTIC_CORE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON_TZDATA # runtime
Applied to master after removing this line and adding an explanation in the
commit message, thanks.
Regards,
Arnout
Quoted 21 lines
package/python-pydantic/Config.in +0
-0help Data validation and settings management using python 3.6 type hinting.package/python-pydantic/python-pydantic.hash +2
-2@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 940d760de174d3567d4f5be28fd215f5 pydantic-2.8.2.tar.gz -sha256 6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a pydantic-2.8.2.tar.gz +md5 f328e2d6c3d511a81e358aac6a8636b6 pydantic-2.9.0.tar.gz +sha256 c7a8a9fdf7d100afa49647eae340e2d23efa382466a8d177efcd1381e9be5598 pydantic-2.9.0.tar.gz # Locally computed sha256 checksums sha256 a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3 LICENSEpackage/python-pydantic/python-pydantic.mk +0
-0@@ -4,9 +4,9 @@ #
package/python-pydantic/python-pydantic.mk line 12
Quoted 10 lines
package/python-pydantic/python-pydantic.mk +2
-2################################################################################ -PYTHON_PYDANTIC_VERSION = 2.8.2 +PYTHON_PYDANTIC_VERSION = 2.9.0 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/8c/99/d0a5dca411e0a017762258013ba9905cd6e7baa9a3fd1fe8b6529472902e +PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/f6/8f/3b9f7a38caa3fa0bcb3cea7ee9958e89a9a6efc0e6f51fd6096f24cac140 PYTHON_PYDANTIC_SETUP_TYPE = pep517 PYTHON_PYDANTIC_LICENSE = MIT PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot