Skip to content

Check in test script for uv run <url>#7708

Merged
BurntSushi merged 3 commits intoastral-sh:mainfrom
manzt:manzt/remote-script
Sep 26, 2024
Merged

Check in test script for uv run <url>#7708
BurntSushi merged 3 commits intoastral-sh:mainfrom
manzt:manzt/remote-script

Conversation

@manzt
Copy link
Copy Markdown
Contributor

@manzt manzt commented Sep 26, 2024

Merge before #6375 (see #6375 (comment))

This is testing a couple of things at once, and I'm happy to strip back to something more simple (i.e., "just" printing).
However, I figured it would be useful to ensure that the PEP 723 metadata correctly works as well as that
additional arguments are correctly forwarded to the Python program.

cc: @BurntSushi

Copy link
Copy Markdown
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

This LGTM with a version pin and when CI passes. It looks like a Python lint violation?

# /// script
# requires-python = ">=3.11"
# dependencies = [
# "rich",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you do rich==13.8.1? Just so the dependency is pinned.

@BurntSushi
Copy link
Copy Markdown
Member

However, I figured it would be useful to ensure that the PEP 723 metadata correctly works as well as that
additional arguments are correctly forwarded to the Python program.

Yeah that SGTM!

@BurntSushi BurntSushi merged commit 7a8f4f9 into astral-sh:main Sep 26, 2024
@manzt manzt deleted the manzt/remote-script branch September 26, 2024 15:05
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.

3 participants