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

v0.3.0 #71

Merged
merged 1 commit into from
Jan 15, 2025
Merged

v0.3.0 #71

merged 1 commit into from
Jan 15, 2025

Conversation

manzt
Copy link
Owner

@manzt manzt commented Jan 15, 2025

This release adds support for generating lockfiles from Jupyter notebooks using inline metadata, as defined in PEP 723.

By default, notebooks remain unlocked. To lock a notebook, run juv lock /path/to/notebook.ipynb, which generates and embeds a lockfile in the notebook's metadata under the "uv.lock" key. The lockfile is respected and updated automatically when using juv run, uv add, or uv remove.

Additional commands:

  • juv export: Outputs an alternative lockfile format (requirements.txt
    style) to stdout.
  • uv tree: Displays the dependency tree for a script.

Both commands work with notebooks, whether locked or unlocked.

This release is considered breaking due to the lockfile support, which requires a minimum uv 0.5.18 and modifies execution.

@manzt manzt force-pushed the manzt/v0.3.0 branch 2 times, most recently from 012e709 to 7348aac Compare January 15, 2025 17:44
@manzt manzt merged commit e0ce712 into main Jan 15, 2025
19 checks passed
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.

1 participant