From 0995b77020116d72abe3390a387231f124a1e599 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 9 Aug 2023 10:44:17 -0400
Subject: [PATCH] try stripping the interpreter-specific prefix from our paths

---
 .circleci/config.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index e530ddeb5..501e28b9a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -271,8 +271,10 @@ jobs:
             python -m coverage combine
 
             # Now coveralls will be able to find the data, so have it do the
-            # upload.
-            python -m coveralls
+            # upload.  Also, have it strip the system config-specific prefix
+            # from all of the source paths.
+            $prefix = python -c "import sysconfig; print(sysconfig.get_path('purelib'))"
+            python -m coveralls --basedir $prefix
 
       - "run":
           name: "Convert Result Log"