Skip to content

Commit

Permalink
Version Packages (#331)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 9, 2024
1 parent f6b3536 commit 50d6df6
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 19 deletions.
10 changes: 0 additions & 10 deletions .changeset/itchy-countries-tap.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wild-planets-report.md

This file was deleted.

8 changes: 8 additions & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @plutolang/cli

## 0.4.58

### Patch Changes

- Updated dependencies [f6b3536]
- Updated dependencies [5e7702e]
- @plutolang/pyright-deducer@0.1.36

## 0.4.57

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plutolang/cli",
"version": "0.4.57",
"version": "0.4.58",
"description": "The command line of Pluto-lang",
"repository": {
"type": "git",
Expand Down
15 changes: 15 additions & 0 deletions components/deducers/python-pyright/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @plutolang/pyright-deducer

## 0.1.36

### Patch Changes

- f6b3536: fix(deducer): correct package directory resolution and METADATA parsing

This commit addresses two separate issues identified in the deducer:

- The deducer incorrectly searched for distribution information within the stub type directory, which lacks the required dist info. The resolution has been updated to check for the presence of `nonStubImportResult` within the `ImportResult`. If present, it is now utilized to determine the correct package directory.
- The parsing of the `dist-info/METADATA` file was flawed due to the possibility of encountering multiple `Name` lines. The parser has been adjusted to only consider lines that begin with `Name:` and are not preceded by any spaces.

- 5e7702e: fix(deducer): avoid retrieving declarations for non-infrastructure call nodes

Previously, the deducer attempted to retrieve all call node declarations and match them against custom infrastructure functions. This method was flawed as functions with multiple declarations caused the deducer to fail. To address this, we now first verify that a call node pertains to a custom infrastructure function by comparing function names. Only then do we fetch the call node's declaration, effectively bypassing the collection of extraneous call node declarations.

## 0.1.35

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion components/deducers/python-pyright/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@plutolang/pyright-deducer",
"version": "0.1.35",
"version": "0.1.36",
"repository": {
"type": "git",
"url": "git+https://github.com/pluto-lang/pluto.git",
Expand Down

0 comments on commit 50d6df6

Please sign in to comment.