meta-cgl-common: depend on meta-python2 layer
PATCH 1/1 meta-cgl-common: depend on meta-python2 layer
It requires meta-python2 to be there at the moment.
More specifically, the crmsh recipe needs python-setuptools-native.
--- meta-cgl-common/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-cgl-common/conf/layer.conf +1 -1
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "cgl-common" BBFILE_PATTERN_cgl-common = "^${LAYERDIR}/" BBFILE_PRIORITY_cgl-common = "7" -LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux" +LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux meta-python2" LAYERSERIES_COMPAT_cgl-common = "warrior zeus dunfell"
Signature · 1 line
2.17.1
Quoted 2 lines · Chen Qi
It requires meta-python2 to be there at the moment.
More specifically, the crmsh recipe needs python-setuptools-native.
Hi Qi,
Are you sure?
It looks like crmsh moved to python3 a while ago as indicated below.
If there's still a dependency, please open an issue:
https://github.com/ClusterLabs/crmsh/issues?q=is%3Aissue+is%3Aopen+setuptools
Thanks,
../Randy
$ cd .../crmsh.git
$ git status HEAD detached at 4.2.0 nothing to commit, working tree clean
$ grep -r setuptools *
contrib/setup.py:from setuptools import setup
crmsh.spec.in:BuildRequires: python3-setuptools
doc/website-v1/development.adoc:* setuptools
Dockerfile:RUN zypper -n --gpg-auto-import-keys ref && zypper -n --gpg-auto-import-keys in pacemaker python3 python3-lxml python3-python-dateutil python3-parallax libglue-devel python3-setuptools python3-tox asciidoc autoconf automake make pkgconfig which libxslt-tools mailx procps python3-nose python3-PyYAML python3-curses tar README.md:It then calls the python setuptools setup.py to actually process the
setup.py:from setuptools import setup
git log -1 --stat 845af7b9fb7a4c212d2e67b8a44cf655e702edaa commit 845af7b9fb7a4c212d2e67b8a44cf655e702edaa
Author: Kristoffer Grönlund <[email protected]>
Date: Fri Oct 27 05:47:02 2017
dev: Updated spec file
crmsh.spec | 106 +++++++++++++++++...+++++++++-----------------------------------------
1 file changed, 65 insertions(+), 41 deletions(-)
$ grep setuptools crmsh.spec.in BuildRequires: python3-setuptools
Quoted 22 lines
Signed-off-by Chen Qi <[email protected]>--- meta-cgl-common/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-cgl-common/conf/layer.conf +1
-1@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "cgl-common" BBFILE_PATTERN_cgl-common = "^${LAYERDIR}/" BBFILE_PRIORITY_cgl-common = "7" -LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux" +LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux meta-python2" LAYERSERIES_COMPAT_cgl-common = "warrior zeus dunfell"
Signature · 2 lines
# Randy MacLeod # Wind River Linux
THANKS. I've sent out a new patch.
Quoted 77 lines · Randy MacLeod
Quoted 2 lines · Chen Qi
It requires meta-python2 to be there at the moment.
More specifically, the crmsh recipe needs python-setuptools-native.Hi Qi,
Are you sure?
It looks like crmsh moved to python3 a while ago as indicated below.If there's still a dependency, please open an issue:
https://github.com/ClusterLabs/crmsh/issues?q=is%3Aissue+is%3Aopen+setuptools
Thanks,
../Randy
$ cd .../crmsh.git$ git status HEAD detached at 4.2.0 nothing to commit, working tree clean$ grep -r setuptools *contrib/setup.py:from setuptools import setup
crmsh.spec.in:BuildRequires: python3-setuptools
doc/website-v1/development.adoc:*setuptools
Dockerfile:RUN zypper -n --gpg-auto-import-keys ref && zypper -n
--gpg-auto-import-keys in pacemaker python3 python3-lxml
python3-python-dateutil python3-parallax libglue-devel python3-setuptools python3-tox asciidoc autoconf automake make pkgconfig which libxslt-tools mailx procps python3-nose python3-PyYAML python3-curses tar README.md:It then calls the python setuptoolssetup.pyto actually process the
setup.py:from setuptools import setupgit log -1 --stat
845af7b9fb7a4c212d2e67b8a44cf655e702edaacommit845af7b9fb7a4c212d2e67b8a44cf655e702edaaAuthor: Kristoffer Grönlund <[email protected]> Date: Fri Oct 27 05:47:02 2017dev: Updated spec file
crmsh.spec | 106 +++++++++++++++++...+++++++++----------------------------------------- 1 file changed, 65 insertions(+), 41 deletions(-)$ grep setuptools crmsh.spec.in BuildRequires: python3-setuptoolsQuoted 21 lines
Signed-off-by Chen Qi<[email protected]>--- meta-cgl-common/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-cgl-common/conf/layer.conf +1
-1@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "cgl-common" BBFILE_PATTERN_cgl-common = "^${LAYERDIR}/" BBFILE_PRIORITY_cgl-common = "7" -LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux" +LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux meta-python2" LAYERSERIES_COMPAT_cgl-common = "warrior zeus dunfell"Signature · 2 lines
# Randy MacLeod # Wind River Linux