Skip to content

Commit

Permalink
fix: update dependency phonenumbers and twilio (#534)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sattvikc authored Oct 17, 2024
1 parent 32983d8 commit abe6f5c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit-hook-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

setup(
name="supertokens_python",
version="0.24.3",
version="0.24.4",
author="SuperTokens",
license="Apache 2.0",
author_email="[email protected]",
Expand Down Expand Up @@ -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",
],
Expand Down
2 changes: 1 addition & 1 deletion supertokens_python/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions test-pre-commit.sh
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def setup_multitenancy_feature(host: str = "localhost", port: str = "3567"):
json={
"licenseKey": OPAQUE_KEY_WITH_MULTITENANCY_FEATURE,
},
timeout=10,
)


Expand Down

0 comments on commit abe6f5c

Please sign in to comment.