]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-perf: pin pyjwt<2.11 for github-check 2632/head
authorKautilya Tripathi <kautilya.tripathi@ibm.com>
Thu, 25 Jun 2026 15:33:18 +0000 (21:03 +0530)
committerKautilya Tripathi <kautilya.tripathi@ibm.com>
Thu, 25 Jun 2026 15:46:51 +0000 (21:16 +0530)
github-check uses github3.py 4.0.1, which passes app_id as int to
jwt.encode(). PyJWT 2.11+ requires iss to be a string. Install
githubcheck first, then pin pyjwt<2.11.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml

index f6e45b3e3279573c070857dc38994a021bdf780d..8a473cc1d5916a58b429c992d563e385fd14f446 100644 (file)
           pip install setuptools
           pip install cython
           pip install -r ${{WORKSPACE}}/cbt/requirements.txt
-          # github3 passes app_id as int to PyJWT; 2.13+ requires iss to be str
-          pip install 'pyjwt<2.13'
           pip install git+https://github.com/ceph/githubcheck.git
+          # github3.py 4.0.1 passes app_id as int; PyJWT 2.11+ requires iss to be str.
+          pip install 'pyjwt<2.11'
           echo "please hold tight..." | github-check     \
             --owner {check-repo-owner}                   \
             --repo {check-repo-name}                     \