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

Switch to pyproject.toml and UV #179

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from

Conversation

edmundmiller
Copy link
Collaborator

@edmundmiller edmundmiller commented Dec 17, 2024

For after 0.5.0

  • Switches to pyproject.toml(I'm not sure if there's any drawbacks to this)
  • Switch dev workflow to uv
  • Remove black and use ruff for linting and formatting

@edmundmiller edmundmiller self-assigned this Dec 18, 2024
@edmundmiller edmundmiller marked this pull request as ready for review December 18, 2024 21:29
Copy link
Collaborator

@adamrtalbot adamrtalbot left a comment

Choose a reason for hiding this comment

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

I'm not sold on the benefit here - what makes uv worth switching to? Especially when we have a dev flow?

Leave it to @ejseqera who will be the most affected by it.

Comment on lines +42 to +45
#### uv workflow

1. [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
2. `uv run seqerakit -h`
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the developer document, could you elaborate on what you'd need to do to develop Seqera with uv? e.g. how do I add a new library as a dependency?

@@ -64,7 +58,7 @@ jobs:
echo $GOOGLE_KEY | base64 -d > $temp_file
export GOOGLE_KEY=$temp_file

seqerakit examples/yaml/e2e/*.yml --delete || true
uv run seqerakit examples/yaml/e2e/*.yml --delete || true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to update the vscode debugging instructions below to make sense. You have to set your python path to the uv created venv.

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