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

Missing py.process #12206

Closed
Flamefire opened this issue Apr 11, 2024 · 2 comments
Closed

Missing py.process #12206

Flamefire opened this issue Apr 11, 2024 · 2 comments

Comments

@Flamefire
Copy link

It seems that pytest does no longer include the full py which is seemingly in maintenance mode and shouldn't be used anymore?

However the pytest plugin pytest-forked uses it but now fails to import py.process to use ForkedFunc: pytest-dev/pytest-forked#88

@The-Compiler
Copy link
Member

pytest-forked depends on py, so if you don't have the full py installed, that's an issue with how you install it.

The compatibility shim in pytest itself only exists for py.path, since pytest testsuites might still use it. It's not its aim to provide a full copy of py.

@The-Compiler The-Compiler closed this as not planned Won't fix, can't repro, duplicate, stale Apr 11, 2024
@Flamefire
Copy link
Author

I see thanks! Issue here was that we have a base installation with pytest and py and an extra installation with pytest only. And the import picks up the shim-py in the extra not the full module in the base.

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

2 participants