Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3-inject-pip broken for noetic #43771

Open
InigoMoreno opened this issue Dec 3, 2024 · 0 comments
Open

python3-inject-pip broken for noetic #43771

InigoMoreno opened this issue Dec 3, 2024 · 0 comments

Comments

@InigoMoreno
Copy link
Contributor

The inject pip package (used by mqtt_bridge) has released a version that breaks in noetics as it uses python3.9 typing:

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/mqtt_bridge/mqtt_bridge_node.py", line 4, in <module>
    from mqtt_bridge.app import mqtt_bridge_node
  File "/opt/ros/noetic/lib/python3/dist-packages/mqtt_bridge/app.py", line 1, in <module>
    import inject
  File "/usr/local/lib/python3.8/dist-packages/inject/__init__.py", line 332, in <module>
    class _ParametersInjection(Generic[T]):
  File "/usr/local/lib/python3.8/dist-packages/inject/__init__.py", line 341, in _ParametersInjection
    provided_params: frozenset[str],
TypeError: 'type' object is not subscriptable

The issue is solved when installing inject<5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant