https://pantsbuild.org/ logo
h

hundreds-breakfast-49010

07/10/2020, 10:04 PM
Looks like
src/python/pants/backend/python/lint/bandit/rules_integration_test.py
is broken on master
h

hundreds-father-404

07/10/2020, 10:11 PM
almost certainly this was
stevedoor
being released 4 hours ago https://pypi.org/project/stevedore/#history
Copy code
mtime = _get_mtime(entry)
  File "/Users/eric/.pex/installed_wheels/00819186ecdcbd98d3ccae67a09c673ec7165d77/stevedore-3.0.0-py3-none-any.whl/stevedore/_cache.py", line 62, in _get_mtime
    s = os.stat(name)
NotADirectoryError: [Errno 20] Not a directory: '/private/tmp/process-execution4QrCGY/bandit.pex/.bootstrap'
h

hundreds-breakfast-49010

07/10/2020, 11:39 PM
hm, is something grabbing the latest version of the stevedore pypi package without specifying a specific versoin?
h

hundreds-father-404

07/10/2020, 11:40 PM
Bandit probably depends on it with a loose constraint
yep, this fixes it. putting up a PR
👍 1
h

happy-kitchen-89482

07/11/2020, 2:19 AM
"Why you should use lockfiles" pt 9,642
w

witty-crayon-22786

07/14/2020, 9:46 PM
worth thinking about how we could automatically lockfile all internal tools.
…and if not automatically (would still need to generate a file that a user could commit), then at least “by default”