You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2023/01/17 21:43:18 UTC

[qpid-proton] branch main updated: NO-JIRA: Use a cache for pip packages in github CI

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 0d3095e06 NO-JIRA: Use a cache for pip packages in github CI
0d3095e06 is described below

commit 0d3095e06dde3ada60688e27889554320a46194f
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Tue Jan 17 13:39:40 2023 -0500

    NO-JIRA: Use a cache for pip packages in github CI
---
 .github/workflows/build.yml | 4 ++--
 python/requirements.txt     | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0e80d3a72..bad4bec15 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -43,10 +43,10 @@ jobs:
       with:
         python-version: 3.9
         architecture: x64
+        cache: 'pip'
     - name: Install python dependencies
       run: |
-        python -m pip install --upgrade pip
-        python -m pip install --upgrade setuptools wheel tox flake8
+        python -m pip install --upgrade -r python/requirements.txt
     - name: Install Linux dependencies
       if: runner.os == 'Linux'
       run: |
diff --git a/python/requirements.txt b/python/requirements.txt
new file mode 100644
index 000000000..7f92aa2bd
--- /dev/null
+++ b/python/requirements.txt
@@ -0,0 +1,6 @@
+pip
+setuptools
+wheel
+flake8
+tox>=1.7.2
+cffi>=1.0.0


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org