Email or username:

Password:

Forgot your password?
Foone🏳️‍⚧️

oh sweet beezus. The setup-python github action checks if you're on linux, and then if you are, it checks if you're on 18.04, 20.04, 22.04.

So, you know, if you run any linux that's not named "*buntu", it will completely fail to work

13 comments
Foone🏳️‍⚧️

I'm using fucking debian here! it's basically the same thing as ubuntu, but since the version name is wrong, NOPE

Foone🏳️‍⚧️

the ticket is closed because there is a workaround:

just run ubuntu lol

Foone🏳️‍⚧️

I imagine this problem happens because 95% of github actions users are using the hosted runners (which are ubuntu if you pick linux) and for the 5% who use self-hosted runners, 95% of them use ubuntu

Foone🏳️‍⚧️

so it's just the 0.25% of us who use self-hosted runners on non-debian that are fucked

Foone🏳️‍⚧️

oh wait, it only applies to people using python. So... less than 0.25% I'm sure

Foone🏳️‍⚧️

computers were a mistake.
linux doubly so.
ubuntu triply so.
git quadruply so.
github quintuply so.

Foone🏳️‍⚧️

github actions sextuply so
yaml septuly so

Foone🏳️‍⚧️

I tried removing the "setup python" setup (figuring just having a working python installed already should be good) but then the next step fails because it can't find "python", since the binary is named "python3", and they're not symlinked together, but setup-python fixes this

Foone🏳️‍⚧️

I'm just gonna patch lsb_release so that it says I'm on "Mozilla Debian GNU/Linux 11 (bullseye), like Ubuntu 22.04.2 LTS"

Foone🏳️‍⚧️ replied to Foone🏳️‍⚧️

fun fact:
to run python in github actions, on windows, some typescript code calls a powerscript command to find out what windows it is, so it knows which python to use.

that's three different languages. four if you count the cmd.exe shell

Foone🏳️‍⚧️ replied to Foone🏳️‍⚧️

I think I'm gonna rethink our "move CI stuff to github actions" plans. This one annoyance is proving so hard to fix properly that I'm thinking it'll just be less work to go back to Jenkins

Foone🏳️‍⚧️ replied to Foone🏳️‍⚧️

so I got it "working" on github actions.

and it ran for 26 minutes
and then I looked closer and it turns out it was just saying that it couldn't verify the authenticity of github and was waiting for someone to interactively press "yes" on a terminal

Go Up