Skip to content

Commit 2f68108

Browse files
Quick CI Fix
The last patch removed the remaining requirements.txt as it was leftover from the pipenv transition. However, this broke the CI as setup-python's cache is set to pip which depends upon the hash of a requirements.txt. This implements a quick fix by setting the cache dependency path (used for the hash) to the Pipfile.lock. This is not optimal since the pipenv deps don't get cached (based on my testing), but they weren't before either (as far as I can tell). More testing is needed, but this should get the CI green.
1 parent 41cb002 commit 2f68108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
cache: 'pip'
56+
cache-dependency-path: Pipfile.lock
5657
- name: Install Python, no cache
5758
if: needs.Envvars.outputs.do_cache == '0'
5859
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)