Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline script deps #2

Merged
merged 2 commits into from
Feb 5, 2025
Merged

inline script deps #2

merged 2 commits into from
Feb 5, 2025

Conversation

zzstoatzz
Copy link
Contributor

@zzstoatzz zzstoatzz commented Feb 5, 2025

makes all flows/ self contained with inline script deps so all examples can be run:

via cli if cloned

uv run flows/hello_world.py

via url

uv run https://github.com/PrefectHQ/examples/blob/main/flows/hello_world.py

and then you don't need to install unrelated deps to try a specific example


this pr also removes .python-version, uv.lock and the dependencies from the pyproject.toml since this is not intended to be built as a package

stacked on #1

Copy link
Collaborator

@EmilRex EmilRex left a comment

Choose a reason for hiding this comment

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

:hell-yeah:

@zzstoatzz zzstoatzz marked this pull request as ready for review February 5, 2025 16:07
@zzstoatzz zzstoatzz merged commit 3f64f73 into main Feb 5, 2025
1 check passed
@zzstoatzz zzstoatzz deleted the inline-script-deps branch February 5, 2025 16:08
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