Skip to contentSkip to conversation

python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4

PATCH In review [email protected] 2 participants 2 messages Nov 3, 2023 – Nov 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4

From: Wang Mingyu <[email protected]>

Changelog:
============
- YAML() instance has a 'doc_infos' attribute which is a cumulative list of DocInfo instances (one for 'load()', one per document for 'load_all()'). DocInfo instances contain version information (requested, directive) and tag directive information
- fix issue that the YAML instance tags attribute was not reset between documents, resulting in mixing of tag directives of multiple documents. Now only provides tag directive information on latest document after loading. This means tags for dumping must be set **again** after a document is loaded with the same instance. (because of this tags will be removed in a favour of a different mechanism in the future)
- fix issue with multiple document intermixing YAML 1.2 and YAML 1.1, the VersionedResolver now resets
- fix issue with disappearing comment when next token was Tag (still can't have both a comment before a tag and after a tag, before node)

---
 ...on3-ruamel-yaml_0.17.35.bb => python3-ruamel-yaml_0.18.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-ruamel-yaml_0.17.35.bb => python3-ruamel-yaml_0.18.4.bb} (85%)
meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb renamed from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb +1 -1
similarity index 85%
rename from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb
rename to meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
index 1760fec7ee..7be966184e 100644
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b"
+SRC_URI[sha256sum] = "a2778930d2573358f7c43f26e4bd5715015dccebf53c9943ed611200c1e2adcd"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-shell \
Signature · 1 line
2.34.1
#1 lore raw

Hello,

I've tried this multiple times but this is failing because it is impossible to fetch:

https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.18.4.tar.gz

I guess we need 0.18.5.

Quoted 52 lines · wangmy

From: Wang Mingyu <[email protected]>

Changelog:
============
- YAML() instance has a 'doc_infos' attribute which is a cumulative list of DocInfo instances (one for 'load()', one per document for 'load_all()'). DocInfo instances contain version information (requested, directive) and tag directive information
- fix issue that the YAML instance tags attribute was not reset between documents, resulting in mixing of tag directives of multiple documents. Now only provides tag directive information on latest document after loading. This means tags for dumping must be set **again** after a document is loaded with the same instance. (because of this tags will be removed in a favour of a different mechanism in the future)
- fix issue with multiple document intermixing YAML 1.2 and YAML 1.1, the VersionedResolver now resets
- fix issue with disappearing comment when next token was Tag (still can't have both a comment before a tag and after a tag, before node)

---
 ...on3-ruamel-yaml_0.17.35.bb => python3-ruamel-yaml_0.18.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-ruamel-yaml_0.17.35.bb => python3-ruamel-yaml_0.18.4.bb} (85%)
meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb renamed from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb +1 -1
similarity index 85%
rename from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb
rename to meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
index 1760fec7ee..7be966184e 100644
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b"
+SRC_URI[sha256sum] = "a2778930d2573358f7c43f26e4bd5715015dccebf53c9943ed611200c1e2adcd"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-shell \
Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190133): https://lists.openembedded.org/g/openembedded-core/message/190133
Mute This Topic: https://lists.openembedded.org/mt/102359575/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com