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

Python

6356 readers
2 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

top 7 comments
sorted by: hot top controversial new old
[–] jsalvador@programming.dev 6 points 9 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.

[–] SpeakinTelnet@sh.itjust.works 6 points 9 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.

[–] naught@sh.itjust.works 2 points 9 months ago (1 children)
[–] jsalvador@programming.dev 2 points 9 months ago (1 children)

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

[–] naught@sh.itjust.works 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!

[–] MegaMacSlice@programming.dev 6 points 9 months ago (1 children)