After a week of self-imposed lockdown & feeling like an utter idiot & imposter the entire time, I think that I've finally managed to build up a #Docker#Django Poetry solution that can run as a non-root user.
After using Poetry for a year+, I really don't like/have a grasp on how it deals with venvs within Docker.
I managed to get the Poetry installation out from under the root user into /opt/poetry. However, I still can't figure out how to manage to get the venv installation out from under the Poetry installation.
I've tried so many different ways of breaking this to give me more info; but, for the time being, the venv lives under/inside the Poetry install dir.
The more important thing was getting ownership changed to permit running tests under #nox
Die Plattform X will wieder politische Werbung erlauben
Die Social-Media-Plattform X - ehemals Twitter - kippt das Verbot politischer Werbung. Besitzer Musk begründete den Schritt mit der Redefreiheit, gleichzeitig versprach er ein Vorgehen gegen Fake-News.
@tagesschau#Xitter#noX#Twitter sperrt Accounts, die vermehrt Hasskommentare melden, anstatt die Hasskommentare zu löschen. Darüber hinaus ist es durch die Abschaffung der Blockieren-Funktion nicht mehr möglich Hassverbreiter:innen zu blockieren. #Musk entscheidet wer oder was in der Timeline angezeigt wird. #X Nein Danke!
The most common thing I want to say to GitHub projects is "Please use Make".
It's old as dirt and the syntax isn't great, but even in its simplest use being able to reduce a wall of shell copypasta to "make whatever" is such a breath of fresh air.
Get yourself to where "install", "install-devenv", "build" and "run all my tests" are all dead easy, zero chaff, no typos simple. And if you find yourself re-using some long command chain, add it to the makefile and you're done. It is so good.
I'm starting #git bisect over for the fourth time because again I forgot that I'm required to run:
pypy3 /usr/bin/nox ...
because this beep of beep doesn't accept PyPy3 as a target (like #tox trivially does) and I've accidentally started testing with CPython at some random point instead.
If you don't supply a tox.ini, then in order to verify a test failure on your #Python package, I need to create a venv, figure out how to install dependencies, figure out how to run the test suite. Now multiply this by dozens of packages, then by dozens of different people needing to do the same thing, and you can imagine how much harm this does.
"European Union countries and lawmakers will negotiate "Euro 7" proposals this year on tighter limits for car #emissions - for #diesel#cars, but not petrol - and for heavy-duty #trucks and buses, including nitrogen oxide and #carbon monoxide.
The rules would also cover tyre and brake emissions."
This will mean less air pollution and less #microplastics pollution. Car makers balk, but this is still better for them than a big push for public transit.
"Lawmakers on Thursday voted to keep the commission's proposal for limits on #pollution from cars, including nitrous oxides (NOx), #ParticulateMatter and carbon monoxide. That proposal, released in November 2022, essentially retains the limits from Euro 6, but also includes for the first time limits on particulate emissions from #brakes and #tires.
But they weakened #NOx limits for trucks, and delayed when the rules will apply."