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

fix weird bandit errors from circle ci #707

Merged
merged 0 commits into from
Oct 5, 2022
Merged

Conversation

ghbren
Copy link
Contributor

@ghbren ghbren commented Oct 5, 2022

Fixed weird bandit errors, like

raceback (most recent call last):
  File "/root/.local/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
    with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/c0ae7819d13f155229993453594e1ca065bae25b5a38401db52942abea84eca9'

These errors could only be reproduced from circle ci.

Solution described in PyCQA/bandit#730

@ghbren ghbren merged this pull request into master Oct 5, 2022
@ghbren ghbren deleted the fix_weird_bandit_err branch October 5, 2022 22:47
@ghbren ghbren mentioned this pull request Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants