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

Replace Poetry with UV #1199

Merged
merged 31 commits into from
Oct 14, 2024
Merged

Replace Poetry with UV #1199

merged 31 commits into from
Oct 14, 2024

Conversation

hotzenklotz
Copy link
Member

@hotzenklotz hotzenklotz commented Oct 8, 2024

Description:

  • Replace poetry with UV for webknossos, cluster_tools, and docs
  • Pros:
    • much, much quicker
    • handles Python venv/isolation automatically
    • downloads required Python version automatically

Testing

  • Install uv (Docs), e.g. brew install uv
  • Try to install all dependencies, e.g. uv sync
  • Try to spawn a Python shell and try to import WK-Libs, .e.g. uv run python
  • Try to run wk-libs CLI available in the virtual env: source .venv/bin/activate && webknossos

Todos:

Make sure to delete unnecessary points or to check all before merging:

@hotzenklotz hotzenklotz self-assigned this Oct 8, 2024
@hotzenklotz hotzenklotz added the dependencies Pull requests that update a dependency file label Oct 8, 2024
@hotzenklotz hotzenklotz marked this pull request as ready for review October 10, 2024 11:54
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/nightly.yml Show resolved Hide resolved
.github/workflows/publish_docs.yml Outdated Show resolved Hide resolved
@hotzenklotz hotzenklotz merged commit 846d939 into master Oct 14, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants