Skip to content

Commit 48ca515

Browse files
committed
trying to find a workaround to still get the condition pydantic<=1.5
1 parent 7a4c462 commit 48ca515

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
auto-update-conda: true
2929
environment-file: environment.yml
3030
python-version: ${{ matrix.python-version }}
31+
# versions <= 1.5 of pydantic are not available with Python 3.9
32+
- run: conda install pydantic<=1.5
33+
if: ${{ matrix.python-version != 3.9 }}
3134
- run: conda info
3235
- run: conda list
3336
- run: conda config --show

environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ dependencies:
1111
- xlsxwriter
1212
- pytest>=3.5
1313
- flake8
14-
- pydantic<=1.5
1514
- pip:
1615
- pytest-flake8

0 commit comments

Comments
 (0)