Bug 2403565
| Summary: | python-flask-security-too: Fails to build with setuptools 80.9.0 [ERROR in tests: UserWarning: pkg_resources is deprecated as an API] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-flask-security-too | Assignee: | Sandro Mani <manisandro> |
| Status: | NEW --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | manisandro |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2362565 | ||
|
Description
Miro Hrončok
2025-10-13 15:41:51 UTC
+ /usr/bin/pytest -k 'not test_login_email_whatever'
ImportError while loading conftest '/builddir/build/BUILD/python-flask-security-too-5.6.2-build/flask_security_too-5.6.2/tests/conftest.py'.
tests/conftest.py:37: in <module>
from flask_security import (
flask_security/__init__.py:17: in <module>
from .core import (
flask_security/core.py:92: in <module>
from .totp import Totp
flask_security/totp.py:18: in <module>
from passlib.pwd import genword
/usr/lib/python3.14/site-packages/passlib/pwd.py:16: in <module>
import pkg_resources
/usr/lib/python3.14/site-packages/pkg_resources/__init__.py:98: in <module>
warnings.warn(
E UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
I plan to proceed with the setuptools update soon. Let me know if I should wait for python-flask-security-too. |