From cc1f17e52e24d2e1cad43ee64ec71d1f750ade92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:32:30 +0800 Subject: [PATCH] Version Packages (#324) Co-authored-by: github-actions[bot] --- .changeset/slimy-pots-wait.md | 7 ------- apps/cli/CHANGELOG.md | 7 +++++++ apps/cli/package.json | 2 +- components/deducers/python-pyright/CHANGELOG.md | 8 ++++++++ components/deducers/python-pyright/package.json | 2 +- 5 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 .changeset/slimy-pots-wait.md diff --git a/.changeset/slimy-pots-wait.md b/.changeset/slimy-pots-wait.md deleted file mode 100644 index 4f5e6f5b..00000000 --- a/.changeset/slimy-pots-wait.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@plutolang/pyright-deducer": patch ---- - -fix(deducer): resolve deducer malfunction with imports in function body - -The deducer fails to operate correctly when encountering import statements inside function bodies, attempting to retrieve module symbols from these local scope imports. Since global scope is required for symbol resolution and these imports don't need extraction, the solution is to bypass import statements during the extraction process. diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index 974bc2a0..ae72841d 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @plutolang/cli +## 0.4.55 + +### Patch Changes + +- Updated dependencies [e3d17b1] + - @plutolang/pyright-deducer@0.1.33 + ## 0.4.54 ### Patch Changes diff --git a/apps/cli/package.json b/apps/cli/package.json index c1afb510..3f48e18b 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "@plutolang/cli", - "version": "0.4.54", + "version": "0.4.55", "description": "The command line of Pluto-lang", "repository": { "type": "git", diff --git a/components/deducers/python-pyright/CHANGELOG.md b/components/deducers/python-pyright/CHANGELOG.md index 7d5013c1..077be9fb 100644 --- a/components/deducers/python-pyright/CHANGELOG.md +++ b/components/deducers/python-pyright/CHANGELOG.md @@ -1,5 +1,13 @@ # @plutolang/pyright-deducer +## 0.1.33 + +### Patch Changes + +- e3d17b1: fix(deducer): resolve deducer malfunction with imports in function body + + The deducer fails to operate correctly when encountering import statements inside function bodies, attempting to retrieve module symbols from these local scope imports. Since global scope is required for symbol resolution and these imports don't need extraction, the solution is to bypass import statements during the extraction process. + ## 0.1.32 ### Patch Changes diff --git a/components/deducers/python-pyright/package.json b/components/deducers/python-pyright/package.json index a50bbab1..0d8f4015 100644 --- a/components/deducers/python-pyright/package.json +++ b/components/deducers/python-pyright/package.json @@ -1,6 +1,6 @@ { "name": "@plutolang/pyright-deducer", - "version": "0.1.32", + "version": "0.1.33", "repository": { "type": "git", "url": "git+https://github.com/pluto-lang/pluto.git",