Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799431 - app-admin/salt-3003.1: pkg_resources.DistributionNotFound: The 'contextvars' distribution was not found and is required by salt
Summary: app-admin/salt-3003.1: pkg_resources.DistributionNotFound: The 'contextvars' ...
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: 2021-07-01 05:49 UTC by Imran Iqbal
Modified: 2021-07-17 17:27 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imran Iqbal 2021-07-01 05:49:03 UTC
Effectively the identical situation as reported (and fixed) on the Arch Linux bug tracker:

* https://bugs.archlinux.org/task/71344

Most of the discussion there is relevant here.

Here are two builds which complete the installation of Salt but then fail when attempting to use it:

* https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/jobs/1390014292
* https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/jobs/1390014305

In the meantime, the workaround of installing `contextvars` with pip works:

* https://gitlab.com/myii/salt-image-builder/-/pipelines/330041851

However, the solution would be to remove the `contextvars` dependency, as suggested by SaltStack staff (quoted in the bug linked above).
Comment 1 INODE64 Sistemas 2021-07-07 08:41:03 UTC
I open a pull request to solve this problem https://github.com/gentoo/gentoo/pull/21547
Comment 2 Larry the Git Cow gentoo-dev 2021-07-17 17:27:41 UTC
The bug has been closed via the following commit(s):

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

commit d4af5bb08dbb9e759d6fac16cf23feba26ea7e3b
Author:     Francisco Javier Félix <web@inode64.com>
AuthorDate: 2021-07-07 08:37:41 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-07-17 17:27:24 +0000

    app-admin/salt: Remove contextvars dependency
    
    Closes: https://bugs.gentoo.org/799431
    Closes: https://github.com/gentoo/gentoo/pull/21547
    Signed-off-by: Francisco Javier Félix <ffelix@inode64.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-admin/salt/{salt-3003.1.ebuild => salt-3003.1-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)