Closed ggiesen closed 1 year ago
Even once I fix that, on my production instance I get:
[ERROR ] Error processing Salt Extension saltext.vmware(version: 23.4.4.0rc1): No module named 'saltext.vmware'
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/__init__.py", line 1462, in catch_entry_points_exception
yield context
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/__init__.py", line 155, in _module_dirs
loaded_entry_point = entry_point.load()
File "/opt/saltstack/salt/lib/python3.10/site-packages/importlib_metadata/__init__.py", line 208, in load
module = import_module(match.group('module'))
File "/opt/saltstack/salt/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'saltext.vmware'
@ggiesen Need to get a template here for this repo, but please use something similar to regular salt issue template and fill out versions-report or test.versions, so know what OS you are even using here.
Did note RHEL 9 above, but a little more format on the issue would be helpful
After some further debugging, I don't think this is an issue with saltext.vmware, but rather a salt-pip bug, probably related to https://github.com/saltstack/salt/issues/64662. I'm going to close this issue and append it to that issue.
Installing saltext.vmware on Salt 3006.1 causes pip to uninstall Salt due to conflicting jinja requirements:
This is due to saltext.vmware requiring
Jinja2 <= 3.1.0
:https://github.com/saltstack/salt-ext-modules-vmware/blob/e50073f4f298b0b5579a25ce4f070a36ef28c401/setup.cfg#L44
whereas Salt 3006.1 is bundled with
3.1.2