Skip to content

Commit a253a0a

Browse files
Giving up on pytest 8 on Windows, pinning <8
1 parent 4441b9f commit a253a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/conda-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ jobs:
292292
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
293293
SET PACKAGE_VERSION=%%F
294294
)
295-
SET "TEST_DEPENDENCIES=pytest pytest-cov cython"
295+
SET "TEST_DEPENDENCIES=pytest'<8' pytest-cov cython"
296296
conda install -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
297297
- name: Report content of test environment
298298
shell: cmd /C CALL {0}

0 commit comments

Comments
 (0)