Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest.lazy_fixture doesn't exist in 0.4.2 #30

Open
youknowone opened this issue Oct 8, 2018 · 5 comments
Open

pytest.lazy_fixture doesn't exist in 0.4.2 #30

youknowone opened this issue Oct 8, 2018 · 5 comments

Comments

@youknowone
Copy link

youknowone commented Oct 8, 2018

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

Examples

@TvoroG
Copy link
Owner

TvoroG commented Oct 8, 2018

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.

@youknowone
Copy link
Author

youknowone commented Oct 8, 2018

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

@TvoroG
Copy link
Owner

TvoroG commented Oct 8, 2018

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

@jayvdb
Copy link
Contributor

jayvdb commented Feb 13, 2019

Duplicate of #22 ?

@TvoroG
Copy link
Owner

TvoroG commented Feb 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants