From 37cd8db2ad83d2bb721a6f9cae6c91a669d3949a Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 22 Dec 2021 14:42:42 -0500
Subject: [PATCH] try to prime the env with a compatible setuptools_scm

---
 .github/workflows/ci.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 8ad846a..9ef5b60 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -39,6 +39,9 @@ jobs:
 
     - name: "Install ZKAPAuthorizer and dependencies"
       run: |
+        # Get a Python 2 compatible version of setuptools_scm so that pip
+        # doesn't install a Python 2 incompatible version for cbor2.
+        pip install setuptools_scm==1.17.0
         python -m pip install -v ./[test]
 
     - name: "Dump Python Environment"
-- 
GitLab