Skip to contentSkip to conversation

python3-eth-utils: Upgrade 3.0.0 -> 4.1.1

PATCH In review Leon Anavi 2 participants 6 messages Jun 20, 2024

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/4 python3-eth-utils: Upgrade 3.0.0 -> 4.1.1

Upgrade to version 4.1.1:

- Web3.is_address now returns True for non-checksummed addresses.
- Upgrades from the template with support for Python 3.12 and linting with blocklint.
- Remove cached_property dependency, as it was only for <=py37
- Update networks for latest changes and testnets.

---
 ...{python3-eth-utils_3.0.0.bb => python3-eth-utils_4.1.1.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-eth-utils_3.0.0.bb => python3-eth-utils_4.1.1.bb} (77%)
meta-python/recipes-devtools/python/python3-eth-utils_4.1.1.bb renamed from meta-python/recipes-devtools/python/python3-eth-utils_3.0.0.bb +3 -1
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-eth-utils_3.0.0.bb
rename to meta-python/recipes-devtools/python/python3-eth-utils_4.1.1.bb
index faca03865..54bd9a67c 100644
@@ -4,7 +4,9 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a"
 
-SRC_URI[sha256sum] = "8721869568448349bceae63c277b75758d11e0dc190e7ef31e161b89619458f1"
+SRC_URI[sha256sum] = "71c8d10dec7494aeed20fa7a4d52ec2ce4a2e52fdce80aab4f5c3c19f3648b25"
+
+PYPI_PACKAGE = "eth_utils"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/4 python3-requests-file: Upgrade 1.5.1 -> 2.1.0

Upgrade to release 2.1.0:

- Correct a typo in requests_file.py
- Remove dependency on six
- Move metadata to pyproject.toml
- Correct homepage link in pyproject.toml
- Fix black formatting
- Set the request property in the returned Response object

---
 ...ests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-requests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} (70%)
meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +6 -3
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
index 7ff984a93..4e0adc39f 100644
@@ -3,15 +3,18 @@ HOMEPAGE = "http://github.com/dashea/requests-file"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b"
 
-SRC_URI[md5sum] = "c96daf6b0c56687556e8a52748fd896c"
-SRC_URI[sha256sum] = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e"
+SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"
 
-inherit pypi setuptools3 ptest
+PYPI_PACKAGE = "requests_file"
+
+inherit pypi python_setuptools_build_meta ptest
 
 SRC_URI += " \
         file://run-ptest \
 "
 
+DEPENDS += "python3-setuptools-scm-native"
+
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
     python3-unittest-automake-output \
Signature · 1 line
2.39.2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/4] python3-requests-file: Upgrade 1.5.1 -> 2.1.0

This should also be updated to inherit python_setuptools_build_meta per
https://github.com/dashea/requests-file/blob/ce642a115d0cc7ee2d2cda614ce9b2a0bbebe562/pyproject.toml#L3

Quoted 66 lines · Leon Anavi via lists.openembedded.org

Upgrade to release 2.1.0:

- Correct a typo in requests_file.py
- Remove dependency on six
- Move metadata to pyproject.toml
- Correct homepage link in pyproject.toml
- Fix black formatting
- Set the request property in the returned Response object

---
 ...ests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{

python3-requests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} (70%)

(quoted diff) +0 -0

python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/ python3-requests-file_2.1.0.bb
similarity index 70%
rename from meta-python/recipes-devtools/python/ python3-requests-file_1.5.1.bb
rename to meta-python/recipes-devtools/python/ python3-requests-file_2.1.0.bb
index 7ff984a93..4e0adc39f 100644

meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +0 -2
@@ -3,15 +3,18 @@ HOMEPAGE = "http://github.com/dashea/requests-file"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b"
 
-SRC_URI[md5sum] = "c96daf6b0c56687556e8a52748fd896c"
-SRC_URI[sha256sum] =

"07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e" +SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"

meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +5 -2
-inherit pypi setuptools3 ptest
+PYPI_PACKAGE = "requests_file"
+
+inherit pypi python_setuptools_build_meta ptest
 
 SRC_URI += " \
         file://run-ptest \
 "
 
+DEPENDS += "python3-setuptools-scm-native"
+
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
     python3-unittest-automake-output \
--

2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#110973):
https://lists.openembedded.org/g/openembedded-devel/message/110973
Mute This Topic: https://lists.openembedded.org/mt/106780172/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [oe] [meta-python][PATCH 2/4] python3-requests-file: Upgrade 1.5.1 -> 2.1.0

Quoted 4 lines · Tim Orling

This should also be updated to inherit python_setuptools_build_meta per

https://github.com/dashea/requests-file/blob/ce642a115d0cc7ee2d2cda614ce9b2a0bbebe562/pyproject.toml#L3

