Skip to content

Commit abe6f5c

Browse files
authored
fix: update dependency phonenumbers and twilio (#534)
* fix: dependency downgrade for phonenumbers and twilio * fix: pre-commit hook * fix: pre commit hook * fix: pre commit hook * fix: updates phonenumber and twilio * fix: dev requirements * fix: pre-commit * fix: makefile revert
1 parent 32983d8 commit abe6f5c

File tree

8 files changed

+23
-11
lines changed

8 files changed

+23
-11
lines changed

.github/workflows/pre-commit-hook-run.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
run: |
2323
python3 -m venv venv
2424
source venv/bin/activate
25-
pip install "cython<3.0.0" wheel
26-
pip install "PyYAML==5.4.1" --no-build-isolation
25+
python3 -m pip install setuptools
26+
python3 -m pip install "cython<3.0.0" wheel
27+
python3 -m pip install "PyYAML==5.4.1" --no-build-isolation
2728
make dev-install && rm -rf src
2829
- name: Make a dummy change to README.md
2930
run: |

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [unreleased]
1010

11+
## [0.24.4] - 2024-10-16
12+
13+
- Updates `phonenumbers` and `twilio` to latest versions
14+
1115
## [0.24.3] - 2024-09-24
1216

1317
- Adds support for form field related improvements by making fields accept any type of values

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ format:
1010
black .
1111

1212
check-lint:
13-
pyright supertokens_python tests examples && pylint supertokens_python tests examples
13+
pyright supertokens_python tests examples && pylint --disable=too-many-positional-arguments --load-plugins=pylint.extensions.no_self_use supertokens_python tests examples
1414

1515
set-up-hooks:
1616
cp hooks/pre-commit.sh .git/hooks/pre-commit

dev-requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
aiosmtplib>=1.1.6,<4.0.0
22
anyio==3.5.0
33
asgiref==3.5.2
4-
astroid==2.9.3
54
attrs==21.4.0
65
black==22.3.0
76
certifi==2021.10.8
@@ -41,7 +40,7 @@ nodeenv==1.6.0
4140
packaging==21.3
4241
pathspec==0.9.0
4342
pdoc3==0.10.0
44-
phonenumbers==8.12.48
43+
phonenumbers==8.13.47
4544
pkce==1.0.3
4645
platformdirs==2.5.1
4746
pluggy==1.0.0
@@ -51,7 +50,7 @@ pycparser==2.21
5150
pycryptodome==3.10.4
5251
pydantic==1.9.0
5352
PyJWT==2.6.0
54-
pylint==2.12.2
53+
pylint==3.3.1
5554
pyparsing==3.0.7
5655
pyright==1.1.236
5756
pyrsistent==0.18.1
@@ -75,7 +74,7 @@ starlette==0.14.2
7574
tldextract==3.1.0
7675
toml==0.10.2
7776
tomli==2.0.1
78-
twilio==7.9.1
77+
twilio==9.3.3
7978
types-pytz==2021.3.6
8079
types-PyYAML==6.0.5
8180
typing_extensions==4.1.1

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
setup(
8585
name="supertokens_python",
86-
version="0.24.3",
86+
version="0.24.4",
8787
author="SuperTokens",
8888
license="Apache 2.0",
8989
author_email="[email protected]",
@@ -121,8 +121,8 @@
121121
"asgiref>=3.4.1,<4",
122122
"typing_extensions>=4.1.1,<5.0.0",
123123
"Deprecated==1.2.13",
124-
"phonenumbers==8.12.48",
125-
"twilio==7.9.1",
124+
"phonenumbers==8.13.47",
125+
"twilio==9.3.3",
126126
"aiosmtplib>=1.1.6,<4.0.0",
127127
"pkce==1.0.3",
128128
],

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["3.0"]
17-
VERSION = "0.24.3"
17+
VERSION = "0.24.4"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

test-pre-commit.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
python3 -m venv venv
4+
source venv/bin/activate
5+
pip3 install "cython<3.0.0" wheel
6+
pip3 install "PyYAML==5.4.1" --no-build-isolation
7+
make dev-install && rm -rf src

tests/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def setup_multitenancy_feature(host: str = "localhost", port: str = "3567"):
157157
json={
158158
"licenseKey": OPAQUE_KEY_WITH_MULTITENANCY_FEATURE,
159159
},
160+
timeout=10,
160161
)
161162

162163

0 commit comments

Comments
 (0)