Last active
November 11, 2020 16:35
-
-
Save ipmb/6b0ebe2b678c7a68c993786d316d7b04 to your computer and use it in GitHub Desktop.
pipenv version test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ chmod +x install.sh | |
$ docker build -t pipenv . | |
$ docker create --name pipenv pipenv | |
$ docker cp pipenv:/pipenv . | |
$ diff pipenv/2018.11.14/Pipfile pipenv/2018.05.18/Pipfile && echo "no difference" | |
2d1 | |
< name = "pypi" | |
5,6c4 | |
< | |
< [dev-packages] | |
--- | |
> name = "pypi" | |
10a9,10 | |
> [dev-packages] | |
> | |
$ diff pipenv/2018.11.14/Pipfile.lock pipenv/2018.05.18/Pipfile.lock && echo "no difference" | |
no difference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.8 | |
RUN pip install -U pip setuptools wheel | |
COPY ./install.sh . | |
RUN ./install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eufx -o pipefail | |
VERSIONS="2020.11.4 2020.8.13 2020.6.2 2020.5.28 2018.11.26 2018.11.14 2018.05.18" | |
for VER in $VERSIONS; do | |
pip install "pipenv==$VER" | |
mkdir -p "/pipenv/$VER" | |
cd "/pipenv/$VER" | |
pipenv install toml | |
pip uninstall -y pipenv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment