After I upgraded today my salt master from app-admin/salt-2019.2.3 (on Python 3.6) to app-admin/salt-3000.2 and also app-admin/salt-3000.2-r2 (Python 3.7), the salt service doesn't start anymore. Trying salt --versions-report indicates there is a problem with pycrypto. Given that pycrypto is currently masked in Portage and that PyCryptoDome should be a drop-in replacement for PyCrypto, I'm not sure what is going on here. Reproducible: Always Steps to Reproduce: 1. Upgrade salt (emerge --deep --update --newuse app-admin/salt) 2. Reinstall all python modules (dev-python/*) 3. Try to start salt with /etc/init.d/salt-master restart 4. View errors salt --versions-report Actual Results: salt --versions-report Traceback (most recent call last): File "/usr/lib/python-exec/python3.7/salt", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module> @_call_aside File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pycrypto>=2.6.1' distribution was not found and is required by salt Expected Results: Salt service starting normally Salt information: http://dpaste.com/0SN0M4D PyCryptoDome information: http://dpaste.com/2E538D0
Created attachment 635374 [details] salt --versions-report salt --versions-report
Created attachment 635376 [details] emerge --info app-admin/salt emerge --info app-admin/salt
Created attachment 635378 [details] emerge --info dev-python/pycryptodome emerge --info dev-python/pycryptodome
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46a5f234c7ee1202d5b5dfd87ea5ad643f8eee8 commit f46a5f234c7ee1202d5b5dfd87ea5ad643f8eee8 Author: Patrick McLean <patrick.mclean@sony.com> AuthorDate: 2020-04-30 18:56:47 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-04-30 18:57:38 +0000 app-admin/salt-3000.2-r3: revbump,pycrypto deps, fix warning (bug #720148) Get rid of all pycrypto deps from requirements files, fix collections.abc warning in bundled tornado. Closes: https://bugs.gentoo.org/720148 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> app-admin/salt/files/salt-3000.2-tornado-py38.patch | 12 ++++++++++++ .../salt/{salt-3000.2-r2.ebuild => salt-3000.2-r3.ebuild} | 4 ++++ 2 files changed, 16 insertions(+)