-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
CI: Unify required dependencies installation #16117
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
dd84710
to
df5b180
Compare
Sigh. Having installed both PySide2/Qt5 and Tk seems to produce a conflict in tests on Appveyor.
|
All reactions
Sorry, something went wrong.
22daf59
to
a8a0520
Compare
@@ -84,7 +84,7 @@ test_script: | |||
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0' | |||
|
|||
# this are optional dependencies so that we don't skip so many tests... | |||
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex pillow | |||
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex |
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.
We seem to have lost pillow here as an optional dependency. Do you have a sense of many tests are not being ran as a result?
Sorry, something went wrong.
All reactions
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.
We do not. It is installed via pip from travis_all.txt
.
Sorry, something went wrong.
All reactions
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.
Great! Thanks for the clarification :)
Sorry, something went wrong.
All reactions
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.
Actually, I think we should just delete cycler/numpy/pillow from travis_all.txt, given that we can rely on pip to install them (they're all straight dependencies). (and travis36minver will pin the oldest versions we want to test on that single test instance)
Sorry, something went wrong.
All reactions
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.
That makes sense, but I will leave it for other PR.
Sorry, something went wrong.
All reactions
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 @Kojoley !
Sorry, something went wrong.
All reactions
a8a0520
to
0e018ce
Compare
- python -mpip install --upgrade -r requirements/testing/travis_all.txt %EXTRAREQS% %PINNEDVERS% | ||
# Install optional dependencies from PyPI. | ||
# Sphinx is needed to run sphinxext tests | ||
- python -mpip install --upgrade sphinx |
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.
should this just go into EXTRAREQS?
Sorry, something went wrong.
All reactions
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.
I do not know, probably then GUIs also should go into EXTRAREQS
Sorry, something went wrong.
All reactions
@@ -133,6 +133,8 @@ install: | |||
python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS | |||
- | | |||
# Install optional dependencies from PyPI. | |||
# Sphinx is needed to run sphinxext tests | |||
python -mpip install --upgrade sphinx |
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.
as above
Sorry, something went wrong.
All reactions
- Do not update default Conda packages (saves 5 minutes on 3.6 job) - Do not install Freetype2 from Conda (we do not use it anyway) - Install dependencies via pip, the same way as it's done on Travis. However, `travis36minver.txt` cannot be used, because of some bugs in the pinned versions (something with pandas/pytz/dateutils) - Test sphinext on Travis too
0e018ce
to
9c8c743
Compare
@tacaswell @anntzer Are we good on merging this PR |
All reactions
Sorry, something went wrong.
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.
could be further refactored, but sure
Sorry, something went wrong.
All reactions
@anntzer I don't understand why you changed the PR title that way? |
All reactions
Sorry, something went wrong.
Oops, sorry, this was due to refined-github/refined-github#2713. Deactivated it, and renamed. |
All reactions
Sorry, something went wrong.
Successfully merging this pull request may close these issues.
None yet
However,
travis36minver.txt
cannot be used, because of some bugsin the pinned versions (something with pandas/pytz/dateutils)
PR Summary
PR Checklist