pypa / pip-audit

Audits Python environments, requirements files and dependency trees for known security vulnerabilities, and can automatically fix them
https://pypi.org/project/pip-audit/
Apache License 2.0
940 stars 62 forks source link

Many tests failing on Windows #757

Closed mathbou closed 2 months ago

mathbou commented 3 months ago

While testings for others PRs, I get a lot of permissionError. Windows does not like moving/replacing files if there aren't properly closed or another process is still on it.

I also get normalization problems on paths used in tests, so I enforced a posix format instead of a basic string cast.

woodruffw commented 2 months ago

A few small nits; otherwise this is looking good! Thanks for your work here @mathbou!