<https://github.com/dashea/requests-file/blob/ce642a115d0cc7ee2d2cda614ce9b2a0bbebe562/pyproject.toml#L3>

Quoted 1 line

Never mind you did that ;)

Quoted 71 lines
Quoted 66 lines · Leon Anavi via lists.openembedded.org

Upgrade to release 2.1.0:

- Correct a typo in requests_file.py
- Remove dependency on six
- Move metadata to pyproject.toml
- Correct homepage link in pyproject.toml
- Fix black formatting
- Set the request property in the returned Response object

---
 ...ests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{

python3-requests-file_1.5.1.bb => python3-requests-file_2.1.0.bb} (70%)

(quoted diff) +0 -0

python3-requests-file_1.5.1.bb b/meta-python/recipes-devtools/python/ python3-requests-file_2.1.0.bb
similarity index 70%
rename from meta-python/recipes-devtools/python/ python3-requests-file_1.5.1.bb
rename to meta-python/recipes-devtools/python/ python3-requests-file_2.1.0.bb
index 7ff984a93..4e0adc39f 100644

meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +0 -2
@@ -3,15 +3,18 @@ HOMEPAGE = "http://github.com/dashea/requests-file"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b"
 
-SRC_URI[md5sum] = "c96daf6b0c56687556e8a52748fd896c"
-SRC_URI[sha256sum] =

"07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e" +SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"

meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +5 -2
-inherit pypi setuptools3 ptest
+PYPI_PACKAGE = "requests_file"
+
+inherit pypi python_setuptools_build_meta ptest
 
 SRC_URI += " \
         file://run-ptest \
 "
 
+DEPENDS += "python3-setuptools-scm-native"
+
 RDEPENDS:${PN}-ptest += " \
     python3-pytest \
     python3-unittest-automake-output \
--

2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#110973):
https://lists.openembedded.org/g/openembedded-devel/message/110973
Mute This Topic: https://lists.openembedded.org/mt/106780172/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw

PATCH 3/4 python3-filelock: Upgrade 3.14.0 -> 3.15.3

In reply to Leon Anavi

Upgrade to version 3.15.3:

- Add test for virtualenv stability
- Fix TypeError: _CountedFileLock.__init__() got an unexpected keyword argument 'timeout'

---
 ...hon3-filelock_3.14.0.bb => python3-filelock_3.15.3.bb} | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-filelock_3.14.0.bb => python3-filelock_3.15.3.bb} (74%)
meta-python/recipes-devtools/python/python3-filelock_3.15.3.bb renamed from meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb +7 -1
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb
rename to meta-python/recipes-devtools/python/python3-filelock_3.15.3.bb
index d94ad4bf3..3bbf72319 100644
@@ -6,7 +6,7 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/"
 LICENSE = "Unlicense"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
 
-SRC_URI[sha256sum] = "6ea72da3be9b8c82afd3edcf99f2fffbb5076335a5ae4d03248bb5b6c3eae78a"
+SRC_URI[sha256sum] = "e1199bf5194a2277273dacd50269f0d87d0682088a3c561c15674ea9005d8635"
 
 BBCLASSEXTEND = "native nativesdk"
 inherit pypi python_hatchling
@@ -14,3 +14,9 @@ inherit pypi python_hatchling
 DEPENDS += "\
     python3-hatch-vcs-native \
 "
+
+RDEPENDS:${PN} += " \
+    python3-core \
+    python3-logging \
+    python3-asyncio \
+"
Signature · 1 line
2.39.2
author
#5 lore raw

PATCH 4/4 python3-hexbytes: Upgrade 1.2.0 -> 1.2.1

In reply to Leon Anavi

Upgrade to release 1.2.1:

- Update docs structure, adding Contribution and Code of Conduct sections
- Drop ``bumpversion`` for ``bump-my-version`` and add ``make package-test`` to build and test the package before pushing to pypi.

---
 ...ython3-hexbytes_1.2.0.bb => python3-hexbytes_1.2.1.bb} | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-hexbytes_1.2.0.bb => python3-hexbytes_1.2.1.bb} (60%)
meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb renamed from meta-python/recipes-devtools/python/python3-hexbytes_1.2.0.bb +7 -1
similarity index 60%
rename from meta-python/recipes-devtools/python/python3-hexbytes_1.2.0.bb
rename to meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb
index b75f7794a..c8e34fc40 100644
@@ -4,6 +4,12 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=16ffc86adf4293d4cfb204e77d62cfe6"
 
-SRC_URI[sha256sum] = "965f1cc712e7b263c41fdf3fb36cf671ba6f59b895937cf33941a5c996ec3a5c"
+SRC_URI[sha256sum] = "515f00dddf31053db4d0d7636dd16061c1d896c3109b8e751005db4ca46bcca7"
 
 inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-core \
+    python3-email \
+    python3-compression \
+"
Signature · 1 line
2.39.2