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

Python

6413 readers
3 users here now

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

πŸ“… Events

PastNovember 2023

October 2023

July 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
[–] jsalvador 6 points 10 months ago (1 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 10 months ago (1 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 10 months ago (1 children)
[–] jsalvador 2 points 10 months ago (1 children)

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

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

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

Edit: Rye does too!