All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core] [PATCH] python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4
@ 2023-11-03  7:43 wangmy
  2023-11-12 22:34 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: wangmy @ 2023-11-03  7:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

From: Wang Mingyu <wangmy@fujitsu.com>

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)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...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%)

diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
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
--- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b"
+SRC_URI[sha256sum] = "a2778930d2573358f7c43f26e4bd5715015dccebf53c9943ed611200c1e2adcd"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-shell \
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] [PATCH] python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4
  2023-11-03  7:43 [OE-core] [PATCH] python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4 wangmy
@ 2023-11-12 22:34 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2023-11-12 22:34 UTC (permalink / raw)
  To: wangmy; +Cc: openembedded-core

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.

On 03/11/2023 15:43:13+0800, wangmy wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
> 
> 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)
> 
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  ...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%)
> 
> diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
> 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
> --- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.35.bb
> +++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.4.bb
> @@ -8,7 +8,7 @@ PYPI_PACKAGE = "ruamel.yaml"
>  
>  inherit pypi setuptools3
>  
> -SRC_URI[sha256sum] = "801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b"
> +SRC_URI[sha256sum] = "a2778930d2573358f7c43f26e4bd5715015dccebf53c9943ed611200c1e2adcd"
>  
>  RDEPENDS:${PN} += "\
>      ${PYTHON_PN}-shell \
> -- 
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-12 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03  7:43 [OE-core] [PATCH] python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.4 wangmy
2023-11-12 22:34 ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.