-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Mnt drop py36 #17662
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
Mnt drop py36 #17662
Changes from all commits
dd61ed1
cfccfb8
60b03f1
0828a91
2295a0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,14 @@ environment: | |
# In theory we could use a single CONDA_INSTALL_LOCN because we construct | ||
# the envs anyway. But using one for the right python version hopefully | ||
# making things faster due to package caching. | ||
- PYTHON_VERSION: "3.6" | ||
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64" | ||
- PYTHON_VERSION: "3.7" | ||
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64" | ||
TEST_ALL: "no" | ||
EXTRAREQS: "-r requirements/testing/travis_extra.txt" | ||
- PYTHON_VERSION: "3.7" | ||
- PYTHON_VERSION: "3.8" | ||
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64" | ||
TEST_ALL: "no" | ||
EXTRAREQS: "-r requirements/testing/travis_extra.txt" | ||
|
||
# We always use a 64-bit machine, but can build x86 distributions | ||
# with the PYTHON_ARCH variable | ||
|
@@ -55,19 +56,15 @@ install: | |
# For building, use a new environment | ||
- conda create -q -n test-environment python=%PYTHON_VERSION% tk | ||
- activate test-environment | ||
# pull pywin32 from conda because on py38 there is something wrong with finding | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that because of wrong conda above? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think so, we are still ending up with a py38 env and it should be de-coupled from Python version of the "base" conda enivorment. I think this has to do with Python tightening up its rules about how dlls are discovered. There are a bunch of related issues on the pywin32 issues tracker. |
||
# the dlls when insalled from pip | ||
- conda install -c conda-forge pywin32 | ||
- echo %PYTHON_VERSION% %TARGET_ARCH% | ||
# Install dependencies from PyPI. | ||
- 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 | ||
|
||
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3 | ||
# https://github.com/matplotlib/matplotlib/issues/9176 | ||
- python -c "import sys; sys.exit(not (3,) < sys.version_info < (3,6,3))" && ( | ||
curl -sL https://github.com/python/cpython/pull/1224.patch | | ||
patch -fsup 1 -d %CONDA_PREFIX% ) || cmd /c "exit /b 0" | ||
|
||
# Show the installed packages + versions | ||
- conda list | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Increase minimum supported versions of Python and dependencies | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
||
For Maptlotlib 3.4 the :ref:`minimum supported versions | ||
<install_requirements>` are being bumped | ||
|
||
+------------+-----------------+---------------+ | ||
| Dependency | min in mpl3.3 | min in mpl3.4 | | ||
+============+=================+===============+ | ||
| Python | 3.6 | 3.7 | | ||
+------------+-----------------+---------------+ | ||
| dateutil | 2.1 | 2.2.1 | | ||
+------------+-----------------+---------------+ | ||
| numpy | 1.15 | 1.16 | | ||
+------------+-----------------+---------------+ | ||
| pyparsing | 2.0.3 | 2.2.1 | | ||
+------------+-----------------+---------------+ | ||
|
||
|
||
This consistent with our :ref:`min_deps_policy` and `NEP29 | ||
<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Extra pip requirements for the minimum-version travis run | ||
|
||
cycler==0.10 | ||
python-dateutil==2.7 | ||
numpy==1.16.0 | ||
pyparsing==2.2.1 | ||
kiwisolver==1.0.1 |
This file was deleted.
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.
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 doesn't work unless we update the windows image we are using.