testing-cabal / testtools

Testtools - tasteful testing for python
https://testtools.readthedocs.io/en/latest/
Other
94 stars 88 forks source link

Missing dependency on fixtures since 2.7.0 #367

Closed mariolenz closed 10 months ago

mariolenz commented 10 months ago

I ran into a problem because installing testtools via pip pulled in fixtures as a dependency in version 2.6.0, but doesn't since 2.7.0 (as far as I can see).

I wonder if this is intentionally or if it is a bug. It's OK if you want it to be this way, I'd just like to know. And, anyway, maybe it is a bug and you're unaware of it as yet.

Would be great if you could let me know :smiley:

jelmer commented 10 months ago

The testtools dependency on fixtures was a private one (but python has no way of distinguishing between private and republished dependencies); if you're using fixtures, you should have an explicit dependency on it. As far as I can tell, the code you're referring to isn't calling testtools but importing fixtures itself.

(please reopen if any of those observations are incorrect)