Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python dependencies installation failing #4

Closed
skoenig opened this issue May 3, 2023 · 1 comment · Fixed by #5
Closed

Python dependencies installation failing #4

skoenig opened this issue May 3, 2023 · 1 comment · Fixed by #5
Labels
bug Something isn't working

Comments

@skoenig
Copy link

skoenig commented May 3, 2023

Hi, I like your Github action and use it for my own profile page, but since ~2 weeks it is failing due while setting up the Python dependencies with pip. Seems like the vendorized certifi-2022.6.15.tar.gz is depending on a setuptools version which is not (anymore) available. Perhaps switching to a Docker container action helps to stabilize dependencies. Here are the logs from my action run:

2023-05-03T11:32:47.1496668Z ##[group]Run ChipWolf/generate-badges@main
2023-05-03T11:32:47.1496916Z with:
2023-05-03T11:32:47.1497121Z   output: README.md.tpl
2023-05-03T11:32:47.1497344Z   style: flat-square
2023-05-03T11:32:47.1497976Z   slugs: amazonaws
apache
apachemaven
django
docker
elasticsearch
flask
git
githubactions
gnubash
go
googlecloud
grafana
heroku
icinga
javascript
jenkins
kubernetes
linux
mariadb
nginx
nodedotjs
npm
packer
php
postgresql
prometheus
pulumi
puppet
python
redis
ruby
saltproject
subversion
terraform
travisci
typescript
vagrant

2023-05-03T11:32:47.1498587Z   format: markdown
2023-05-03T11:32:47.1498804Z   id: default
2023-05-03T11:32:47.1498998Z   sort: hilbert
2023-05-03T11:32:47.1499192Z   random: 1
2023-05-03T11:32:47.1499384Z   verify: false
2023-05-03T11:32:47.1499566Z ##[endgroup]
2023-05-03T11:32:47.3526684Z [command]/opt/hostedtoolcache/Python/3.8.16/x64/bin/pip install --requirement /home/runner/work/_actions/ChipWolf/generate-badges/main/dist/src/requirements.txt --no-index --find-links=/home/runner/work/_actions/ChipWolf/generate-badges/main/dist/vendor
2023-05-03T11:32:48.1605322Z Looking in links: /home/runner/work/_actions/ChipWolf/generate-badges/main/dist/vendor
2023-05-03T11:32:48.1808053Z Processing /home/runner/work/_actions/ChipWolf/generate-badges/main/dist/vendor/certifi-2022.6.15.tar.gz (from -r /home/runner/work/_actions/ChipWolf/generate-badges/main/dist/src/requirements.txt (line 7))
2023-05-03T11:32:48.1948160Z   Installing build dependencies: started
2023-05-03T11:32:48.7524650Z   Installing build dependencies: finished with status 'error'
2023-05-03T11:32:48.7598300Z   error: subprocess-exited-with-error
2023-05-03T11:32:48.7598942Z   
2023-05-03T11:32:48.7599863Z   × pip subprocess to install build dependencies did not run successfully.
2023-05-03T11:32:48.7618123Z   │ exit code: 1
2023-05-03T11:32:48.7618987Z   ╰─> [3 lines of output]
2023-05-03T11:32:48.7620409Z       Looking in links: /home/runner/work/_actions/ChipWolf/generate-badges/main/dist/vendor
2023-05-03T11:32:48.7620984Z       ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
2023-05-03T11:32:48.7621406Z       ERROR: No matching distribution found for setuptools>=40.8.0
2023-05-03T11:32:48.7621759Z       [end of output]
2023-05-03T11:32:48.7622169Z   
2023-05-03T11:32:48.7622539Z   note: This error originates from a subprocess, and is likely not a problem with pip.
2023-05-03T11:32:48.7626383Z error: subprocess-exited-with-error
2023-05-03T11:32:48.7626822Z 
2023-05-03T11:32:48.7627291Z × pip subprocess to install build dependencies did not run successfully.
2023-05-03T11:32:48.7628297Z │ exit code: 1
2023-05-03T11:32:48.7628739Z ╰─> See above for output.
2023-05-03T11:32:48.7629020Z 
2023-05-03T11:32:48.7629280Z note: This error originates from a subprocess, and is likely not a problem with pip.
2023-05-03T11:32:48.8375615Z ##[error]The process '/opt/hostedtoolcache/Python/3.8.16/x64/bin/pip' failed with exit code 1
2023-05-03T11:32:48.8469614Z ##[group]Run muesli/readme-scribe@master
2023-05-03T11:32:48.8469944Z with:
2023-05-03T11:32:48.8470198Z   template: README.md.tpl
2023-05-03T11:32:48.8470493Z   writeTo: README.md
2023-05-03T11:32:48.8470815Z env:
2023-05-03T11:32:48.8471151Z   pythonLocation: /opt/hostedtoolcache/Python/3.8.16/x64
2023-05-03T11:32:48.8471637Z   GITHUB_TOKEN:  ***
2023-05-03T11:32:48.8471918Z ##[endgroup]
@ChipWolf
Copy link
Owner

Agree, happy to accept a PR.

@ChipWolf ChipWolf added bug Something isn't working help wanted Extra attention is needed and removed help wanted Extra attention is needed labels May 15, 2023
This was referenced May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants