Skip to content

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

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Feb 2, 2022

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.

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.
@stsewd stsewd requested a review from a team as a code owner February 2, 2022 20:53

# jedi 0.18 is incompatible with ipython
# https://github.com/ipython/ipython/issues/12740
jedi>0.17,<0.18 # pyup: ignore
Copy link
Member Author

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

@stsewd stsewd closed this Feb 2, 2022
@stsewd stsewd reopened this Feb 2, 2022
@stsewd
Copy link
Member Author

stsewd commented Feb 2, 2022

Now circle doesn't want to run the jobs for this branch, is like it doesn't want us to fix the problem :D

@stsewd stsewd closed this Feb 2, 2022
@stsewd stsewd deleted the sep-debug-reaq branch February 2, 2022 21:22
@stsewd stsewd restored the sep-debug-reaq branch February 2, 2022 21:22
@stsewd stsewd deleted the sep-debug-reaq branch February 2, 2022 21:22
@stsewd stsewd restored the sep-debug-reaq branch February 2, 2022 21:22
@stsewd stsewd reopened this Feb 2, 2022
Copy link
Member

@ericholscher ericholscher left a 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
Copy link
Member

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.
Copy link
Member

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.

Copy link
Member

@humitos humitos left a 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!

@humitos humitos merged commit 3d4d3cb into master Feb 3, 2022
@humitos humitos deleted the sep-debug-reaq branch February 3, 2022 14:00
@humitos
Copy link
Member

humitos commented Feb 3, 2022

Do we plan to keep this solution or we plan to rever it once pip's problem is solved?

@stsewd
Copy link
Member Author

stsewd commented Feb 3, 2022

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.

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

Successfully merging this pull request may close these issues.

3 participants