SubtleBlade, to uk
@SubtleBlade@mastodon.scot avatar
webology, to random
@webology@mastodon.social avatar

🐍 TIL build-and-inspect-python-package GitHub Action workflow plus some bonus Nox + Tox: https://micro.webology.dev/2024/05/10/til-buildandinspectpythonpackage-github.html

#Python #Nox #Tox #GitHubActions

henryiii, to python
@henryiii@fosstodon.org avatar

Stick these lines at the top of your noxfile.py:

nox.needs_version = ">=2024.3.2"
nox.options.default_venv_backend = "uv|virtualenv"

And install uv to make install-heavy nox jobs go much faster. You can instead try -db uv or setting NOX_DEFAULT_VENV_BACKEND=uv.

angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
angelus_04, to random
@angelus_04@mastodon.gamedev.place avatar
writer13_press0451, to bapcsalescanada
@writer13_press0451@gametoots.de avatar

Today's recommendations from GOG winter sale:

Weirdly Doom series is on sale except og Doom. It's still good option for holidays, just 5 euros plus 30 years of mods.

kevinbowen, to django
@kevinbowen@fosstodon.org avatar

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 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.

But, the setup works & the tests pass!

kevinbowen,
@kevinbowen@fosstodon.org avatar

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

Bummer.

tagesschau, to twitter German
@tagesschau@ard.social avatar

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.

➡️ https://www.tagesschau.de/ausland/amerika/x-twitter-musk-100.html?at_medium=mastodon&at_campaign=tagesschau.de

#X

Claudina,
@Claudina@det.social avatar

@tagesschau 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. entscheidet wer oder was in der Timeline angezeigt wird. #X Nein Danke!

mhoye, to random
@mhoye@mastodon.social avatar

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.

jugmac00,
@jugmac00@fosstodon.org avatar

@mhoye please do not use make for projects

For more than a decade there are tools like and .

mgorny, to programming

I'm starting 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 trivially does) and I've accidentally started testing with CPython at some random point instead.

is no obnoxious.

mgorny, to programming

If you don't supply a tox.ini, then in order to verify a test failure on your 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.

So please support .

And no, is not a solution as it requires a lot of effort from user to make it work.

CelloMomOnCars, to cars
@CelloMomOnCars@mastodon.social avatar

"European Union countries and lawmakers will negotiate "Euro 7" proposals this year on tighter limits for car - for , but not petrol - and for heavy-duty and buses, including nitrogen oxide and monoxide.

The rules would also cover tyre and brake emissions."

This will mean less air pollution and less pollution. Car makers balk, but this is still better for them than a big push for public transit.


https://www.reuters.com/business/autos-transportation/euro-7-emissions-proposals-sequel-europes-carmakers-dont-want-see-2023-03-28/

CelloMomOnCars,
@CelloMomOnCars@mastodon.social avatar

"Lawmakers on Thursday voted to keep the commission's proposal for limits on from cars, including nitrous oxides (NOx), 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 and .

But they weakened limits for trucks, and delayed when the rules will apply."


https://europe.autonews.com/environmentemissions/european-parliament-backs-weaker-euro-7-emissions-rules

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