ucodery, to python
@ucodery@fosstodon.org avatar

Found enough free time to finally publish how I keep all my Python environments sane https://blog.ucodery.com/posts/managing-my-python-environments/

mgorny, to gentoo Polish
@mgorny@pol.social avatar

Po otrzymaniu kolejnego zgłoszenia błędu, że pythonowa paczka (tym razem ) nie buduje się, bo użytkownik nie ma dostatecznie nowej wersji paczki , zgłosiłem wniosek o to, by uczyniło weryfikację "trove classifiers" opcjonalną, albo przynajmniej nie traktowało jej niepowodzenia jako błędu.

W tej chwili z tym się po prostu nie da ujechać. Technicznie rzecz biorąc, każda paczka musiałaby deklarować minimalną wersję paczki trove-classifiers, która dostarcza niezbędne im identyfikatory, a my musielibyśmy kopiować te specyfikacje do ebuildów w . Jednakże to mało prawdopodobne, więc w praktyce zmuszeni jesteśmy sprawdzać wszystkie identyfikatory, używane przez paczki, i dopasowywać je do wersji trove-classifiers. Albo — bardziej realistycznie — zawsze wymagać najnowszej dostępnej wersji, i mieć nadzieję, że nie zapomnimy regularnie aktualizować tej zależności.

https://github.com/pypa/hatch/issues/1368
https://bugs.gentoo.org/928447

lilyf, to random
@lilyf@fosstodon.org avatar

I just published a new tool for managing Python interpreters and virtualenvs called lilyenv. It is written in Rust and can be installed via cargo install lilyenv.

I wrote lilyenv as a replacement for my previous workflow using virtualenvwrapper and pyenv. The main goal is to make it easy to manage virtualenvs when working on a library that needs to support multiple python versions.

https://crates.io/crates/lilyenv
https://github.com/LilyFoote/lilyenv

publicvoit, to python
@publicvoit@graz.social avatar

I'm starting to question my preference for for writing tools. 😔

After facing too much pain, I had to learn how to use a couple of years ago.

Now it seems that this is outdated & one potential candidate is which ought to work somehow with which itself is not compatible to virtualenv.

I could not find any working setup.py->poetry tool yet. So it seems to be the case that I have to manually re-write ~50 meta-data files to yet another format. 😩

alatitude77, to python
@alatitude77@mastodon.social avatar
nixCraft, to random
@nixCraft@mastodon.social avatar

This is why we used Docker or another container tech like LXD or FreeBSD jails. There is no need to break the whole thing because a newer version of Python or PHP is installed on your Unix or Linux server.

lanefu,

@b_draad @kkarhan @nixCraft

The bummer is there's not enough direct messaging to entry-level users that the first rule of is NEVER USE SYSTEM python.

It takes getting burned several times and then getting screamed at from a friend to start going down the virtualenv, pyenv, etc rabbit holes.

Bloggers aren't doing people any favors when they introduce users with a simple "pip install" and not a massive disclaimer up front either.

zhenech, to programming
@zhenech@chaos.social avatar

Is there a setting to make pip hard-fail when trying to install outside a virtualenv?

jugmac00, to programming
@jugmac00@fosstodon.org avatar

In case you still use Python 2.7, 3.5 or 3.6, please note that 20.22.0 dropped support for these EOL versions.

As uses under its hood, it is also affected, at least when you want to continue using the above mentioned EOL versions.

If so, please have a look at our FAQ

https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • GTA5RPClips
  • provamag3
  • ethstaker
  • InstantRegret
  • Leos
  • normalnudes
  • everett
  • khanakhh
  • osvaldo12
  • cisconetworking
  • modclub
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines