Skip to contentSkip to conversation

package/python-rtoml: bump to version 0.10.0

PATCH Applied James Hilliard 3 participants 7 messages Jan 11, 2024 – Jul 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-rtoml: bump to version 0.10.0

Migrate from setuptools-rust to maturin infrastructure.

---
 package/python-rtoml/python-rtoml.hash | 2 +-
 package/python-rtoml/python-rtoml.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +1 -1
index 04d22ed1a4..59f17d9d62 100644
@@ -1,4 +1,4 @@
 # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz
 # Locally computed sha256 checksums
 sha256  cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103  LICENSE
package/python-rtoml/python-rtoml.mk +3 -3
index 819dcf3288..16f9dea573 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-PYTHON_RTOML_VERSION = 0.8.0
+PYTHON_RTOML_VERSION = 0.10.0
 PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
-PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
-PYTHON_RTOML_SETUP_TYPE = setuptools-rust
+PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/ca/b2/0e77a00e75ed582ec1c4c3a9e1eeed886a15c195bcce87b7daf1171c4115
+PYTHON_RTOML_SETUP_TYPE = maturin
 PYTHON_RTOML_LICENSE = MIT
 PYTHON_RTOML_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 13 lines · James Hilliard

Migrate from setuptools-rust to maturin infrastructure.

---
  package/python-rtoml/python-rtoml.hash | 2 +-
  package/python-rtoml/python-rtoml.mk   | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +0 -0
index 04d22ed1a4..59f17d9d62 100644

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

Quoted 3 lines
package/python-rtoml/python-rtoml.hash +1 -1
@@ -1,4 +1,4 @@
  # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz

Same problem:

ERROR: while checking hashes from package/python-rtoml//python-rtoml.hash
ERROR: rtoml-0.10.0.tar.gz has wrong sha256 hash:
ERROR: expected: 987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789
ERROR: got : 624cc1ff2b3fdea42aeee3a4d1537d37431ec001870dfee1e04a12bd3076a2d3

Regards,
Arnout

Quoted 10 lines
package/python-rtoml/python-rtoml.hash +0 -0
  # Locally computed sha256 checksums
  sha256  cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103  LICENSE
package/python-rtoml/python-rtoml.mk +0 -0
index 819dcf3288..16f9dea573 100644
@@ -4,10 +4,10 @@
  #
  ################################################################################
 

package/python-rtoml/python-rtoml.mk line 13

Quoted 10 lines
package/python-rtoml/python-rtoml.mk +3 -3
-PYTHON_RTOML_VERSION = 0.8.0
+PYTHON_RTOML_VERSION = 0.10.0
  PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
-PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
-PYTHON_RTOML_SETUP_TYPE = setuptools-rust
+PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/ca/b2/0e77a00e75ed582ec1c4c3a9e1eeed886a15c195bcce87b7daf1171c4115
+PYTHON_RTOML_SETUP_TYPE = maturin
  PYTHON_RTOML_LICENSE = MIT
  PYTHON_RTOML_LICENSE_FILES = LICENSE
 

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

#2 lore raw
Quoted 23 lines · Arnout Vandecappelle
Quoted 13 lines · James Hilliard

Migrate from setuptools-rust to maturin infrastructure.

---
  package/python-rtoml/python-rtoml.hash | 2 +-
  package/python-rtoml/python-rtoml.mk   | 6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +0 -0
index 04d22ed1a4..59f17d9d62 100644

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

Quoted 3 lines
package/python-rtoml/python-rtoml.hash +1 -1
@@ -1,4 +1,4 @@
  # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz

Same problem:

Quoted 4 lines

ERROR: while checking hashes from package/python-rtoml//python-rtoml.hash
ERROR: rtoml-0.10.0.tar.gz has wrong sha256 hash:
ERROR: expected: 987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789
ERROR: got : 624cc1ff2b3fdea42aeee3a4d1537d37431ec001870dfee1e04a12bd3076a2d3

Hmm, I'm unable to reproduce this issue.

Quoted 15 lines

Regards,
Arnout

Quoted 10 lines
package/python-rtoml/python-rtoml.hash +0 -0
  # Locally computed sha256 checksums
  sha256  cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103  LICENSE
package/python-rtoml/python-rtoml.mk +0 -0
index 819dcf3288..16f9dea573 100644
@@ -4,10 +4,10 @@
  #
  ################################################################################
 
Quoted 10 lines

package/python-rtoml/python-rtoml.mk line 13

Quoted 10 lines
package/python-rtoml/python-rtoml.mk +3 -3
-PYTHON_RTOML_VERSION = 0.8.0
+PYTHON_RTOML_VERSION = 0.10.0
  PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
-PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
-PYTHON_RTOML_SETUP_TYPE = setuptools-rust
+PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/ca/b2/0e77a00e75ed582ec1c4c3a9e1eeed886a15c195bcce87b7daf1171c4115
+PYTHON_RTOML_SETUP_TYPE = maturin
  PYTHON_RTOML_LICENSE = MIT
  PYTHON_RTOML_LICENSE_FILES = LICENSE
 

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

#3 lore raw
Quoted 24 lines · James Hilliard
Quoted 23 lines · Arnout Vandecappelle
Quoted 13 lines · James Hilliard

Migrate from setuptools-rust to maturin infrastructure.

---
   package/python-rtoml/python-rtoml.hash | 2 +-
   package/python-rtoml/python-rtoml.mk   | 6 +++---
   2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +0 -0
index 04d22ed1a4..59f17d9d62 100644

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

Quoted 3 lines
package/python-rtoml/python-rtoml.hash +1 -1
@@ -1,4 +1,4 @@
   # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz

