-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
CI: Don't install debug tools when running tests #8882
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
Conversation
pip is freezing when installing ipdb, but we also shouldn't install these in our CI. Installing them from a separate file fixes the issues with pip's dependency resolver.
|
||
# jedi 0.18 is incompatible with ipython | ||
# https://github.com/ipython/ipython/issues/12740 | ||
jedi>0.17,<0.18 # pyup: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this problem was already fixed in the latest version we install
Now circle doesn't want to run the jobs for this branch, is like it doesn't want us to fix the problem :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
deps = -r{toxinidir}/requirements/testing.txt | ||
deps = | ||
-r{toxinidir}/requirements/testing.txt | ||
debug: -r{toxinidir}/requirements/debug.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't know about this syntax.
|
||
The ``tox`` configuration has the following environments configured. You can | ||
target a single environment to limit the test suite: | ||
|
||
py38 | ||
Run our test suite using Python 3.8 | ||
|
||
py38-debug | ||
Same as ``py38``, but there are some useful debugging tools available in the environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth defining what is installed? Or maybe linking to the file? Not necessary though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to fix this!
Do we plan to keep this solution or we plan to rever it once pip's problem is solved? |
Hmm good question, we discussed with Eric that it was weird that we install debug tools in our CI, but I see this also adding some complexity. |
pip is freezing when installing ipdb,
but we also shouldn't install these in our CI.
Installing them from a separate file fixes the issues
with pip's dependency resolver.