pytest-lazy-fixture icon indicating copy to clipboard operation
pytest-lazy-fixture copied to clipboard

`pytest.lazy_fixture` doesn't exist in 0.4.2

Open youknowone opened this issue 5 years ago • 5 comments

When I downgraded it to 0.4.1, the problem is fixed.

Examples

  • Broken: https://travis-ci.org/youknowone/itunes-iap/jobs/438342600
  • Fixed: https://travis-ci.org/youknowone/itunes-iap/jobs/438538498
  • Patch: https://github.com/youknowone/itunes-iap/commit/ef4a927db45c4f9c9e62ce9653d8a5efff906548

youknowone avatar Oct 08 '18 09:10 youknowone

Yes, pytest_namespace was deprecated and we started to use pytest_configure, but the best way to use pytest_lazyfixture would be to just import it from library: from pytest_lazyfixture import lazy_fixture. Check out also this issue.

I will need to add this information to readme.

TvoroG avatar Oct 08 '18 10:10 TvoroG

I looked this page to solve the problem: https://pypi.org/project/pytest-lazy-fixture/ And it seems it is the README file. (redistribution will be required, right?)

Maybe this is a preference, but I also think it shouldn't be 0.4.2 but 0.5.0. After checking the docs, I also checked the version. And I didn't expect compatibility problem when I saw the last version was 0.4.1

youknowone avatar Oct 08 '18 10:10 youknowone

Yeah, you are right, I've messed up version :) Next time need to be more careful

TvoroG avatar Oct 08 '18 11:10 TvoroG

Duplicate of https://github.com/TvoroG/pytest-lazy-fixture/issues/22 ?

jayvdb avatar Feb 13 '19 01:02 jayvdb

I think #22 is a combination of this issue and #24

TvoroG avatar Feb 13 '19 05:02 TvoroG