Skip to content

Commit bf49c5e

Browse files
committed
clean: remove unused deps
1 parent f8bcfae commit bf49c5e

4 files changed

Lines changed: 1 addition & 11 deletions

File tree

requirements.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@ sentry-sdk[Flask]
1313
psycopg2-binary~=2.9.11
1414
twilio~=9.9.0
1515
pyotp~=2.9.0
16-
dill~=0.4.0
17-
beautifulsoup4~=4.14.3
1816
passlib~=1.7.4
1917
xkcdpass~=1.20.0

requirements.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ async-property==0.2.2
2222
# via python-keycloak
2323
attrs==25.4.0
2424
# via aiohttp
25-
beautifulsoup4==4.14.3
26-
# via -r requirements.in
2725
blinker==1.9.0
2826
# via
2927
# flask
@@ -52,8 +50,6 @@ deprecated==1.3.1
5250
# via limits
5351
deprecation==2.1.0
5452
# via python-keycloak
55-
dill==0.4.0
56-
# via -r requirements.in
5753
dnspython==2.8.0
5854
# via srvlookup
5955
flask==3.1.2
@@ -194,8 +190,6 @@ sentry-sdk==2.48.0
194190
# via -r requirements.in
195191
six==1.17.0
196192
# via pyjwkest
197-
soupsieve==2.8.1
198-
# via beautifulsoup4
199193
sqlalchemy==2.0.45
200194
# via
201195
# alembic
@@ -211,7 +205,6 @@ typing-extensions==4.15.0
211205
# aiosignal
212206
# alembic
213207
# anyio
214-
# beautifulsoup4
215208
# flask-limiter
216209
# jwcrypto
217210
# limits

selfservice/blueprints/otp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from flask import Blueprint, render_template, request, redirect, flash
99
from flask import session as flask_session
10-
import dill as pickle
1110

1211

1312
from selfservice.utilities.keycloak import (

selfservice/utilities/keycloak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import json
66
import logging
77

8-
from bs4 import BeautifulSoup
98
from keycloak import KeycloakAdmin, KeycloakOpenID
109
import requests
1110
import pyotp
@@ -158,6 +157,7 @@ def register_kc_otp(username, secret, otp_code):
158157
if not response.ok:
159158
app.logger.error(response.text)
160159
response.raise_for_status()
160+
161161
def delete_kc_otp(username):
162162
"""
163163
Remove two-factor information from Keycloak account

0 commit comments

Comments
 (0)