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

feat: uv support, py 3.13 #1216

Merged
merged 12 commits into from
Nov 18, 2024
Merged

feat: uv support, py 3.13 #1216

merged 12 commits into from
Nov 18, 2024

Conversation

iloveitaly
Copy link
Contributor

Curious what you think of this approach to supporting uv. Happy to add some tests for this as well, wanted to check on the approach before I built out the tests.

Fixes: #1128

Copy link
Contributor

@JakeCooper JakeCooper left a comment

Choose a reason for hiding this comment

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

I mean this looks pretty good to me! Wanna add some tests and a release label?

Copy link
Contributor

@coffee-cup coffee-cup left a comment

Choose a reason for hiding this comment

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

Looking good! Agree with @JakeCooper about adding an example (examples/python-uv) to test the plan generation for this update

src/providers/python.rs Outdated Show resolved Hide resolved
- Add `snapshot_kind: text` to snapshots
- Change `postgresql` to `postgresql.dev` in dependencies
@iloveitaly
Copy link
Contributor Author

Alright, build is finally passing here. I needed to make some additional updates to properly support the latest nixpkgs version (which included py 3.13).

@coffee-cup coffee-cup added the release/minor Author minor release label Nov 15, 2024
Copy link
Contributor

@coffee-cup coffee-cup left a comment

Choose a reason for hiding this comment

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

Thanks for this feature and uv support! What additional updates do you need to make?

Comment on lines +300 to +301
// the python package is extracted from pyproject.toml, but this can often not be the desired entrypoint
// for this reason we prefer main.py to the module heuristic used in the pyproject.toml logic
Copy link
Contributor

Choose a reason for hiding this comment

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

This is nice 👍

@iloveitaly
Copy link
Contributor Author

Thanks for this feature and uv support! What additional updates do you need to make?

Nothing else! We are good to go on this one.

@coffee-cup coffee-cup merged commit 3077a7a into railwayapp:main Nov 18, 2024
102 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/minor Author minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better Python provider
3 participants