Skip to contentSkip to conversation

package/python-maturin: bump to version 1.7.1

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-maturin: bump to version 1.7.1

Restore cargo2 archive suffix format as well.

---
 package/python-maturin/python-maturin.hash | 2 +-
 package/python-maturin/python-maturin.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
package/python-maturin/python-maturin.hash +1 -1
index 3c5f836ad5..2b601d6ee9 100644
@@ -1,5 +1,5 @@
 # Locally calculated after vendoring
-sha256  56c18b09d38080f9975fb679be1fda01b936d21f5ef233967cda3dd74905e683  maturin-1.7.0.tar.gz
+sha256  92c5fc2a24f32623a6994334b523a587dca63ebb5b46ae14a255a2ebc25fd3f7  python-maturin-1.7.1-cargo2.tar.gz
 # Locally computed sha256 checksums
 sha256  a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2  license-apache
 sha256  ea7882c559733766ad08343bde1d1ec80a4967c03a738fb8e0058ef6289f7b7c  license-mit
package/python-maturin/python-maturin.mk +4 -3
index 70cdb15949..76f136826a 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-PYTHON_MATURIN_VERSION = 1.7.0
-PYTHON_MATURIN_SOURCE = maturin-$(PYTHON_MATURIN_VERSION).tar.gz
-PYTHON_MATURIN_SITE = https://files.pythonhosted.org/packages/80/da/a4bbd6e97f3645f4ebd725321aa235e22e31037dfd92caf4539f721c0a5a
+PYTHON_MATURIN_VERSION = 1.7.1
+PYTHON_MATURIN_SOURCE_PYPI = maturin-$(PYTHON_MATURIN_VERSION).tar.gz
+PYTHON_MATURIN_SITE_PYPI = https://files.pythonhosted.org/packages/1d/ec/1f688d6ad82a568fd7c239f1c7a130d3fc2634977df4ef662ee0ac58a153
+PYTHON_MATURIN_SITE = $(PYTHON_MATURIN_SITE_PYPI)/$(PYTHON_MATURIN_SOURCE_PYPI)?buildroot-path=filename
 PYTHON_MATURIN_SETUP_TYPE = setuptools-rust
 PYTHON_MATURIN_LICENSE = Apache-2.0 or MIT
 PYTHON_MATURIN_LICENSE_FILES = license-apache license-mit
Signature · 6 lines
2.34.1

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

Hello James,

Quoted 7 lines · On Sat, 7 Sep 2024 15:16:38 -0600 James Hilliard <[email protected]>…

Restore cargo2 archive suffix format as well.

---
 package/python-maturin/python-maturin.hash | 2 +-
 package/python-maturin/python-maturin.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

Thanks, but it doesn't work for me:

ERROR: while checking hashes from package/python-maturin/python-maturin.hash
ERROR: python-maturin-1.7.1-cargo2.tar.gz has wrong sha256 hash:
ERROR: expected: 92c5fc2a24f32623a6994334b523a587dca63ebb5b46ae14a255a2ebc25fd3f7
ERROR: got : 9b25e8232b67e7ad8652adfe95e890868f56adfb65a93ad4c2a2cb6a7236a94f
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Could you have a look?

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 14 lines · Thomas Petazzoni

Hello James,

Quoted 7 lines · On Sat, 7 Sep 2024 15:16:38 -0600 James Hilliard <[email protected]>…

Restore cargo2 archive suffix format as well.

---
 package/python-maturin/python-maturin.hash | 2 +-
 package/python-maturin/python-maturin.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Quoted 7 lines

Thanks, but it doesn't work for me:

ERROR: while checking hashes from package/python-maturin/python-maturin.hash
ERROR: python-maturin-1.7.1-cargo2.tar.gz has wrong sha256 hash:
ERROR: expected: 92c5fc2a24f32623a6994334b523a587dca63ebb5b46ae14a255a2ebc25fd3f7
ERROR: got : 9b25e8232b67e7ad8652adfe95e890868f56adfb65a93ad4c2a2cb6a7236a94f
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Weird, I deleted the archive from my dl directory and tried with a full clean build and was not able to reproduce.

Quoted 8 lines

Could you have a look?

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

#3 lore raw
In reply to James Hilliard

James, All,

On 2024-09-07 15:16 -0600, James Hilliard spake thusly:

Quoted 1 line

Restore cargo2 archive suffix format as well.

It would have been better if the revert had been done in a separate patch, so that it could be backported to the stable branch...

Could you do that for 2024.08.x, please?

Quoted 11 lines
---
 package/python-maturin/python-maturin.hash | 2 +-
 package/python-maturin/python-maturin.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
package/python-maturin/python-maturin.hash +0 -0
index 3c5f836ad5..2b601d6ee9 100644

package/python-maturin/python-maturin.hash line 2

Quoted 3 lines
package/python-maturin/python-maturin.hash +1 -1
@@ -1,5 +1,5 @@
 # Locally calculated after vendoring
-sha256  56c18b09d38080f9975fb679be1fda01b936d21f5ef233967cda3dd74905e683  maturin-1.7.0.tar.gz
+sha256  92c5fc2a24f32623a6994334b523a587dca63ebb5b46ae14a255a2ebc25fd3f7  python-maturin-1.7.1-cargo2.tar.gz

I also got that same hash when testing here.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 28 lines
package/python-maturin/python-maturin.hash +0 -0
 # Locally computed sha256 checksums
 sha256  a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2  license-apache
 sha256  ea7882c559733766ad08343bde1d1ec80a4967c03a738fb8e0058ef6289f7b7c  license-mit
package/python-maturin/python-maturin.mk +4 -3
index 70cdb15949..76f136826a 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-PYTHON_MATURIN_VERSION = 1.7.0
-PYTHON_MATURIN_SOURCE = maturin-$(PYTHON_MATURIN_VERSION).tar.gz
-PYTHON_MATURIN_SITE = https://files.pythonhosted.org/packages/80/da/a4bbd6e97f3645f4ebd725321aa235e22e31037dfd92caf4539f721c0a5a
+PYTHON_MATURIN_VERSION = 1.7.1
+PYTHON_MATURIN_SOURCE_PYPI = maturin-$(PYTHON_MATURIN_VERSION).tar.gz
+PYTHON_MATURIN_SITE_PYPI = https://files.pythonhosted.org/packages/1d/ec/1f688d6ad82a568fd7c239f1c7a130d3fc2634977df4ef662ee0ac58a153
+PYTHON_MATURIN_SITE = $(PYTHON_MATURIN_SITE_PYPI)/$(PYTHON_MATURIN_SOURCE_PYPI)?buildroot-path=filename
 PYTHON_MATURIN_SETUP_TYPE = setuptools-rust
 PYTHON_MATURIN_LICENSE = Apache-2.0 or MIT
 PYTHON_MATURIN_LICENSE_FILES = license-apache license-mit
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