Skip to content

Commit 27af7b4

Browse files
authored
Merge pull request #85 from strosek/fix/update-deps
Update pydantic for 3.11 compatibilty
2 parents a9e02b4 + e405a27 commit 27af7b4

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.8', '3.9', '3.10']
18+
python-version: ['3.8', '3.9', '3.10', '3.11']
1919

2020
steps:
2121
- uses: actions/checkout@v2

requirements/common.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pydantic==1.9.0
2-
requests==2.27.1
3-
regex==2022.3.15
1+
pydantic~=1.9.0
2+
requests~=2.31.0
3+
regex~=2022.3.15

setup.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = infobip-api-python-sdk
3-
version = 5.0.0
3+
version = 5.0.1
44
author = Luka Kilic, Dino Lozina, Erick Corona
55
author_email = [email protected]
66
description = Python sdk for Infobip's API
@@ -21,9 +21,9 @@ package_dir =
2121
packages = find:
2222
python_requires = >=3.6
2323
install_requires =
24-
pydantic==1.9.0
25-
requests==2.27.1
26-
regex==2022.3.15
24+
pydantic~=1.10.8
25+
requests~=2.31.0
26+
regex~=2022.3.15
2727
2828
[options.packages.find]
2929
where = .

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,20 @@ env_list =
44
py38
55
py39
66
py310
7+
py311
78
report
89

910
[gh-actions]
1011
python =
1112
3.8: py38
1213
3.9: py39
1314
3.10: py310
15+
3.11: py311
1416

1517
[testenv]
1618
deps =
17-
pydantic==1.9.0
18-
requests==2.27.1
19+
pydantic==1.10.8
20+
requests==2.31.0
1921
pytest==6.2.5
2022
pytest-cov==3.0.0
2123
pytest-httpserver==1.0.4
@@ -24,8 +26,8 @@ deps =
2426
pytest-cov==3.0.0
2527
regex==2022.3.15
2628
depends =
27-
{py38, py39, py310}: clean
28-
report: py38, py39, py310
29+
{py38, py39, py310, py311}: clean
30+
report: py38, py39, py310, py311
2931
commands = python -m pytest --cov-append --cov=infobip_channels --cov=infobip_platform tests/
3032

3133
[testenv:report]

0 commit comments

Comments
 (0)