Skip to content

Commit a6d3e6d

Browse files
author
Alexandre van Beurden
committed
tr
1 parent 2e7ee1b commit a6d3e6d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
14+
python-version: [3.7, 3.8, 3.9]
1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v2
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip
2727
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
2829
pip install pytest
2930
3031
- name: Run tests

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
requests>=2.20.0
2-
pydantic>=2.8.0
2+
pydantic<=2.5.3, >2.4.0; python_version<"3.8"
3+
pydantic>=2.6.0; python_version>="3.8"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
install_requires=[
1717
'requests>=2.20.0',
18-
'pydantic>=2.8.0'
18+
'pydantic<=2.5.3, >2.4.0; python_version<"3.8"',
19+
'pydantic>=2.6.0; python_version>="3.8"'
1920
],
2021
python_requires='>=3.6',
2122
project_urls={

0 commit comments

Comments
 (0)