Same problem:

Quoted 6 lines
Quoted 4 lines

ERROR: while checking hashes from package/python-rtoml//python-rtoml.hash
ERROR: rtoml-0.10.0.tar.gz has wrong sha256 hash:
ERROR: expected: 987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789
ERROR: got : 624cc1ff2b3fdea42aeee3a4d1537d37431ec001870dfee1e04a12bd3076a2d3

Hmm, I'm unable to reproduce this issue.

I suppose that if you already have the vendored dependencies in your cargo
cache (BR2_DL_DIR/br-cargo-home) you have the same timestamps on them.

But if those are the ones that cause the issue, Yann's series is not going to
help, because it only affects the repositories we pull from git ourselves, not the ones that are done by cargo...

Perhaps we should do a diffoscope to be sure where the difference is exactly.
Could you take my copy from
https://ftp.essensium.com/owncloud/index.php/s/WW2jtp5ozW61rMV
and do the diffoscope?

Regards,
Arnout

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
package/python-rtoml/python-rtoml.hash +0 -0
   # Locally computed sha256 checksums
   sha256  cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103  LICENSE
package/python-rtoml/python-rtoml.mk +0 -0
index 819dcf3288..16f9dea573 100644
@@ -4,10 +4,10 @@
   #
   ################################################################################
 
Quoted 10 lines
Quoted 10 lines

package/python-rtoml/python-rtoml.mk line 13

Quoted 10 lines
package/python-rtoml/python-rtoml.mk +3 -3
-PYTHON_RTOML_VERSION = 0.8.0
+PYTHON_RTOML_VERSION = 0.10.0
   PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
-PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
-PYTHON_RTOML_SETUP_TYPE = setuptools-rust
+PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/ca/b2/0e77a00e75ed582ec1c4c3a9e1eeed886a15c195bcce87b7daf1171c4115
+PYTHON_RTOML_SETUP_TYPE = maturin
   PYTHON_RTOML_LICENSE = MIT
   PYTHON_RTOML_LICENSE_FILES = LICENSE
 

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

#4 lore raw

Arnout, All,

On 2024-02-06 09:49 +0100, Arnout Vandecappelle via buildroot spake thusly:

Quoted 22 lines · James Hilliard
Quoted 21 lines · Arnout Vandecappelle
Quoted 20 lines · James Hilliard
Quoted 13 lines

Migrate from setuptools-rust to maturin infrastructure.

---
   package/python-rtoml/python-rtoml.hash | 2 +-
   package/python-rtoml/python-rtoml.mk   | 6 +++---
   2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +0 -0
index 04d22ed1a4..59f17d9d62 100644

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

Quoted 3 lines
package/python-rtoml/python-rtoml.hash +1 -1
@@ -1,4 +1,4 @@
   # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz

Same problem:

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

ERROR: while checking hashes from package/python-rtoml//python-rtoml.hash
ERROR: rtoml-0.10.0.tar.gz has wrong sha256 hash:
ERROR: expected: 987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789
ERROR: got : 624cc1ff2b3fdea42aeee3a4d1537d37431ec001870dfee1e04a12bd3076a2d3

Hmm, I'm unable to reproduce this issue.

Turned out that Arnout's setup was slightly borked, and he was using a 1.35 tar to create the archvies...

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
#5 lore raw
In reply to James Hilliard

James, All,

On 2024-01-10 22:22 -0700, James Hilliard spake thusly:

Quoted 3 lines

Migrate from setuptools-rust to maturin infrastructure.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 40 lines
---
 package/python-rtoml/python-rtoml.hash | 2 +-
 package/python-rtoml/python-rtoml.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-rtoml/python-rtoml.hash +1 -1
index 04d22ed1a4..59f17d9d62 100644
@@ -1,4 +1,4 @@
 # Locally calculated after vendoring
-sha256  821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20  rtoml-0.8.0.tar.gz
+sha256  987d3d9e9d56761b17c3e4e172937cbcc793bf24b0ebb2730647a9a2cf86c789  rtoml-0.10.0.tar.gz
 # Locally computed sha256 checksums
 sha256  cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103  LICENSE
package/python-rtoml/python-rtoml.mk +3 -3
index 819dcf3288..16f9dea573 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-PYTHON_RTOML_VERSION = 0.8.0
+PYTHON_RTOML_VERSION = 0.10.0
 PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz
-PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909
-PYTHON_RTOML_SETUP_TYPE = setuptools-rust
+PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/ca/b2/0e77a00e75ed582ec1c4c3a9e1eeed886a15c195bcce87b7daf1171c4115
+PYTHON_RTOML_SETUP_TYPE = maturin
 PYTHON_RTOML_LICENSE = MIT
 PYTHON_RTOML_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
#6 lore raw
In reply to James Hilliard

Hello James,

Quoted 7 lines · On Wed, 10 Jan 2024 22:22:25 -0700 James Hilliard <[email protected]>…

Migrate from setuptools-rust to maturin infrastructure.

---
 package/python-rtoml/python-rtoml.hash | 2 +-
 package/python-rtoml/python-rtoml.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Not sure if it's related to this version bump or not, but our python-rtoml test case is failing:

https://gitlab.com/buildroot.org/buildroot/-/jobs/7391793165

[BRTEST# python sample_python_rtoml.py
Traceback (most recent call last):
File "/root/sample_python_rtoml.py", line 18, in <module>

    loaded_obj = rtoml.load("""\
                 ^^^^^^^^^^

AttributeError: module 'rtoml' has no attribute 'load'

Could you perhaps have a look?

Thanks a lot!

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