Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from oliviacrain/oliviacrain/fix/remove-backpo…
Browse files Browse the repository at this point in the history
…rt-pbkdf2

Use standard library's pbkdf2_hmac implementation instead of backports.pbkdf2
  • Loading branch information
valknight authored Nov 8, 2022
2 parents b1e9cbb + 409b8ba commit 1267e33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ name = "pypi"

[packages]
requests = "*"
"backports.pbkdf2" = "*"

[dev-packages]
"flake8" = "*"
Expand Down
9 changes: 1 addition & 8 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions cohost/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
from cohost.models.project import EditableProject
from cohost.network import fetch, fetchTrpc, generate_login_cookies
from cohost.models.notification import buildFromNotifList
import hashlib
from hashlib import pbkdf2_hmac
import base64
from backports.pbkdf2 import pbkdf2_hmac


class User:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
packages=find_packages(),
include_package_data=True,
python_requires=">=3.7.*",
install_requires=['requests','backports.pbkdf2'],
install_requires=['requests'],
license=about['__license__'],
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit 1267e33

Please sign in to comment.