CI: Unify required dependencies installation#16117
Conversation
dd84710 to
df5b180
Compare
|
Sigh. Having installed both PySide2/Qt5 and Tk seems to produce a conflict in tests on Appveyor. |
22daf59 to
a8a0520
Compare
|
|
||
| # 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.
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?
There was a problem hiding this comment.
We do not. It is installed via pip from travis_all.txt.
There was a problem hiding this comment.
Great! Thanks for the clarification :)
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
That makes sense, but I will leave it for other PR.
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.
should this just go into EXTRAREQS?
There was a problem hiding this comment.
I do not know, probably then GUIs also should go into EXTRAREQS
| - | | ||
| # Install optional dependencies from PyPI. | ||
| # Sphinx is needed to run sphinxext tests | ||
| python -mpip install --upgrade sphinx |
- 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 |
anntzer
left a comment
There was a problem hiding this comment.
could be further refactored, but sure
|
@anntzer I don't understand why you changed the PR title that way? |
|
Oops, sorry, this was due to refined-github/refined-github#2713. Deactivated it, and renamed. |
However,
travis36minver.txtcannot be used, because of some bugsin the pinned versions (something with pandas/pytz/dateutils)
PR Summary
PR Checklist