-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
bloqade analog is calling deprecated function pkg_resources
in
| __import__("pkg_resources").declare_namespace(__name__) |
src/bloqade/analog/__init__.py
2: __import__("pkg_resources").declare_namespace(__name__)
The function will be removed 2025-11-30.
Minimal broken example
import bloqade.analog as ba
Expected behavior
Screenshots
import bloqade.analog as ba1
XXXXXXX/.venv/lib/python3.12/site-packages/bloqade/analog/__init__.py:2: 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.
__import__("pkg_resources").declare_namespace(__name__)
Desktop (please complete the following information):
- OS: macOS
- Bloqade Version: 0.26.2
- Python Version:3.12.9
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working