Summary: | dev-util/conan: fails to run (The 'pluginbase<1.0,>=0.5' distribution was not found and is required by conan) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | alex.aralis |
Component: | Current packages | Assignee: | Azamat H. Hackimov <azamat.hackimov> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | annulen, insect0rs, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/16940 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
alex.aralis
2020-07-17 07:48:19 UTC
fails with $ conan Traceback (most recent call last): 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 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pluginbase 1.0.0 (/usr/lib/python3.7/site-packages), Requirement.parse('pluginbase<1.0,>=0.5'), {'conan'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python-exec/python3.7/conan", 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 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pluginbase<1.0,>=0.5' distribution was not found and is required by conan Seems like the ebuild depends on pluginbase-0.5 but 0.5 was pull in favor of pluginbase-1.0 (at least in ~amd64). also waiting for a fix Conan version 1.28.0 fix this specific issue. However, I found more similar issues: pkg_resources.DistributionNotFound: The 'six<=1.14.0,>=1.10.0' distribution was not found and is required by conan I found this strange because in the ebuild there is a section to "fix" those strict dependencies, from the ebuild: sed -i \ -e "s:six>=1.10.0,<1.14.0:six>=1.12.0:g" \ -e "s:node-semver==0.6.1:node-semver>=0.6.1:g" \ -e "s:distro>=1.0.2, <1.2.0:distro>=1.0.2:g" \ conans/requirements.txt || die (In reply to David from comment #3) > Conan version 1.28.0 fix this specific issue. However, I found more similar > issues: > pkg_resources.DistributionNotFound: The 'six<=1.14.0,>=1.10.0' distribution > was not found and is required by conan > > I found this strange because in the ebuild there is a section to "fix" those > strict dependencies, from the ebuild: > > sed -i \ > -e "s:six>=1.10.0,<1.14.0:six>=1.12.0:g" \ > -e "s:node-semver==0.6.1:node-semver>=0.6.1:g" \ > -e "s:distro>=1.0.2, <1.2.0:distro>=1.0.2:g" \ > conans/requirements.txt || die sry, PR also fixes this last issue :) Same issue The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23b7f34d026383a061b87a1f6fcf6f571484777 commit e23b7f34d026383a061b87a1f6fcf6f571484777 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-08-01 21:39:48 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-08-15 09:29:47 +0000 dev-util/conan: update to 1.28.0 Fixes strict dependency (#733026) Closes: https://bugs.gentoo.org/733026 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-util/conan/Manifest | 1 + dev-util/conan/conan-1.28.0.ebuild | 75 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) |