diff --git a/.github/workflows/pre-commit-hook-run.yml b/.github/workflows/pre-commit-hook-run.yml index c0065b50..a93db8ca 100644 --- a/.github/workflows/pre-commit-hook-run.yml +++ b/.github/workflows/pre-commit-hook-run.yml @@ -22,8 +22,9 @@ jobs: run: | python3 -m venv venv source venv/bin/activate - pip install "cython<3.0.0" wheel - pip install "PyYAML==5.4.1" --no-build-isolation + python3 -m pip install setuptools + python3 -m pip install "cython<3.0.0" wheel + python3 -m pip install "PyYAML==5.4.1" --no-build-isolation make dev-install && rm -rf src - name: Make a dummy change to README.md run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 0761116e..6cfe8551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [0.24.4] - 2024-10-16 + +- Updates `phonenumbers` and `twilio` to latest versions + ## [0.24.3] - 2024-09-24 - Adds support for form field related improvements by making fields accept any type of values diff --git a/Makefile b/Makefile index 8031e465..10033546 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ format: black . check-lint: - pyright supertokens_python tests examples && pylint supertokens_python tests examples + pyright supertokens_python tests examples && pylint --disable=too-many-positional-arguments --load-plugins=pylint.extensions.no_self_use supertokens_python tests examples set-up-hooks: cp hooks/pre-commit.sh .git/hooks/pre-commit diff --git a/dev-requirements.txt b/dev-requirements.txt index 4291ad28..c1cd3098 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,6 @@ aiosmtplib>=1.1.6,<4.0.0 anyio==3.5.0 asgiref==3.5.2 -astroid==2.9.3 attrs==21.4.0 black==22.3.0 certifi==2021.10.8 @@ -41,7 +40,7 @@ nodeenv==1.6.0 packaging==21.3 pathspec==0.9.0 pdoc3==0.10.0 -phonenumbers==8.12.48 +phonenumbers==8.13.47 pkce==1.0.3 platformdirs==2.5.1 pluggy==1.0.0 @@ -51,7 +50,7 @@ pycparser==2.21 pycryptodome==3.10.4 pydantic==1.9.0 PyJWT==2.6.0 -pylint==2.12.2 +pylint==3.3.1 pyparsing==3.0.7 pyright==1.1.236 pyrsistent==0.18.1 @@ -75,7 +74,7 @@ starlette==0.14.2 tldextract==3.1.0 toml==0.10.2 tomli==2.0.1 -twilio==7.9.1 +twilio==9.3.3 types-pytz==2021.3.6 types-PyYAML==6.0.5 typing_extensions==4.1.1 diff --git a/setup.py b/setup.py index b8c91300..201d5235 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ setup( name="supertokens_python", - version="0.24.3", + version="0.24.4", author="SuperTokens", license="Apache 2.0", author_email="team@supertokens.com", @@ -121,8 +121,8 @@ "asgiref>=3.4.1,<4", "typing_extensions>=4.1.1,<5.0.0", "Deprecated==1.2.13", - "phonenumbers==8.12.48", - "twilio==7.9.1", + "phonenumbers==8.13.47", + "twilio==9.3.3", "aiosmtplib>=1.1.6,<4.0.0", "pkce==1.0.3", ], diff --git a/supertokens_python/constants.py b/supertokens_python/constants.py index b921e29a..067c74e3 100644 --- a/supertokens_python/constants.py +++ b/supertokens_python/constants.py @@ -14,7 +14,7 @@ from __future__ import annotations SUPPORTED_CDI_VERSIONS = ["3.0"] -VERSION = "0.24.3" +VERSION = "0.24.4" TELEMETRY = "/telemetry" USER_COUNT = "/users/count" USER_DELETE = "/user/remove" diff --git a/test-pre-commit.sh b/test-pre-commit.sh new file mode 100644 index 00000000..a4236b05 --- /dev/null +++ b/test-pre-commit.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +python3 -m venv venv +source venv/bin/activate +pip3 install "cython<3.0.0" wheel +pip3 install "PyYAML==5.4.1" --no-build-isolation +make dev-install && rm -rf src diff --git a/tests/utils.py b/tests/utils.py index cd1b2b2f..76115c27 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -157,6 +157,7 @@ def setup_multitenancy_feature(host: str = "localhost", port: str = "3567"): json={ "licenseKey": OPAQUE_KEY_WITH_MULTITENANCY_FEATURE, }, + timeout=10, )