Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

First Check

  • I added a very descriptive title here.
  • I used the GitHub search to find a similar question and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answer.
  • I already checked if it is not related to FastAPI but to Pydantic.
  • I already checked if it is not related to FastAPI but to Swagger UI.
  • I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

  • I commit to help with one of those options 👆

Example Code

N/A

Description

Looks like passlib is not maintained from more than 3 years (https://foss.heptapod.net/python-libs/passlib/)
Other modules have similar concerns about use this module canonical/cloud-init#4791

Operating System

Linux

Operating System Details

N/A

FastAPI Version

0.111.0

Pydantic Version

N/A

Python Version

N/A

Additional Context

No response

You must be logged in to vote

Replies: 3 comments

Comment options

You can use bcrypt or hashlib depending on your needs.

You must be logged in to vote
0 replies
Comment options

No I cannot.
Even with installed bcrypt test suite still wants to use passlib

Here is pytest output:
========================================================================================== ERRORS ===========================================================================================
___________________________________________________________________________ ERROR at setup of test_openapi_schema ___________________________________________________________________________

    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
>           from docs_src.async_sql_databases.tutorial001 import app

tests/test_tutorial/test_async_sql_databases/test_tutorial001.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from typing import List

>   import databases
E   ModuleNotFoundError: No module named 'databases'

docs_src/async_sql_databases/tutorial001.py:3: ModuleNotFoundError

During handling of the above exception, another exception occurred:

    @pytest.fixture(name="app", scope="module")
    def get_app():
>       with pytest.warns(DeprecationWarning):
E       Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
E        Emitted warnings: [].

tests/test_tutorial/test_async_sql_databases/test_tutorial001.py:10: Failed
_______________________________________________________________________________ ERROR at setup of test_login ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_password ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_username ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
______________________________________________________________________________ ERROR at setup of test_no_token ______________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_token ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
__________________________________________________________________________ ERROR at setup of test_incorrect_token ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_incorrect_token_type ________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
____________________________________________________________________________ ERROR at setup of test_token_no_sub ____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_token_no_username __________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_token_no_scope ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_______________________________________________________________________ ERROR at setup of test_token_nonexistent_user _______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_token_inactive_user _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_____________________________________________________________________________ ERROR at setup of test_read_items _____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_read_system_status _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
____________________________________________________________________ ERROR at setup of test_read_system_status_no_token _____________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_openapi_schema ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py310 import app

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_login ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_password ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_username ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
______________________________________________________________________________ ERROR at setup of test_no_token ______________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_token ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
__________________________________________________________________________ ERROR at setup of test_incorrect_token ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_incorrect_token_type ________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
____________________________________________________________________________ ERROR at setup of test_token_no_sub ____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_token_no_username __________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_token_no_scope ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_______________________________________________________________________ ERROR at setup of test_token_nonexistent_user _______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_token_inactive_user _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_____________________________________________________________________________ ERROR at setup of test_read_items _____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_read_system_status _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
____________________________________________________________________ ERROR at setup of test_read_system_status_no_token _____________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_openapi_schema ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_an_py39 import app

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_login ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_password ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_username ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
______________________________________________________________________________ ERROR at setup of test_no_token ______________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_token ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
__________________________________________________________________________ ERROR at setup of test_incorrect_token ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_incorrect_token_type ________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
____________________________________________________________________________ ERROR at setup of test_token_no_sub ____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_token_no_username __________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_token_no_scope ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_______________________________________________________________________ ERROR at setup of test_token_nonexistent_user _______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_token_inactive_user _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_____________________________________________________________________________ ERROR at setup of test_read_items _____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_read_system_status _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
____________________________________________________________________ ERROR at setup of test_read_system_status_no_token _____________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_openapi_schema ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py310 import app

tests/test_tutorial/test_security/test_tutorial005_py310.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_login ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_password ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
______________________________________________________________________ ERROR at setup of test_login_incorrect_username ______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
______________________________________________________________________________ ERROR at setup of test_no_token ______________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_______________________________________________________________________________ ERROR at setup of test_token ________________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
__________________________________________________________________________ ERROR at setup of test_incorrect_token ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_incorrect_token_type ________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
____________________________________________________________________________ ERROR at setup of test_token_no_sub ____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_token_no_username __________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_token_no_scope ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_______________________________________________________________________ ERROR at setup of test_token_nonexistent_user _______________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
________________________________________________________________________ ERROR at setup of test_token_inactive_user _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_____________________________________________________________________________ ERROR at setup of test_read_items _____________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_________________________________________________________________________ ERROR at setup of test_read_system_status _________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
____________________________________________________________________ ERROR at setup of test_read_system_status_no_token _____________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
___________________________________________________________________________ ERROR at setup of test_openapi_schema ___________________________________________________________________________

    @pytest.fixture(name="client")
    def get_client():
>       from docs_src.security.tutorial005_py39 import app

tests/test_tutorial/test_security/test_tutorial005_py39.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
========================================================================================= FAILURES ==========================================================================================
____________________________________________________________________________________ test_root[asyncio] _____________________________________________________________________________________

    @pytest.mark.anyio
    async def test_root():
>       async with AsyncClient(app=app, base_url="http://test") as ac:

docs_src/async_tests/test_main.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <httpx.AsyncClient object at 0x7feab33fc820>

    def __init__(
        self,
        *,
        auth: AuthTypes | None = None,
        params: QueryParamTypes | None = None,
        headers: HeaderTypes | None = None,
        cookies: CookieTypes | None = None,
        verify: VerifyTypes = True,
        cert: CertTypes | None = None,
        http1: bool = True,
        http2: bool = False,
        proxy: ProxyTypes | None = None,
        proxies: ProxiesTypes | None = None,
        mounts: None | (typing.Mapping[str, AsyncBaseTransport | None]) = None,
        timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG,
        follow_redirects: bool = False,
        limits: Limits = DEFAULT_LIMITS,
        max_redirects: int = DEFAULT_MAX_REDIRECTS,
        event_hooks: None
        | (typing.Mapping[str, list[typing.Callable[..., typing.Any]]]) = None,
        base_url: URLTypes = "",
        transport: AsyncBaseTransport | None = None,
        app: typing.Callable[..., typing.Any] | None = None,
        trust_env: bool = True,
        default_encoding: str | typing.Callable[[bytes], str] = "utf-8",
    ) -> None:
        super().__init__(
            auth=auth,
            params=params,
            headers=headers,
            cookies=cookies,
            timeout=timeout,
            follow_redirects=follow_redirects,
            max_redirects=max_redirects,
            event_hooks=event_hooks,
            base_url=base_url,
            trust_env=trust_env,
            default_encoding=default_encoding,
        )

        if http2:
            try:
                import h2  # noqa
            except ImportError:  # pragma: no cover
                raise ImportError(
                    "Using http2=True, but the 'h2' package is not installed. "
                    "Make sure to install httpx using `pip install httpx[http2]`."
                ) from None

        if proxies:
            message = (
                "The 'proxies' argument is now deprecated."
                " Use 'proxy' or 'mounts' instead."
            )
            warnings.warn(message, DeprecationWarning)
            if proxy:
                raise RuntimeError("Use either `proxy` or 'proxies', not both.")

        if app:
            message = (
                "The 'app' shortcut is now deprecated."
                " Use the explicit style 'transport=ASGITransport(app=...)' instead."
            )
>           warnings.warn(message, DeprecationWarning)
E           DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.

/usr/lib/python3.10/site-packages/httpx/_client.py:1426: DeprecationWarning
________________________________________________________________________________ test_async_testing[asyncio] ________________________________________________________________________________

    @pytest.mark.anyio
    async def test_async_testing():
>       await test_root()

tests/test_tutorial/test_async_tests/test_main.py:8:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
docs_src/async_tests/test_main.py:9: in test_root
    async with AsyncClient(app=app, base_url="http://test") as ac:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <httpx.AsyncClient object at 0x7feab390abc0>

    def __init__(
        self,
        *,
        auth: AuthTypes | None = None,
        params: QueryParamTypes | None = None,
        headers: HeaderTypes | None = None,
        cookies: CookieTypes | None = None,
        verify: VerifyTypes = True,
        cert: CertTypes | None = None,
        http1: bool = True,
        http2: bool = False,
        proxy: ProxyTypes | None = None,
        proxies: ProxiesTypes | None = None,
        mounts: None | (typing.Mapping[str, AsyncBaseTransport | None]) = None,
        timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG,
        follow_redirects: bool = False,
        limits: Limits = DEFAULT_LIMITS,
        max_redirects: int = DEFAULT_MAX_REDIRECTS,
        event_hooks: None
        | (typing.Mapping[str, list[typing.Callable[..., typing.Any]]]) = None,
        base_url: URLTypes = "",
        transport: AsyncBaseTransport | None = None,
        app: typing.Callable[..., typing.Any] | None = None,
        trust_env: bool = True,
        default_encoding: str | typing.Callable[[bytes], str] = "utf-8",
    ) -> None:
        super().__init__(
            auth=auth,
            params=params,
            headers=headers,
            cookies=cookies,
            timeout=timeout,
            follow_redirects=follow_redirects,
            max_redirects=max_redirects,
            event_hooks=event_hooks,
            base_url=base_url,
            trust_env=trust_env,
            default_encoding=default_encoding,
        )

        if http2:
            try:
                import h2  # noqa
            except ImportError:  # pragma: no cover
                raise ImportError(
                    "Using http2=True, but the 'h2' package is not installed. "
                    "Make sure to install httpx using `pip install httpx[http2]`."
                ) from None

        if proxies:
            message = (
                "The 'proxies' argument is now deprecated."
                " Use 'proxy' or 'mounts' instead."
            )
            warnings.warn(message, DeprecationWarning)
            if proxy:
                raise RuntimeError("Use either `proxy` or 'proxies', not both.")

        if app:
            message = (
                "The 'app' shortcut is now deprecated."
                " Use the explicit style 'transport=ASGITransport(app=...)' instead."
            )
>           warnings.warn(message, DeprecationWarning)
E           DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.

/usr/lib/python3.10/site-packages/httpx/_client.py:1426: DeprecationWarning
______________________________________________________________________________________ test_root[trio] ______________________________________________________________________________________

    @pytest.mark.anyio
    async def test_root():
>       async with AsyncClient(app=app, base_url="http://test") as ac:

docs_src/async_tests/test_main.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <httpx.AsyncClient object at 0x7feab099bbe0>

    def __init__(
        self,
        *,
        auth: AuthTypes | None = None,
        params: QueryParamTypes | None = None,
        headers: HeaderTypes | None = None,
        cookies: CookieTypes | None = None,
        verify: VerifyTypes = True,
        cert: CertTypes | None = None,
        http1: bool = True,
        http2: bool = False,
        proxy: ProxyTypes | None = None,
        proxies: ProxiesTypes | None = None,
        mounts: None | (typing.Mapping[str, AsyncBaseTransport | None]) = None,
        timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG,
        follow_redirects: bool = False,
        limits: Limits = DEFAULT_LIMITS,
        max_redirects: int = DEFAULT_MAX_REDIRECTS,
        event_hooks: None
        | (typing.Mapping[str, list[typing.Callable[..., typing.Any]]]) = None,
        base_url: URLTypes = "",
        transport: AsyncBaseTransport | None = None,
        app: typing.Callable[..., typing.Any] | None = None,
        trust_env: bool = True,
        default_encoding: str | typing.Callable[[bytes], str] = "utf-8",
    ) -> None:
        super().__init__(
            auth=auth,
            params=params,
            headers=headers,
            cookies=cookies,
            timeout=timeout,
            follow_redirects=follow_redirects,
            max_redirects=max_redirects,
            event_hooks=event_hooks,
            base_url=base_url,
            trust_env=trust_env,
            default_encoding=default_encoding,
        )

        if http2:
            try:
                import h2  # noqa
            except ImportError:  # pragma: no cover
                raise ImportError(
                    "Using http2=True, but the 'h2' package is not installed. "
                    "Make sure to install httpx using `pip install httpx[http2]`."
                ) from None

        if proxies:
            message = (
                "The 'proxies' argument is now deprecated."
                " Use 'proxy' or 'mounts' instead."
            )
            warnings.warn(message, DeprecationWarning)
            if proxy:
                raise RuntimeError("Use either `proxy` or 'proxies', not both.")

        if app:
            message = (
                "The 'app' shortcut is now deprecated."
                " Use the explicit style 'transport=ASGITransport(app=...)' instead."
            )
>           warnings.warn(message, DeprecationWarning)
E           DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.

/usr/lib/python3.10/site-packages/httpx/_client.py:1426: DeprecationWarning
_________________________________________________________________________________ test_async_testing[trio] __________________________________________________________________________________

    @pytest.mark.anyio
    async def test_async_testing():
>       await test_root()

tests/test_tutorial/test_async_tests/test_main.py:8:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
docs_src/async_tests/test_main.py:9: in test_root
    async with AsyncClient(app=app, base_url="http://test") as ac:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <httpx.AsyncClient object at 0x7feab32af370>

    def __init__(
        self,
        *,
        auth: AuthTypes | None = None,
        params: QueryParamTypes | None = None,
        headers: HeaderTypes | None = None,
        cookies: CookieTypes | None = None,
        verify: VerifyTypes = True,
        cert: CertTypes | None = None,
        http1: bool = True,
        http2: bool = False,
        proxy: ProxyTypes | None = None,
        proxies: ProxiesTypes | None = None,
        mounts: None | (typing.Mapping[str, AsyncBaseTransport | None]) = None,
        timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG,
        follow_redirects: bool = False,
        limits: Limits = DEFAULT_LIMITS,
        max_redirects: int = DEFAULT_MAX_REDIRECTS,
        event_hooks: None
        | (typing.Mapping[str, list[typing.Callable[..., typing.Any]]]) = None,
        base_url: URLTypes = "",
        transport: AsyncBaseTransport | None = None,
        app: typing.Callable[..., typing.Any] | None = None,
        trust_env: bool = True,
        default_encoding: str | typing.Callable[[bytes], str] = "utf-8",
    ) -> None:
        super().__init__(
            auth=auth,
            params=params,
            headers=headers,
            cookies=cookies,
            timeout=timeout,
            follow_redirects=follow_redirects,
            max_redirects=max_redirects,
            event_hooks=event_hooks,
            base_url=base_url,
            trust_env=trust_env,
            default_encoding=default_encoding,
        )

        if http2:
            try:
                import h2  # noqa
            except ImportError:  # pragma: no cover
                raise ImportError(
                    "Using http2=True, but the 'h2' package is not installed. "
                    "Make sure to install httpx using `pip install httpx[http2]`."
                ) from None

        if proxies:
            message = (
                "The 'proxies' argument is now deprecated."
                " Use 'proxy' or 'mounts' instead."
            )
            warnings.warn(message, DeprecationWarning)
            if proxy:
                raise RuntimeError("Use either `proxy` or 'proxies', not both.")

        if app:
            message = (
                "The 'app' shortcut is now deprecated."
                " Use the explicit style 'transport=ASGITransport(app=...)' instead."
            )
>           warnings.warn(message, DeprecationWarning)
E           DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.

/usr/lib/python3.10/site-packages/httpx/_client.py:1426: DeprecationWarning
_________________________________________________________________________________ test_get_custom_response __________________________________________________________________________________

    def test_get_custom_response():
>       response = client.get("/items/")

tests/test_tutorial/test_custom_response/test_tutorial001.py:9:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.10/site-packages/starlette/testclient.py:543: in get
    return super().get(
/usr/lib/python3.10/site-packages/httpx/_client.py:1054: in get
    return self.request(
/usr/lib/python3.10/site-packages/starlette/testclient.py:511: in request
    return super().request(
/usr/lib/python3.10/site-packages/httpx/_client.py:827: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/usr/lib/python3.10/site-packages/httpx/_client.py:914: in send
    response = self._send_handling_auth(
/usr/lib/python3.10/site-packages/httpx/_client.py:942: in _send_handling_auth
    response = self._send_handling_redirects(
/usr/lib/python3.10/site-packages/httpx/_client.py:979: in _send_handling_redirects
    response = self._send_single_request(request)
/usr/lib/python3.10/site-packages/httpx/_client.py:1015: in _send_single_request
    response = transport.handle_request(request)
/usr/lib/python3.10/site-packages/starlette/testclient.py:393: in handle_request
    raise exc
/usr/lib/python3.10/site-packages/starlette/testclient.py:390: in handle_request
    portal.call(self.app, scope, receive, send)
/usr/lib/python3.10/site-packages/anyio/from_thread.py:288: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/usr/lib64/python3.10/concurrent/futures/_base.py:458: in result
    return self.__get_result()
/usr/lib64/python3.10/concurrent/futures/_base.py:403: in __get_result
    raise self._exception
/usr/lib/python3.10/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval_or_awaitable
fastapi/applications.py:1053: in __call__
    await super().__call__(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/applications.py:118: in __call__
    await self.middleware_stack(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/usr/lib/python3.10/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/usr/lib/python3.10/site-packages/starlette/middleware/exceptions.py:65: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/_exception_handler.py:64: in wrapped_app
    raise exc
/usr/lib/python3.10/site-packages/starlette/_exception_handler.py:53: in wrapped_app
    await app(scope, receive, sender)
/usr/lib/python3.10/site-packages/starlette/routing.py:756: in __call__
    await self.middleware_stack(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/routing.py:776: in app
    await route.handle(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/routing.py:297: in handle
    await self.app(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/routing.py:77: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/usr/lib/python3.10/site-packages/starlette/_exception_handler.py:64: in wrapped_app
    raise exc
/usr/lib/python3.10/site-packages/starlette/_exception_handler.py:53: in wrapped_app
    await app(scope, receive, sender)
/usr/lib/python3.10/site-packages/starlette/routing.py:72: in app
    response = await func(request)
fastapi/routing.py:307: in app
    response = actual_response_class(content, **response_args)
/usr/lib/python3.10/site-packages/starlette/responses.py:184: in __init__
    super().__init__(content, status_code, headers, media_type, background)
/usr/lib/python3.10/site-packages/starlette/responses.py:41: in __init__
    self.body = self.render(content)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <fastapi.responses.UJSONResponse object at 0x7feab05bfca0>, content = [{'item_id': 'Foo'}]

    def render(self, content: Any) -> bytes:
>       assert ujson is not None, "ujson must be installed to use UJSONResponse"
E       AssertionError: ujson must be installed to use UJSONResponse

fastapi/responses.py:32: AssertionError
___________________________________________________________________________________ test_verify_password ____________________________________________________________________________________

    @needs_py310
    def test_verify_password():
>       from docs_src.security.tutorial005_an_py310 import fake_users_db, verify_password

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
__________________________________________________________________________________ test_get_password_hash ___________________________________________________________________________________

    @needs_py310
    def test_get_password_hash():
>       from docs_src.security.tutorial005_an_py310 import get_password_hash

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
_________________________________________________________________________________ test_create_access_token __________________________________________________________________________________

    @needs_py310
    def test_create_access_token():
>       from docs_src.security.tutorial005_an_py310 import create_access_token

tests/test_tutorial/test_security/test_tutorial005_an_py310.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py310.py:11: ModuleNotFoundError
___________________________________________________________________________________ test_verify_password ____________________________________________________________________________________

    @needs_py39
    def test_verify_password():
>       from docs_src.security.tutorial005_an_py39 import fake_users_db, verify_password

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
__________________________________________________________________________________ test_get_password_hash ___________________________________________________________________________________

    @needs_py39
    def test_get_password_hash():
>       from docs_src.security.tutorial005_an_py39 import get_password_hash

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
_________________________________________________________________________________ test_create_access_token __________________________________________________________________________________

    @needs_py39
    def test_create_access_token():
>       from docs_src.security.tutorial005_an_py39 import create_access_token

tests/test_tutorial/test_security/test_tutorial005_an_py39.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Annotated, List, Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_an_py39.py:11: ModuleNotFoundError
___________________________________________________________________________________ test_verify_password ____________________________________________________________________________________

    @needs_py310
    def test_verify_password():
>       from docs_src.security.tutorial005_py310 import fake_users_db, verify_password

tests/test_tutorial/test_security/test_tutorial005_py310.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
__________________________________________________________________________________ test_get_password_hash ___________________________________________________________________________________

    @needs_py310
    def test_get_password_hash():
>       from docs_src.security.tutorial005_py310 import get_password_hash

tests/test_tutorial/test_security/test_tutorial005_py310.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
_________________________________________________________________________________ test_create_access_token __________________________________________________________________________________

    @needs_py310
    def test_create_access_token():
>       from docs_src.security.tutorial005_py310 import create_access_token

tests/test_tutorial/test_security/test_tutorial005_py310.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py310.py:10: ModuleNotFoundError
___________________________________________________________________________________ test_verify_password ____________________________________________________________________________________

    @needs_py39
    def test_verify_password():
>       from docs_src.security.tutorial005_py39 import fake_users_db, verify_password

tests/test_tutorial/test_security/test_tutorial005_py39.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
__________________________________________________________________________________ test_get_password_hash ___________________________________________________________________________________

    @needs_py39
    def test_get_password_hash():
>       from docs_src.security.tutorial005_py39 import get_password_hash

tests/test_tutorial/test_security/test_tutorial005_py39.py:103:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
_________________________________________________________________________________ test_create_access_token __________________________________________________________________________________

    @needs_py39
    def test_create_access_token():
>       from docs_src.security.tutorial005_py39 import create_access_token

tests/test_tutorial/test_security/test_tutorial005_py39.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    from datetime import datetime, timedelta, timezone
    from typing import Union

    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jose import JWTError, jwt
>   from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'

docs_src/security/tutorial005_py39.py:11: ModuleNotFoundError
================================================================================== short test summary info ==================================================================================
SKIPPED [1] tests/test_compat.py:26: requires Pydantic v1
SKIPPED [1] tests/test_compat.py:32: requires Pydantic v1
SKIPPED [1] tests/test_datetime_custom_encoder.py:35: requires Pydantic v1
SKIPPED [1] tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py:16: requires Pydantic v1
SKIPPED [1] tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py:27: requires Pydantic v1
SKIPPED [1] tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py:40: requires Pydantic v1
SKIPPED [1] tests/test_inherited_custom_class.py:74: requires Pydantic v1
SKIPPED [1] tests/test_jsonable_encoder.py:153: requires Pydantic v1
SKIPPED [1] tests/test_jsonable_encoder.py:208: requires Pydantic v1
SKIPPED [1] tests/test_jsonable_encoder.py:285: requires Pydantic v1
SKIPPED [1] tests/test_read_with_orm_mode.py:49: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_async_sql_databases/test_tutorial001.py:16: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_body_updates/test_tutorial001.py:183: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_body_updates/test_tutorial001_py310.py:186: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_body_updates/test_tutorial001_py39.py:186: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_dataclasses/test_tutorial003.py:193: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py:125: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py:15: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py:32: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py:46: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py:65: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py:125: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py:132: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py:132: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py:15: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py:29: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py:15: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py:30: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_settings/test_tutorial001_pv1.py:7: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:33: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:46: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:56: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:63: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:73: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:92: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases.py:104: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:29: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:42: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:52: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:59: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:69: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:94: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py:106: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:33: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:47: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:58: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:66: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:77: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:103: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py:116: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:33: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:47: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:58: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:66: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:77: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:103: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py:116: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:32: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:46: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:57: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:65: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:76: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:102: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py:115: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:32: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:46: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:57: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:65: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:76: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:102: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py:115: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_testing_databases.py:11: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py:10: requires Pydantic v1
SKIPPED [1] tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py:10: requires Pydantic v1
SKIPPED [1] tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py:6: requires Pydantic v1
ERROR tests/test_tutorial/test_async_sql_databases/test_tutorial001.py::test_openapi_schema - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_login - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_login_incorrect_password - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_login_incorrect_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_incorrect_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_incorrect_token_type - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token_no_sub - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token_no_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token_no_scope - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token_nonexistent_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_token_inactive_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_read_items - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_read_system_status - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_read_system_status_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_openapi_schema - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_login - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_login_incorrect_password - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_login_incorrect_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_incorrect_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_incorrect_token_type - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token_no_sub - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token_no_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token_no_scope - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token_nonexistent_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_token_inactive_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_read_items - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_read_system_status - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_read_system_status_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_openapi_schema - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_login - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_login_incorrect_password - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_login_incorrect_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_incorrect_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_incorrect_token_type - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token_no_sub - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token_no_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token_no_scope - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token_nonexistent_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_token_inactive_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_read_items - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_read_system_status - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_read_system_status_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py310.py::test_openapi_schema - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_login - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_login_incorrect_password - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_login_incorrect_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_incorrect_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_incorrect_token_type - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token_no_sub - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token_no_username - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token_no_scope - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token_nonexistent_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_token_inactive_user - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_read_items - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_read_system_status - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_read_system_status_no_token - ModuleNotFoundError: No module named 'passlib'
ERROR tests/test_tutorial/test_security/test_tutorial005_py39.py::test_openapi_schema - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_async_tests/test_main.py::test_root[asyncio] - DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.
FAILED tests/test_tutorial/test_async_tests/test_main.py::test_async_testing[asyncio] - DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.
FAILED tests/test_tutorial/test_async_tests/test_main.py::test_root[trio] - DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.
FAILED tests/test_tutorial/test_async_tests/test_main.py::test_async_testing[trio] - DeprecationWarning: The 'app' shortcut is now deprecated. Use the explicit style 'transport=ASGITransport(app=...)' instead.
FAILED tests/test_tutorial/test_custom_response/test_tutorial001.py::test_get_custom_response - AssertionError: ujson must be installed to use UJSONResponse
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_verify_password - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_get_password_hash - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py310.py::test_create_access_token - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_verify_password - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_get_password_hash - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_an_py39.py::test_create_access_token - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py310.py::test_verify_password - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py310.py::test_get_password_hash - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py310.py::test_create_access_token - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py39.py::test_verify_password - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py39.py::test_get_password_hash - ModuleNotFoundError: No module named 'passlib'
FAILED tests/test_tutorial/test_security/test_tutorial005_py39.py::test_create_access_token - ModuleNotFoundError: No module named 'passlib'
================================================================== 17 failed, 1892 passed, 75 skipped, 65 errors in 30.01s ==================================================================
You must be logged in to vote
0 replies
Comment options

Duplicate of: #11773

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.