Skip to content

Cleanup passlib leftovers#1184

Open
selfisekai wants to merge 2 commits intopallets-eco:mainfrom
selfisekai:passlib-leftovers
Open

Cleanup passlib leftovers#1184
selfisekai wants to merge 2 commits intopallets-eco:mainfrom
selfisekai:passlib-leftovers

Conversation

@selfisekai
Copy link

No description provided.

@jwag956
Copy link
Collaborator

jwag956 commented Mar 9, 2026

This seems an odd PR - the libpass package installs as passlib - no changes are required.

@selfisekai
Copy link
Author

No it doesn't?

ImportError while loading conftest '/home/lauren/aports/testing/py3-flask-security/src/flask-security-5.6.2/tests/conftest.py'.
tests/conftest.py:24: in <module>
    from passlib.ifc import PasswordHash
E   ModuleNotFoundError: No module named 'passlib'

@ThiefMaster
Copy link

Then something must be wrong with your environment...

$ uvx --with libpass ipython
Python 3.13.3 (main, Apr  9 2025, 04:03:52) [Clang 20.1.0 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 9.11.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from passlib.ifc import PasswordHash

In [2]:

@jwag956
Copy link
Collaborator

jwag956 commented Mar 9, 2026

Also - libpass is an explicit dependency of Flask-Security. In the case of development (where you may not want to install Flask-Security it is listed in the requirements/dev.txt file (along with other important packages needed to complete development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants