-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow to update dependencies (#490)
* Add a workflow to update dependencies * Use '--no-docker' to run dependency update using local pythons Default method is to use docker * Only run the dependency update workflow manually PR are only created for master * Create constraints for all python versions * Use manylinux2010_x86_64:latest to update dependencies Co-authored-by: Joe Rickerby <joerick@mac.com>
- Loading branch information
Showing
10 changed files
with
107 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Update dependencies | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
update-dependencies: | ||
name: Update dependencies | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
name: Install Python 3.9 | ||
with: | ||
python-version: 3.9 | ||
architecture: x64 | ||
- name: Install dependencies | ||
run: python -m pip install requests pip-tools | ||
- name: Run update | ||
run: python ./bin/update_dependencies.py | ||
- name: Create Pull Request | ||
if: github.ref == 'refs/heads/master' | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: Update dependencies | ||
title: '[Bot] Update dependencies' | ||
body: | | ||
Update the versions of our dependencies. | ||
PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). | ||
branch: update-dependencies-pr | ||
delete-branch: true |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# bin/update_dependencies.py | ||
# | ||
appdirs==1.4.4 # via virtualenv | ||
delocate==0.8.2 # via -r cibuildwheel/resources/constraints.in | ||
distlib==0.3.1 # via virtualenv | ||
filelock==3.0.12 # via virtualenv | ||
six==1.15.0 # via virtualenv | ||
virtualenv==20.2.2 # via -r cibuildwheel/resources/constraints.in | ||
wheel==0.36.2 # via -r cibuildwheel/resources/constraints.in, delocate | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
pip==20.3.3 # via -r cibuildwheel/resources/constraints.in | ||
setuptools==51.0.0 # via -r cibuildwheel/resources/constraints.in |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# bin/update_dependencies.py | ||
# | ||
appdirs==1.4.4 # via virtualenv | ||
delocate==0.8.2 # via -r cibuildwheel/resources/constraints.in | ||
distlib==0.3.1 # via virtualenv | ||
filelock==3.0.12 # via virtualenv | ||
six==1.15.0 # via virtualenv | ||
virtualenv==20.2.2 # via -r cibuildwheel/resources/constraints.in | ||
wheel==0.36.2 # via -r cibuildwheel/resources/constraints.in, delocate | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
pip==20.3.3 # via -r cibuildwheel/resources/constraints.in | ||
setuptools==51.0.0 # via -r cibuildwheel/resources/constraints.in |
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
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