Skip to content

Migrate from poetry to uv #22

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Migrate from poetry to uv #22

wants to merge 4 commits into from

Conversation

tothtamas28
Copy link
Collaborator

No description provided.

nixpkgs on previously 22.05 changed something in regard to
`python.interpreter`. Updating to a version atleast as recent as used in
other runtime verification repositories fixes this.
@juliankuners
Copy link
Collaborator

Hey @tothtamas28, I'd like to push my changes for this pull request to this branch, but I do not seem to have access rights for this repository. I checked that I am indeed using the ssh remote. Could you please take a look?

@juliankuners juliankuners marked this pull request as ready for review April 30, 2025 13:48
@juliankuners
Copy link
Collaborator

I added the migration from poetry2nix to uv2nix. In addition, I added a Python entry point example in order to test shipping applications with uv2nix.

In addition, I updated nixpkgs from nixos-22.05 to nixos-unstable as python.interpreter broke the uv nix develop shell. Updating nixpkgs to a version that is at least as recent as the one used in runtime verification repositories fixed this.

@juliankuners
Copy link
Collaborator

juliankuners commented Apr 30, 2025

Today, @palinatolmach identified that the version of uv in CI/CD is not identical to the version used by uv2nix and the nix develop shell, see here. This can cause the updated uv lock file to potentially be incompatible with uv2nix.

We'll also want to fix this in this pull request prior to merging.

@tothtamas28 tothtamas28 marked this pull request as draft April 30, 2025 17:37
@juliankuners juliankuners changed the title Migrate from poetry to uv [Do not merge yet] Migrate from poetry to uv Apr 30, 2025
@juliankuners juliankuners changed the title [Do not merge yet] Migrate from poetry to uv Migrate from poetry to uv Apr 30, 2025
@tothtamas28
Copy link
Collaborator Author

We'll also want to fix this in this pull request prior to merging.

Marking the PR as draft until then.

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