Skip to contentSkip to conversation

package/python-pydantic-core: bump to version 2.20.0

PATCH Applied James Hilliard 3 participants 4 messages Jul 1, 2024 – Sep 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pydantic-core: bump to version 2.20.0

---
 package/python-pydantic-core/python-pydantic-core.hash | 2 +-
 package/python-pydantic-core/python-pydantic-core.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pydantic-core/python-pydantic-core.hash +1 -1
index d11b3bfbb4..1703fcff3d 100644
@@ -1,4 +1,4 @@
 # Locally calculated after vendoring
-sha256  3359b437ca74c8f7e1b8ec477b1ff1e39f0fff08abb0eb171953f9bc3e8773c6  python-pydantic-core-v2.19.0-git4-cargo2.tar.gz
+sha256  a3597bcb7a6c9aabee543ba5797ba4997eb5a91b36bc6c596be4640bccf98daf  pydantic_core-2.20.0.tar.gz
 # Locally computed sha256 checksums
 sha256  2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a  LICENSE
package/python-pydantic-core/python-pydantic-core.mk +3 -3
index 79d06deab2..2e37c37004 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-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_VERSION = 2.20.0
+PYTHON_PYDANTIC_CORE_SOURCE = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
+PYTHON_PYDANTIC_CORE_SITE = https://files.pythonhosted.org/packages/7d/fa/9802d053f33dbcf110d46e3f28667b06cd764b164f1e3f4189848cdd6e78
 PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
 PYTHON_PYDANTIC_CORE_LICENSE = MIT
 PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line · James Hilliard

Applied to master, thanks.

Regards,
Arnout

Quoted 22 lines
---
  package/python-pydantic-core/python-pydantic-core.hash | 2 +-
  package/python-pydantic-core/python-pydantic-core.mk   | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pydantic-core/python-pydantic-core.hash +1 -1
index d11b3bfbb4..1703fcff3d 100644
@@ -1,4 +1,4 @@
  # Locally calculated after vendoring
-sha256  3359b437ca74c8f7e1b8ec477b1ff1e39f0fff08abb0eb171953f9bc3e8773c6  python-pydantic-core-v2.19.0-git4-cargo2.tar.gz
+sha256  a3597bcb7a6c9aabee543ba5797ba4997eb5a91b36bc6c596be4640bccf98daf  pydantic_core-2.20.0.tar.gz
  # Locally computed sha256 checksums
  sha256  2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a  LICENSE
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 79d06deab2..2e37c37004 100644
@@ -4,9 +4,9 @@
  #
  ################################################################################

package/python-pydantic-core/python-pydantic-core.mk line 12

Quoted 10 lines
package/python-pydantic-core/python-pydantic-core.mk +3 -3
 
-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_VERSION = 2.20.0
+PYTHON_PYDANTIC_CORE_SOURCE = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
+PYTHON_PYDANTIC_CORE_SITE = https://files.pythonhosted.org/packages/7d/fa/9802d053f33dbcf110d46e3f28667b06cd764b164f1e3f4189848cdd6e78
  PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
  PYTHON_PYDANTIC_CORE_LICENSE = MIT
  PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to James Hilliard

James, All,

On 2024-07-01 13:36 -0600, James Hilliard spake thusly:
[--SNIP--]

Quoted 5 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 79d06deab2..2e37c37004 100644

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 9 lines
package/python-pydantic-core/python-pydantic-core.mk +3 -3
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-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_VERSION = 2.20.0
+PYTHON_PYDANTIC_CORE_SOURCE = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
+PYTHON_PYDANTIC_CORE_SITE = https://files.pythonhosted.org/packages/7d/fa/9802d053f33dbcf110d46e3f28667b06cd764b164f1e3f4189848cdd6e78

Again a careless change that drops our vendoring pst-version suffix in local archives.

For that one, the migration away from the git download method was not even explained in the commit log.

Could you please either reinstate the git downmload method (which incidentally will have the local filename be proeperly named), or apply the same hack that is applied to other cargo-vendored python packages?

Regards,
Yann E. MORIN.

Quoted 10 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
 PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
 PYTHON_PYDANTIC_CORE_LICENSE = MIT
 PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
Signature · 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
#3 lore raw
Quoted 23 lines · Yann E. MORIN

James, All,

On 2024-07-01 13:36 -0600, James Hilliard spake thusly:
[--SNIP--]

Quoted 5 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 79d06deab2..2e37c37004 100644

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 9 lines
package/python-pydantic-core/python-pydantic-core.mk +3 -3
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-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_VERSION = 2.20.0
+PYTHON_PYDANTIC_CORE_SOURCE = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
+PYTHON_PYDANTIC_CORE_SITE = https://files.pythonhosted.org/packages/7d/fa/9802d053f33dbcf110d46e3f28667b06cd764b164f1e3f4189848cdd6e78

Again a careless change that drops our vendoring pst-version suffix in local archives.

Quoted 6 lines

For that one, the migration away from the git download method was not even explained in the commit log.

Could you please either reinstate the git downmload method (which incidentally will have the local filename be proeperly named), or apply the same hack that is applied to other cargo-vendored python packages?

Applied the same hack used for the other cargo pypi packages:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 15 lines

Regards,
Yann E. MORIN.

Quoted 10 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -1
 PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
 PYTHON_PYDANTIC_CORE_LICENSE = MIT
 PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
--

2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Quoted 7 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