Contact Details
A01795033@tec.mx
Bug Description
When installing mattersim from package repository, the dependencies require a setuptools>=45 but as of version 82 and above they have removed pkg_resources which breaks the current implementation.
MatterSim Version
v1.2.0
Python Version
3.10
Reproduction Steps
- Install mattersim from package repository like Pypi with nothing else installed on env constraining to setuptools<=82
- import mattersim
Expected Behavior
Should import without issue by not depending on pkg_resources or constraining to a setuptools<=82
Actual Behavior
Error on import due to No module named 'pkg_resources'
Error Logs
>>> import mattersim
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/mnt/c/Users/acort/source/materials/pipeline/environments/.venv-sim/lib/python3.10/site-packages/mattersim/__init__.py", line 2, in <module>
from .__version__ import __version__ # noqa: F401
File "/mnt/c/Users/acort/source/materials/pipeline/environments/.venv-sim/lib/python3.10/site-packages/mattersim/__version__.py", line 2, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Code of Conduct
Contact Details
A01795033@tec.mx
Bug Description
When installing mattersim from package repository, the dependencies require a setuptools>=45 but as of version 82 and above they have removed pkg_resources which breaks the current implementation.
MatterSim Version
v1.2.0
Python Version
3.10
Reproduction Steps
Expected Behavior
Should import without issue by not depending on pkg_resources or constraining to a setuptools<=82
Actual Behavior
Error on import due to No module named 'pkg_resources'
Error Logs
Code of Conduct