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 0.110.0 is using i its test suite passlib which seems is no longer maintained more than three years
https://foss.heptapod.net/python-libs/passlib/

========================================================================================== ERRORS ===========================================================================================
__________________________________________________________ ERROR collecting tests/test_tutorial/test_security/test_tutorial005.py ___________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/fastapi-0.110.0/tests/test_tutorial/test_security/test_tutorial005.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_tutorial/test_security/test_tutorial005.py:4: in <module>
    from docs_src.security.tutorial005 import (
docs_src/security/tutorial005.py:11: in <module>
    from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'
_________________________________________________________ ERROR collecting tests/test_tutorial/test_security/test_tutorial005_an.py _________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/fastapi-0.110.0/tests/test_tutorial/test_security/test_tutorial005_an.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_tutorial/test_security/test_tutorial005_an.py:4: in <module>
    from docs_src.security.tutorial005_an import (
docs_src/security/tutorial005_an.py:11: in <module>
    from passlib.context import CryptContext
E   ModuleNotFoundError: No module named 'passlib'
================================================================================== short test summary info ==================================================================================

Operating System

Linux

Operating System Details

No response

FastAPI Version

0.110.0

Pydantic Version

N/A

Python Version

N/A

Additional Context

No response

You must be logged in to vote

Replies: 1 comment

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
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.