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

Migrate to uv for package management #683

Conversation

munkyshi
Copy link
Contributor

@munkyshi munkyshi commented Sep 15, 2024

Linked issue(s)

KOL-7307

What change does this PR introduce and why?

Replace poetry with uv for dependency management and tooling.

Installing kolena is potentially a long process, and the dependency resolution time with poetry has crept up to the point of causing our workflow tests to flake. uv seems to offer a much faster interface for this, while preserving simplicity of development.

Also removes codecov for now, as it's something that hasn't been actively used / monitored.

Please check if the PR fulfills these requirements

  • Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
  • Relevant tests for the changes have been added
  • Relevant docs have been added / updated

@munkyshi munkyshi force-pushed the andrew/kol-7307-fix-example-test-failure-due-to-slow-dependency-resolution branch from 4b9d48e to 46516af Compare September 16, 2024 14:25
@munkyshi munkyshi force-pushed the andrew/kol-7307-fix-example-test-failure-due-to-slow-dependency-resolution branch from 46516af to eec9459 Compare September 16, 2024 14:27
@grant-Kolena
Copy link
Contributor

Nice! Glad to see the build is working again

pyproject.toml Outdated Show resolved Hide resolved
@munkyshi munkyshi changed the title [WIP] Migrate to uv for package management Migrate to uv for package management Sep 18, 2024
@munkyshi munkyshi marked this pull request as ready for review September 18, 2024 14:45
@munkyshi munkyshi requested a review from a team as a code owner September 18, 2024 14:45
Comment on lines 76 to 78
```shell
poetry config http-basic.kolena-embeddings <KOLENA_TOKEN> ""
uv add --extra-index-url="https://<KOLENA_TOKEN>@gateway.kolena.cloud/repositories" kolena-embeddings
```
Copy link
Contributor

Choose a reason for hiding this comment

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

just want to verify that we tested this manually already

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I ran this manually and was able to install kolena-embeddings

Copy link
Contributor

@yifanwu-kolena yifanwu-kolena left a comment

Choose a reason for hiding this comment

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

🚢

@munkyshi munkyshi enabled auto-merge (squash) September 18, 2024 15:13
@munkyshi munkyshi disabled auto-merge September 18, 2024 15:14
@munkyshi munkyshi merged commit 054090c into trunk Sep 18, 2024
56 checks passed
@munkyshi munkyshi deleted the andrew/kol-7307-fix-example-test-failure-due-to-slow-dependency-resolution branch September 18, 2024 17:25
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.

3 participants