Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Mar 20, 2024
1 parent 00f0e3a commit 2dee6b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Dependency
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .[dev]
- name: MongoDB
uses: supercharge/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"joblib",
"matplotlib",
"numba",
"passlib[bcrypt]",
"passlib",
"Pint",
"pydantic<2",
"python-dotenv",
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
aiofiles==23.2.1 # via motion-base (pyproject.toml)
anyio==3.7.1 # via fastapi, httpx, starlette
astroid==3.1.0 # via pylint
bcrypt==4.1.2 # via passlib
beanie==1.25.0 # via motion-base (pyproject.toml)
black==24.3.0 # via motion-base (pyproject.toml)
certifi==2024.2.2 # via httpcore, httpx
Expand Down Expand Up @@ -42,7 +41,7 @@ mypy-extensions==1.0.0 # via black
numba==0.59.1 # via motion-base (pyproject.toml)
numpy==1.26.4 # via contourpy, matplotlib, numba, scipy
packaging==24.0 # via black, matplotlib, pytest
passlib[bcrypt]==1.7.4 # via motion-base (pyproject.toml)
passlib==1.7.4 # via motion-base (pyproject.toml)
pathspec==0.12.1 # via black
pillow==10.2.0 # via matplotlib
pint==0.23 # via motion-base (pyproject.toml)
Expand Down
2 changes: 1 addition & 1 deletion src/mb/app/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class User(UserInformation):
disabled: bool


crypt_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
crypt_context = CryptContext(schemes=["sha256_crypt"], deprecated="auto")


async def create_superuser():
Expand Down

0 comments on commit 2dee6b4

Please sign in to comment.