Add workflow to update Pipfile.lock weekly (#1542)

* Create workflow to update the Pipfile.lock weekly

* Update-pipfile: Also install wheel

* Install wheel in different step

* Pipfile: Only lock major versions

Assumes Semantic Versioning, and only sets the major versions of all packages

* Run update-pipfile on changes in pipfile and use tensorflow

Move from tensorflow-gpu to tensorflow, an excelent test for this PR

* [create-pull-request] automated change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
albatross
Ewout ter Hoeven 2020-05-20 22:16:02 +02:00 committed by GitHub
parent 1162041ea6
commit b1795235f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 285 additions and 373 deletions

View File

@ -0,0 +1,25 @@
name: "Update Pipfile.lock"
on:
schedule:
- cron: '00 08 * * 1' # Every monday on 08:00 UTC
push:
paths:
- 'Pipfile'
jobs:
piplock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install wheel
- run: pip install pipenv
- run: pipenv lock --requirements
- uses: actions/upload-artifact@v2
with:
name: "Pipfile lock"
path: Pipfile.lock
- uses: peter-evans/create-pull-request@v2
with:
title: "Update Pipfile.lock (dependencies)"
branch: update-pipfile

24
Pipfile
View File

@ -6,13 +6,13 @@ verify_ssl = true
[dev-packages] [dev-packages]
opencv-python= "*" opencv-python= "*"
ipython = "*" ipython = "*"
networkx = "==2.3" networkx = "~=2.3"
azure-core = "*" azure-core = "*"
azure-common = "*" azure-common = "*"
azure-nspkg = "==3.0.2" azure-nspkg = "~=3.0"
azure-storage-blob = "==2.1.0" azure-storage-blob = "~=2.1"
azure-storage-common = "==2.1.0" azure-storage-common = "~=2.1"
azure-storage-nspkg = "==3.1.0" azure-storage-nspkg = "~=3.1"
boto = "*" boto = "*"
"boto3" = "*" "boto3" = "*"
control = "*" control = "*"
@ -41,9 +41,9 @@ redis = "*"
"s2sphere" = "*" "s2sphere" = "*"
"subprocess32" = "*" "subprocess32" = "*"
tenacity = "*" tenacity = "*"
tensorflow-gpu = "==2.2.0" tensorflow = "~=2.2"
keras_applications = "*" keras_applications = "*"
PyMySQL = "==0.9.2" PyMySQL = "~=0.9"
Werkzeug = "*" Werkzeug = "*"
"backports.lzma" = "*" "backports.lzma" = "*"
Flask-Cors = "*" Flask-Cors = "*"
@ -69,7 +69,7 @@ paramiko = "*"
aiohttp = "*" aiohttp = "*"
lru-dict = "*" lru-dict = "*"
scikit-image = "*" scikit-image = "*"
pygame = "==2.0.0.dev6" pygame = "==2.0.0.dev8"
pprofile = "*" pprofile = "*"
pyprof2calltree = "*" pyprof2calltree = "*"
@ -107,10 +107,10 @@ pylint = "*"
pillow = "*" pillow = "*"
scons = "*" scons = "*"
cysignals = "*" cysignals = "*"
pycryptodome = "*" pycryptodome = "*"
"Jinja2" = "*" "Jinja2" = "*"
PyJWT = "*" PyJWT = "*"
pyserial = "*" pyserial = "*"
[requires] [requires]
python_version = "3.8.2" python_version = "3.8"

609
Pipfile.lock generated

File diff suppressed because it is too large Load Diff