-
Notifications
You must be signed in to change notification settings - Fork 969
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
Add --script
support to uv export
for PEP 723 scripts
#10160
Conversation
177bd99
to
0de6b8e
Compare
9a76828
to
0f65988
Compare
0de6b8e
to
784ec2f
Compare
0f65988
to
a81dd29
Compare
784ec2f
to
1a6d916
Compare
a81dd29
to
84cfb19
Compare
1a6d916
to
c185b09
Compare
And it will stick around? I might find that surprising, since it alters future invocations. |
Yeah, it will stick around. |
Could we avoid that? Did you have a motivation for that behavior other than simplicity? |
I think we can avoid it if you prefer, yeah. |
(It seems like a reasonable change to me.) |
I do prefer for now. Thanks! |
84cfb19
to
7d6381c
Compare
@zanieb -- I made the same change for |
c185b09
to
a3dea95
Compare
Summary
You can now run
uv export --script main.py
to show the dependency tree for a given script. If a lockfile doesn't exist, it will create one.Closes #8609.
Closes #9657.