-
Notifications
You must be signed in to change notification settings - Fork 347
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
Exception in configuring venv when the project has a setup.py
file
#1249
Comments
Hi @mrc0mmand, that does look like a bug, thanks for reporting it 🙏 Let me see if I can come up with a fix later today. |
I wasn't able to figure out what was going on, but will look more at it Monday. To unblock you, you can do the dependency installation manually as described here: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#analyzing-python-dependencies |
Hey, thanks for looking into it and no worries, it doesn't really affect any of the projects I tried it with so far. |
Great to hear 👍 I've found the underlying cause. As described here, when using Ubuntu 22.04 with new enough versions of Next release after I've created a temporary fix for this in #1257. again, thanks for reporting 💪 (our automated testing didn't catch this, since it's using |
Thank you! |
Hey!
When playing around with python CodeQL analysis I stumbled across an exception during the init phase:
Taken from: https://github.com/systemd/python-systemd/actions/runs/3062293076/jobs/4943107761#step:3:439
Also appears in: https://github.com/systemd/mkosi/actions/runs/3051938808/jobs/4920754739#step:3:443
It doesn't seem to be fatal (at least in the projects I currently tested it with), but it generates a warning on the results overview page:
This seems to happen only when the project has a
setup.py
file; in projects without it the relevant step fails cleanly:See: https://github.com/systemd/systemd/actions/runs/3061829175/jobs/4942084517#step:3:459
or: https://github.com/systemd/systemd-centos-ci/actions/runs/3060692901/jobs/4939517444#step:3:424
The text was updated successfully, but these errors were encountered: