Skip to content

build: fetch interface file for easier development, run uv sync on build so packages just need to be added to pyproject.toml#29

Merged
G4Vi merged 1 commit intomainfrom
gavin/20250124-add-extism-interface-file
Jan 24, 2025
Merged

build: fetch interface file for easier development, run uv sync on build so packages just need to be added to pyproject.toml#29
G4Vi merged 1 commit intomainfrom
gavin/20250124-add-extism-interface-file

Conversation

@G4Vi
Copy link
Contributor

@G4Vi G4Vi commented Jan 24, 2025

No description provided.

…ild so packages just need to be added to pyproject.toml
@G4Vi G4Vi requested review from bhelx and zshipko as code owners January 24, 2025 19:00

# Download extism interface file for IDE intellisense
# Ideally we'd have extism-py generate or output this to keep it in-sync
curl -O https://raw.githubusercontent.com/extism/python-pdk/refs/heads/main/extism.pyi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this is a bit weird. why not put it in the template directory? if it's needed i have no objection though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer it this way as it avoids needing to keep the file up to date in another place. Eventually, maybe we pack the file into extism-py so it is matched directly with the python-pdk.

@G4Vi G4Vi merged commit a392427 into main Jan 24, 2025
1 check passed
@G4Vi G4Vi deleted the gavin/20250124-add-extism-interface-file branch January 24, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants