-
-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Implicit namespace packages
The trame packages are still using deprecated implicit namespace package mechanism. You should switch to using PEP 420 style implicit namespaces. This is causing many ClobberErrors when installing trame from an environment.yml file.
Describe the solution you'd like
Basically, just remove the bits of trame defined in trame-client from this package (the __init__.py), remove all of the text within __init__.py related to __path__ = __import__("pkgutil").extend_path(__path__, __name__) from trame-client (you don't need that line anymore),
and remove all of the __init__.py files within the packages that provide the extended implicit namespaces for trame
this would also then allow you to stop making sure all of the __init__.py files match each other.
Additional context
Relevant setuptools information regarding implicit namespaces: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#finding-namespace-packages
Pep 420: https://peps.python.org/pep-0420/