this post was submitted on 20 Jan 2024
25 points (100.0% liked)

Python

5396 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

Big update to rye is out: 0.18.0. Lots of bug fixes, lock files with source references for better docker support, global Python shims now pick up .python-version, automatic venv recreation on move. https://github.com/mitsuhiko/rye/discussions/544

via https://hachyderm.io/@mitsuhiko/111790331145932934

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 9 months ago (4 children)

Interesting and quite awesome. Hope it can grow enough to be mature soon and I can start using this instead of Poetry.

[–] [email protected] 6 points 9 months ago (3 children)

I've been using hatch lately and being able to setup dependencies, packaging, ruff, and black all in a package.toml and not having to setup virtual environment is really nice. I'd recommend a try.

[–] [email protected] 2 points 9 months ago (2 children)
[–] [email protected] 2 points 9 months ago (1 children)

That's how Poetry works. I guess all modern ones work like this.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Hatch appears to roll in some pyenv features too, installing and using various python versions.

Edit: Rye does too!