summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-04-02 18:19:17 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-04-02 18:19:17 +0200
commit89f881b593c8118ea133a720739620c24b0067a9 (patch)
tree2a8e20242620fe977f50826f6673fe902a521639
parentb1ea381c0b0e4a42358bc7fd7047520f9a02dc0f (diff)
downloadcython-89f881b593c8118ea133a720739620c24b0067a9.tar.gz
Freeze the test dependency packages for Python 2.7 to prevent further deprecations. More and more packages drop Py2 support these days.
-rw-r--r--.travis.yml3
-rw-r--r--test-requirements-27.txt63
-rw-r--r--test-requirements-cpython.txt1
3 files changed, 66 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 876499717..bbcc12f8c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -139,7 +139,8 @@ before_install:
install:
- python -c 'import sys; print("Python %s" % (sys.version,))'
- - if [ -n "${TRAVIS_PYTHON_VERSION##*-dev}" ]; then pip install -r test-requirements.txt $( [ -z "${TRAVIS_PYTHON_VERSION##pypy*}" -o -z "${TRAVIS_PYTHON_VERSION##3.[4789]*}" ] || echo " -r test-requirements-cpython.txt" ) ; fi
+ - if [ -z "${TRAVIS_PYTHON_VERSION##2.7}" ]; then pip install -r test-requirements-27.txt ; fi
+ - if [ -n "${TRAVIS_PYTHON_VERSION##*-dev}" -a -n "${TRAVIS_PYTHON_VERSION##2.7}" ]; then pip install -r test-requirements.txt $( [ -z "${TRAVIS_PYTHON_VERSION##pypy*}" -o -z "${TRAVIS_PYTHON_VERSION##3.[4789]*}" ] || echo " -r test-requirements-cpython.txt" ) ; fi
# - CFLAGS="-O2 -ggdb -Wall -Wextra $(python -c 'import sys; print("-fno-strict-aliasing" if sys.version_info[0] == 2 else "")')" python setup.py build
before_script: ccache -s || true
diff --git a/test-requirements-27.txt b/test-requirements-27.txt
new file mode 100644
index 000000000..6d6d25a79
--- /dev/null
+++ b/test-requirements-27.txt
@@ -0,0 +1,63 @@
+attrs==20.3.0
+backports-abc==0.5
+backports.functools-lru-cache==1.6.3
+backports.shutil-get-terminal-size==1.0.0
+bleach==3.3.0
+configparser==4.0.2
+contextlib2==0.6.0.post1
+coverage==5.5
+decorator==4.4.2
+defusedxml==0.7.1
+entrypoints==0.3
+enum34==1.1.10
+functools32==3.2.3.post2
+futures==3.3.0
+importlib-metadata==2.1.1
+ipaddress==1.0.23
+ipykernel==4.10.1
+ipython==5.10.0
+ipython-genutils==0.2.0
+ipywidgets==7.6.3
+Jinja2==2.11.3
+jsonschema==3.2.0
+jupyter==1.0.0
+jupyter-client==5.3.5
+jupyter-console==5.2.0
+jupyter-core==4.6.3
+line-profiler==3.1.0
+MarkupSafe==1.1.1
+mistune==0.8.4
+nbconvert==5.6.1
+nbformat==4.4.0
+notebook==5.7.10
+numpy==1.16.6
+packaging==20.9
+pandocfilters==1.4.3
+pathlib2==2.3.5
+pexpect==4.8.0
+pickleshare==0.7.5
+pkg-resources==0.0.0
+prometheus-client==0.10.0
+prompt-toolkit==1.0.18
+ptyprocess==0.7.0
+pycodestyle==2.7.0
+Pygments==2.5.2
+pyparsing==2.4.7
+pyrsistent==0.15.7
+python-dateutil==2.8.1
+pyzmq==16.0.4
+qtconsole==4.7.7
+QtPy==1.9.0
+scandir==1.10.0
+Send2Trash==1.5.0
+simplegeneric==0.8.1
+singledispatch==3.6.1
+six==1.15.0
+terminado==0.8.3
+testpath==0.4.4
+tornado==5.1.1
+traitlets==4.3.3
+wcwidth==0.2.5
+webencodings==0.5.1
+widgetsnbextension==3.5.1
+zipp==1.2.0
diff --git a/test-requirements-cpython.txt b/test-requirements-cpython.txt
index c1b46d678..2ab863eaf 100644
--- a/test-requirements-cpython.txt
+++ b/test-requirements-cpython.txt
@@ -4,3 +4,4 @@ line_profiler
pyzmq<17
pyrsistent<0.16
qtconsole<5
+decorator<5