From 039e9f64889715ab0516be0fff210c99195d1022 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sun, 4 Oct 2020 18:30:20 +0200 Subject: [PATCH] Test: Fixed issue with virtualenv on py34 Details: * The installtest failed on Python 3.4 with latest package levels because virtualenv raises AttributeError (see pypa/virtualenv#1963). Fixed that by excluding virtualenv 20.0.32. Also, excluded virtualenv 20.0.19 to make sure an earlier error where pip did not install on Python 3.4. Signed-off-by: Andreas Maier --- docs/changes.rst | 3 +++ test-requirements.txt | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changes.rst b/docs/changes.rst index 1b8970f..d320a75 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -16,6 +16,9 @@ Released: not yet **Bug fixes:** +* Test: Fixed issue with virtualenv raising AttributeError during installtest + on Python 3.4. (see issue #61) + **Enhancements:** **Cleanup:** diff --git a/test-requirements.txt b/test-requirements.txt index 3d02ab3..6367228 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,7 +21,9 @@ pytest>=4.4.0,!=6.0.0; python_version >= '3.7' # Install test direct dependencies: # virtualenv -virtualenv>=14.0.0; python_version < '3.5' +# Virtualenv 20.0.19 has an issue where it does not install pip on Python 3.4. +# Virtualenv 20.0.32 has an issue where it raises AttributeError on Python 3.4. +virtualenv>=14.0.0,!=20.0.19,!=20.0.32; python_version < '3.5' virtualenv>=16.1.0; python_version >= '3.5' and python_version < '3.8' virtualenv>=20.0.0; python_version >= '3.8'