Skip to content

Commit

Permalink
Fix e2e-tests
Browse files Browse the repository at this point in the history
The pip version for 'conflicting' profile is pinned to version 20.2.3
ie. before the new resolver that prevents conflicts.
  • Loading branch information
naiquevin committed Dec 20, 2020
1 parent fa35c58 commit c5c6dc2
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 34 deletions.
6 changes: 6 additions & 0 deletions tests/e2e-tests
Expand Up @@ -6,6 +6,10 @@ PROFILE=$1
PYTHON_EXE=${PYTHON_EXE:-python3.6}
PIP_VERSION=${PIP_VERSION:-latest}

if [ "$PROFILE" == "conflicting" ]; then
PIP_VERSION=20.2.3
fi

cd profiles/$PROFILE

echo "Profile dir: $(pwd)"
Expand All @@ -22,6 +26,8 @@ pip=$env_dir/bin/pip

if [ "$PIP_VERSION" == "latest" ]; then
$pip install -U pip
else
$pip install pip==$PIP_VERSION
fi

# Install requirements
Expand Down
4 changes: 2 additions & 2 deletions tests/profiles/conflicting/default.out
Expand Up @@ -5,5 +5,5 @@ Flask==0.10.1
- Werkzeug [required: >=0.7, installed: 0.11.2]
pipdeptree==2.0.0b1
- pip [required: >=6.0.0, installed: 20.2.3]
setuptools==50.3.0
wheel==0.35.1
setuptools==51.0.0
wheel==0.36.2
4 changes: 2 additions & 2 deletions tests/profiles/conflicting/reverse.out
Expand Up @@ -5,7 +5,7 @@ MarkupSafe==0.22
- Flask==0.10.1 [requires: Jinja2>=2.4]
pip==20.2.3
- pipdeptree==2.0.0b1 [requires: pip>=6.0.0]
setuptools==50.3.0
setuptools==51.0.0
Werkzeug==0.11.2
- Flask==0.10.1 [requires: Werkzeug>=0.7]
wheel==0.35.1
wheel==0.36.2
6 changes: 3 additions & 3 deletions tests/profiles/cyclic/default.out
@@ -1,4 +1,4 @@
pipdeptree==2.0.0b1
- pip [required: >=6.0.0, installed: 20.2.3]
setuptools==50.3.0
wheel==0.35.1
- pip [required: >=6.0.0, installed: 20.3.3]
setuptools==51.0.0
wheel==0.36.2
22 changes: 11 additions & 11 deletions tests/profiles/webapp/all_flag.out
@@ -1,4 +1,4 @@
appnope==0.1.0
appnope==0.1.2
backcall==0.2.0
click==7.1.2
decorator==4.4.2
Expand All @@ -17,18 +17,18 @@ Flask-Script==2.0.6
- Werkzeug [required: >=0.15, installed: 1.0.1]
gnureadline==8.0.0
ipython==7.13.0
- appnope [required: Any, installed: 0.1.0]
- appnope [required: Any, installed: 0.1.2]
- backcall [required: Any, installed: 0.2.0]
- decorator [required: Any, installed: 4.4.2]
- jedi [required: >=0.10, installed: 0.17.2]
- parso [required: >=0.7.0,<0.8.0, installed: 0.7.1]
- pexpect [required: Any, installed: 4.8.0]
- ptyprocess [required: >=0.5, installed: 0.6.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.7]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.8]
- wcwidth [required: Any, installed: 0.2.5]
- pygments [required: Any, installed: 2.7.1]
- setuptools [required: >=18.5, installed: 50.3.0]
- pygments [required: Any, installed: 2.7.3]
- setuptools [required: >=18.5, installed: 51.0.0]
- traitlets [required: >=4.2, installed: 4.3.3]
- decorator [required: Any, installed: 4.4.2]
- ipython-genutils [required: Any, installed: 0.2.0]
Expand All @@ -44,16 +44,16 @@ parso==0.7.1
pexpect==4.8.0
- ptyprocess [required: >=0.5, installed: 0.6.0]
pickleshare==0.7.5
pip==20.2.3
pip==20.3.3
pipdeptree==2.0.0b1
- pip [required: >=6.0.0, installed: 20.2.3]
prompt-toolkit==3.0.7
- pip [required: >=6.0.0, installed: 20.3.3]
prompt-toolkit==3.0.8
- wcwidth [required: Any, installed: 0.2.5]
ptyprocess==0.6.0
Pygments==2.7.1
Pygments==2.7.3
pymongo==3.10.1
redis==3.4.1
setuptools==50.3.0
setuptools==51.0.0
six==1.15.0
slugify==0.0.1
traitlets==4.3.3
Expand All @@ -62,4 +62,4 @@ traitlets==4.3.3
- six [required: Any, installed: 1.15.0]
wcwidth==0.2.5
Werkzeug==1.0.1
wheel==0.35.1
wheel==0.36.2
12 changes: 6 additions & 6 deletions tests/profiles/webapp/default.out
Expand Up @@ -7,25 +7,25 @@ Flask-Script==2.0.6
- Werkzeug [required: >=0.15, installed: 1.0.1]
gnureadline==8.0.0
ipython==7.13.0
- appnope [required: Any, installed: 0.1.0]
- appnope [required: Any, installed: 0.1.2]
- backcall [required: Any, installed: 0.2.0]
- decorator [required: Any, installed: 4.4.2]
- jedi [required: >=0.10, installed: 0.17.2]
- parso [required: >=0.7.0,<0.8.0, installed: 0.7.1]
- pexpect [required: Any, installed: 4.8.0]
- ptyprocess [required: >=0.5, installed: 0.6.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.7]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.8]
- wcwidth [required: Any, installed: 0.2.5]
- pygments [required: Any, installed: 2.7.1]
- setuptools [required: >=18.5, installed: 50.3.0]
- pygments [required: Any, installed: 2.7.3]
- setuptools [required: >=18.5, installed: 51.0.0]
- traitlets [required: >=4.2, installed: 4.3.3]
- decorator [required: Any, installed: 4.4.2]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.15.0]
pipdeptree==2.0.0b1
- pip [required: >=6.0.0, installed: 20.2.3]
- pip [required: >=6.0.0, installed: 20.3.3]
pymongo==3.10.1
redis==3.4.1
slugify==0.0.1
wheel==0.35.1
wheel==0.36.2
8 changes: 4 additions & 4 deletions tests/profiles/webapp/packages_opt.out
@@ -1,16 +1,16 @@
ipython==7.13.0
- appnope [required: Any, installed: 0.1.0]
- appnope [required: Any, installed: 0.1.2]
- backcall [required: Any, installed: 0.2.0]
- decorator [required: Any, installed: 4.4.2]
- jedi [required: >=0.10, installed: 0.17.2]
- parso [required: >=0.7.0,<0.8.0, installed: 0.7.1]
- pexpect [required: Any, installed: 4.8.0]
- ptyprocess [required: >=0.5, installed: 0.6.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.7]
- prompt-toolkit [required: >=2.0.0,<3.1.0,!=3.0.1,!=3.0.0, installed: 3.0.8]
- wcwidth [required: Any, installed: 0.2.5]
- pygments [required: Any, installed: 2.7.1]
- setuptools [required: >=18.5, installed: 50.3.0]
- pygments [required: Any, installed: 2.7.3]
- setuptools [required: >=18.5, installed: 51.0.0]
- traitlets [required: >=4.2, installed: 4.3.3]
- decorator [required: Any, installed: 4.4.2]
- ipython-genutils [required: Any, installed: 0.2.0]
Expand Down
12 changes: 6 additions & 6 deletions tests/profiles/webapp/reverse.out
@@ -1,4 +1,4 @@
appnope==0.1.0
appnope==0.1.2
- ipython==7.13.0 [requires: appnope]
backcall==0.2.0
- ipython==7.13.0 [requires: backcall]
Expand All @@ -25,25 +25,25 @@ parso==0.7.1
- ipython==7.13.0 [requires: jedi>=0.10]
pickleshare==0.7.5
- ipython==7.13.0 [requires: pickleshare]
pip==20.2.3
pip==20.3.3
- pipdeptree==2.0.0b1 [requires: pip>=6.0.0]
ptyprocess==0.6.0
- pexpect==4.8.0 [requires: ptyprocess>=0.5]
- ipython==7.13.0 [requires: pexpect]
pygments==2.7.1
pygments==2.7.3
- ipython==7.13.0 [requires: pygments]
pymongo==3.10.1
redis==3.4.1
setuptools==50.3.0
setuptools==51.0.0
- ipython==7.13.0 [requires: setuptools>=18.5]
six==1.15.0
- traitlets==4.3.3 [requires: six]
- ipython==7.13.0 [requires: traitlets>=4.2]
slugify==0.0.1
wcwidth==0.2.5
- prompt-toolkit==3.0.7 [requires: wcwidth]
- prompt-toolkit==3.0.8 [requires: wcwidth]
- ipython==7.13.0 [requires: prompt-toolkit>=2.0.0,<3.1.0,!=3.0.1,!=3.0.0]
Werkzeug==1.0.1
- Flask==1.1.2 [requires: Werkzeug>=0.15]
- Flask-Script==2.0.6 [requires: Flask]
wheel==0.35.1
wheel==0.36.2

0 comments on commit c5c6dc2

Please sign in to comment.