mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Harmonize tox and virtualenv versions
- Set all tox versions to 2.9.1 - Set all virtualenv version to 16.2.0 Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
This commit is contained in:
parent
a734371e7f
commit
bb0bd3b26b
@ -19,7 +19,7 @@ WORKDIR /code/
|
|||||||
|
|
||||||
# FIXME(chris-crone): virtualenv 16.3.0 breaks build, force 16.2.0 until fixed
|
# FIXME(chris-crone): virtualenv 16.3.0 breaks build, force 16.2.0 until fixed
|
||||||
RUN pip install virtualenv==16.2.0
|
RUN pip install virtualenv==16.2.0
|
||||||
RUN pip install tox==2.1.1
|
RUN pip install tox==2.9.1
|
||||||
|
|
||||||
ADD requirements.txt /code/
|
ADD requirements.txt /code/
|
||||||
ADD requirements-dev.txt /code/
|
ADD requirements-dev.txt /code/
|
||||||
|
@ -4,7 +4,7 @@ version: '{branch}-{build}'
|
|||||||
install:
|
install:
|
||||||
- "SET PATH=C:\\Python37-x64;C:\\Python37-x64\\Scripts;%PATH%"
|
- "SET PATH=C:\\Python37-x64;C:\\Python37-x64\\Scripts;%PATH%"
|
||||||
- "python --version"
|
- "python --version"
|
||||||
- "pip install tox==2.9.1 virtualenv==15.1.0"
|
- "pip install tox==2.9.1 virtualenv==16.2.0"
|
||||||
|
|
||||||
# Build the binary after tests
|
# Build the binary after tests
|
||||||
build: false
|
build: false
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
# 4. In Powershell, run the following commands:
|
# 4. In Powershell, run the following commands:
|
||||||
#
|
#
|
||||||
# $ pip install 'virtualenv>=15.1.0'
|
# $ pip install 'virtualenv==16.2.0'
|
||||||
# $ Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
|
# $ Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
|
||||||
#
|
#
|
||||||
# 5. Clone the repository:
|
# 5. Clone the repository:
|
||||||
|
@ -36,7 +36,7 @@ if ! [ -x "$(command -v python3)" ]; then
|
|||||||
brew install python3
|
brew install python3
|
||||||
fi
|
fi
|
||||||
if ! [ -x "$(command -v virtualenv)" ]; then
|
if ! [ -x "$(command -v virtualenv)" ]; then
|
||||||
pip install virtualenv
|
pip install virtualenv==16.2.0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user