diff mbox series

[meta-python,1/3] python3-gast: Upgrade 0.6.0 -> 0.7.0

Message ID 20251201112044.369630-1-leon.anavi@konsulko.com
State Superseded
Headers show
Series [meta-python,1/3] python3-gast: Upgrade 0.6.0 -> 0.7.0 | expand

Commit Message

Leon Anavi Dec. 1, 2025, 11:20 a.m. UTC
Upgrade to release 0.7.0:

- Update unparser to harmonize output across revisions and handle
  python 3.12+ features
- Fix support for TypeVar, TypeVarTupe and ParamSpec
- Support t-string from python 3.14
- Adjust test incompatible with py2
- Support _field_types field for every AST class
- Make gast.dump more generic across python version
- Only pass existing attributes as keyword parameters in gast_to_ast
- Initial oss-fuzz integration
- Support [g]ast.get_source_segment
- Fix gast.get_docstring implementation
- Initialize ast node with known fields to avoid deprecation warning
  in Python 3.13
- Add missing type_params attribute for ClassDef node before
  Python 3.12

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/{python3-gast_0.6.0.bb => python3-gast_0.7.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-gast_0.6.0.bb => python3-gast_0.7.0.bb} (78%)

Comments

Yoann Congal Dec. 1, 2025, 1:21 p.m. UTC | #1
Le lun. 1 déc. 2025 à 12:20, Leon Anavi via lists.openembedded.org
<leon.anavi=konsulko.com@lists.openembedded.org> a écrit :

> Upgrade to release 0.7.0:
>
> - Update unparser to harmonize output across revisions and handle
>   python 3.12+ features
> - Fix support for TypeVar, TypeVarTupe and ParamSpec
>

FYI, there is a weird unicode character at the end of this line ^

I don't know if that is a problem or not...


> - Support t-string from python 3.14
> - Adjust test incompatible with py2
> - Support _field_types field for every AST class
> - Make gast.dump more generic across python version
> - Only pass existing attributes as keyword parameters in gast_to_ast
> - Initial oss-fuzz integration
> - Support [g]ast.get_source_segment
> - Fix gast.get_docstring implementation
> - Initialize ast node with known fields to avoid deprecation warning
>   in Python 3.13
> - Add missing type_params attribute for ClassDef node before
>   Python 3.12
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>  .../python/{python3-gast_0.6.0.bb => python3-gast_0.7.0.bb}     | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-python/recipes-devtools/python/{python3-gast_0.6.0.bb =>
> python3-gast_0.7.0.bb} (78%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
> b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
> similarity index 78%
> rename from meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
> rename to meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
> index af46c3feb7..93301f0943 100644
> --- a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
> @@ -4,7 +4,7 @@ SECTION = "devel/python"
>  LICENSE = "BSD-3-Clause"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90"
>
> -SRC_URI[sha256sum] =
> "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb"
> +SRC_URI[sha256sum] =
> "0bb14cd1b806722e91ddbab6fb86bba148c22b40e7ff11e248974e04c8adfdae"
>
>  inherit pypi setuptools3
>
> --
> 2.47.3
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122202):
> https://lists.openembedded.org/g/openembedded-devel/message/122202
> Mute This Topic: https://lists.openembedded.org/mt/116554099/4316185
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Leon Anavi Dec. 1, 2025, 2:06 p.m. UTC | #2
Hi Yoann,

On 12/1/25 15:21, Yoann Congal wrote:
>
>
> Le lun. 1 déc. 2025 à 12:20, Leon Anavi via lists.openembedded.org 
> <http://lists.openembedded.org> 
> <leon.anavi=konsulko.com@lists.openembedded.org> a écrit :
>
>     Upgrade to release 0.7.0:
>
>     - Update unparser to harmonize output across revisions and handle
>       python 3.12+ features
>     - Fix support for TypeVar, TypeVarTupe and ParamSpec
>
>
> FYI, there is a weird unicode character at the end of this line ^

Hm, yes, there was something wrong.

>
> I don't know if that is a problem or not...

I removed the weird unicode character and I sent v2 of the patch. Thank 
you for reporting this issues. We better keep the git history nice and 
tidy :)

Best regards,
Leon

>     - Support t-string from python 3.14
>     - Adjust test incompatible with py2
>     - Support _field_types field for every AST class
>     - Make gast.dump more generic across python version
>     - Only pass existing attributes as keyword parameters in gast_to_ast
>     - Initial oss-fuzz integration
>     - Support [g]ast.get_source_segment
>     - Fix gast.get_docstring implementation
>     - Initialize ast node with known fields to avoid deprecation warning
>       in Python 3.13
>     - Add missing type_params attribute for ClassDef node before
>       Python 3.12
>
>     Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>     ---
>      .../python/{python3-gast_0.6.0.bb <http://python3-gast_0.6.0.bb>
>     => python3-gast_0.7.0.bb <http://python3-gast_0.7.0.bb>}    | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>      rename meta-python/recipes-devtools/python/{python3-gast_0.6.0.bb
>     <http://python3-gast_0.6.0.bb> => python3-gast_0.7.0.bb
>     <http://python3-gast_0.7.0.bb>} (78%)
>
>     diff --git
>     a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
>     <http://python3-gast_0.6.0.bb>
>     b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
>     <http://python3-gast_0.7.0.bb>
>     similarity index 78%
>     rename from
>     meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
>     <http://python3-gast_0.6.0.bb>
>     rename to
>     meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
>     <http://python3-gast_0.7.0.bb>
>     index af46c3feb7..93301f0943 100644
>     --- a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
>     <http://python3-gast_0.6.0.bb>
>     +++ b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
>     <http://python3-gast_0.7.0.bb>
>     @@ -4,7 +4,7 @@ SECTION = "devel/python"
>      LICENSE = "BSD-3-Clause"
>      LIC_FILES_CHKSUM =
>     "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90"
>
>     -SRC_URI[sha256sum] =
>     "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb"
>     +SRC_URI[sha256sum] =
>     "0bb14cd1b806722e91ddbab6fb86bba148c22b40e7ff11e248974e04c8adfdae"
>
>      inherit pypi setuptools3
>
>     -- 
>     2.47.3
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#122202):
>     https://lists.openembedded.org/g/openembedded-devel/message/122202
>     Mute This Topic: https://lists.openembedded.org/mt/116554099/4316185
>     Group Owner: openembedded-devel+owner@lists.openembedded.org
>     <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
>     Unsubscribe:
>     https://lists.openembedded.org/g/openembedded-devel/unsub
>     [yoann.congal@smile.fr]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
> -- 
> Yoann Congal
> Smile ECS
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
rename to meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
index af46c3feb7..93301f0943 100644
--- a/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gast_0.7.0.bb
@@ -4,7 +4,7 @@  SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90"
 
-SRC_URI[sha256sum] = "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb"
+SRC_URI[sha256sum] = "0bb14cd1b806722e91ddbab6fb86bba148c22b40e7ff11e248974e04c8adfdae"
 
 inherit pypi setuptools3