Skip to content

Instantly share code, notes, and snippets.

@ipmb
Last active November 11, 2020 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipmb/6b0ebe2b678c7a68c993786d316d7b04 to your computer and use it in GitHub Desktop.
Save ipmb/6b0ebe2b678c7a68c993786d316d7b04 to your computer and use it in GitHub Desktop.
pipenv version test
$ 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
FROM python:3.8
RUN pip install -U pip setuptools wheel
COPY ./install.sh .
RUN ./install.sh
#!/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