Python with Poetry Dependency Failure (pytest-cov)


I’ve been trying to update some Python projects that I’ve got setup with direnv, nix-shell, and poetry. It’s been working great but recently (not sure if related to my switch to 20.09) I get the following error when doing a direnv reload in my project directory:

ERROR: Could not find a version that satisfies the requirement pytest>=4.6 (from pytest-cov==2.10.1) (from versions: none)
ERROR: No matching distribution found for pytest>=4.6 (from pytest-cov==2.10.1)

I’ve got a pull request showcasing this problematic configuration at and am sure it’s something silly I’m doing or not doing. I’d appreciate if anyone can verify that this environment does or does not work for them and any ideas as to how to resolve this.


Alex Brandt


1 Like

That looks promising. I’ll verify tomorrow. Thanks for the assistance!