Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740388 - app-admin/salt-3001.1 - salt-ssh: pkg_resources.DistributionNotFound: The 'pycryptodomex>=3.9.7' distribution was not found and is required by salt
Summary: app-admin/salt-3001.1 - salt-ssh: pkg_resources.DistributionNotFound: The 'py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-04 14:21 UTC by haarp
Modified: 2020-09-15 18:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info app-admin/salt (file_740388.txt,9.79 KB, text/plain)
2020-09-05 10:06 UTC, haarp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2020-09-04 14:21:50 UTC
salt-ssh works with app-admin/salt-3000.3, but fails to run with 3001.1

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/salt-ssh", 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 'pycryptodomex>=3.9.7' distribution was not found and is required by salt

dev-python/pycryptodome-3.9.8 is installed. I don't understand the difference between pycryptodome and pycryptodomex (if there is any).

Thanks!
Comment 1 haarp 2020-09-05 10:06:12 UTC
Created attachment 658518 [details]
emerge --info app-admin/salt
Comment 2 Larry the Git Cow gentoo-dev 2020-09-06 19:13:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f5c9e44e71e1046e35bbf99351f06b2847cfac

commit a6f5c9e44e71e1046e35bbf99351f06b2847cfac
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2020-09-06 19:12:51 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-09-06 19:13:08 +0000

    app-admin/salt-3001.1-r1: Revbump, pycryptodomex dep (bug #740388)
    
    Closes: https://bugs.gentoo.org/740388
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../{salt-3001.1.ebuild => salt-3001.1-r1.ebuild}  | 22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)
Comment 3 haarp 2020-09-15 18:49:23 UTC
Works now, thanks!