Skip to content

Commit

Permalink
merges with latest
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 17, 2024
2 parents 5ddcd16 + abe6f5c commit 41cea1a
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 12 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
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

<<<<<<< HEAD

## [0.25.0] - 2024-09-18

### Breaking changes
Expand All @@ -18,7 +18,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Session recipe's error handlers take an extra param of recipe_user_id as well
- Session recipe, removes `validate_claims_in_jwt_payload` that is exposed to the user.
- TODO..
=======

## [0.24.4] - 2024-10-16

- Updates `phonenumbers` and `twilio` to latest versions

>>>>>>> 0.24
## [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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,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
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
2 changes: 1 addition & 1 deletion tests/emailpassword/test_emaildelivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async def test_reset_password_smtp_service(driver_config_client: TestClient):
def smtp_service_override(oi: SMTPServiceInterface[EmailTemplateVars]):
async def send_raw_email_override(
content: EmailContent,
user_context: Dict[
user_context: Dict[ # pylint: disable=unused-argument
str, Any
], # pylint: disable=unused-argument, # pylint: disable=unused-argument
):
Expand Down
1 change: 1 addition & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,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 41cea1a

Please sign in to comment.