-
Notifications
You must be signed in to change notification settings - Fork 506
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-tornasync
appears to be a *run-time* dependency?
#728
Comments
I'm wondering if this is jupyter_server: How can we reproduce this? |
Hi! Please find hereafter the reproducing steps @maartenbreddels Installing I'm not sure that an entrypoint can be conditionally generated for an extras_require entry. I hope this help!
Using a cat simple_test.py
def test_assert_true():
assert True conda create -n bug_pytest -c conda-forge pytest
conda activate bug_pytest
pytest simple_test.py # <-- runs fine
conda install -c conda-forge voila # or jupyter_server
pytest simple_test.py # <-- now throws an error
...
ImportError: Error importing plugin "pytest_tornasync": No module named 'pytest_tornasync'
pip install pytest_tornasync # Not packaged with conda
pytest simple_test.py # <-- ImportError fixed |
I think this should be fixed in jupyter_server now ? |
Adding
voila
as a dependency to aconda
meta-package I'm building breaks our CI with the below error:Specifying
pytest_tornasync
as a direct dependency then fixes the CI.The text was updated successfully, but these errors were encountered: