hynek / build-and-inspect-python-package

Build and Inspect Python Packages in GitHub Actions
MIT License
181 stars 13 forks source link

Error when using action on ubuntu-24.04 runner `tree: command not found` #123

Closed afuetterer closed 6 months ago

afuetterer commented 6 months ago

Hi,

I just updated a few of my CI workflows to test the new ubuntu-24.04 runner image. Everything seems to be working fine so far, except baipp.

I get:

/home/runner/work/_temp/e9988dda-50b6-4f3e-8c69-acb0fb4eae2c.sh: line 6: tree: command not found
Error: Process completed with exit code 127.

See: https://github.com/afuetterer/oaipmh-scythe/actions/runs/9125209745/job/25090924390#step:3:270

Can you reproduce this or is this is somehow my fault? Of course I can just use ubuntu-22.04 or ubuntu-latest.

hynek commented 6 months ago

looks like in noble it’s a separate package https://packages.ubuntu.com/search?keywords=tree&searchon=names&suite=noble&section=all

You can install it yourself as a quick fix for now – I’ll try to fix it, but I’m at PyCon rn.

afuetterer commented 6 months ago

Thanks for the feedback, it is not urgent. I can wait for a fix or follow your recommendation.

Enjoy PyCon!

rmartin16 commented 6 months ago

FWIW, the same issue occurs on macOS...although, I'm thinking this action is intended to only support runners using ubuntu or similar.

hynek commented 6 months ago

it is indeed! CleanShot 2024-05-26 at 18 47 40@2x

afuetterer commented 6 months ago

Awesome, thanks.

hynek commented 6 months ago

2.6 is tagged and released

rmartin16 commented 6 months ago

FYI:

afuetterer commented 6 months ago

I guess you can revert the changes then?