Browse Source

pipeline: pin pipenv version to make builds reproducible

https://github.com/fphammerle/ical2vdir/commit/e56db8ab4a94c74f1a02485e2bc0319e47af4f78
https://github.com/fphammerle/switchbot-mqtt/commit/2c93d7b07a5669da0b67cd3cafb5e992f202a042
Fabian Peter Hammerle 3 years ago
parent
commit
0819e2f45a
2 changed files with 4 additions and 2 deletions
  1. 2 2
      .github/workflows/python.yml
  2. 2 0
      Pipfile

+ 2 - 2
.github/workflows/python.yml

@@ -24,7 +24,7 @@ jobs:
     - uses: actions/setup-python@v1
     - uses: actions/setup-python@v1
       with:
       with:
         python-version: ${{ matrix.python-version }}
         python-version: ${{ matrix.python-version }}
-    - run: pip install --upgrade pipenv>=2018.10.9
+    - run: pip install --upgrade pipenv==2020.8.13
     - run: sudo apt-get update
     - run: sudo apt-get update
     # TODO exclude dbus-python & PyGObject from pipenv install
     # TODO exclude dbus-python & PyGObject from pipenv install
     - run: sudo apt-get install --yes --no-install-recommends
     - run: sudo apt-get install --yes --no-install-recommends
@@ -50,7 +50,7 @@ jobs:
     - uses: actions/setup-python@v1
     - uses: actions/setup-python@v1
       with:
       with:
         python-version: ${{ matrix.python-version }}
         python-version: ${{ matrix.python-version }}
-    - run: pip install --upgrade pipenv>=2018.10.9
+    - run: pip install --upgrade pipenv==2020.8.13
     - run: sudo apt-get update
     - run: sudo apt-get update
     - run: sudo apt-get install --yes --no-install-recommends
     - run: sudo apt-get install --yes --no-install-recommends
         libdbus-1-dev
         libdbus-1-dev

+ 2 - 0
Pipfile

@@ -31,3 +31,5 @@ typed-ast = "*"
 
 
 [requires]
 [requires]
 python_version = "3"
 python_version = "3"
+
+# Pipfile syntax: https://github.com/pypa/pipfile#pipfile