project-config/nodepool/elements/infra-package-needs/pkg-map
Markos Chandras ba3fe3678f nodepool: elements: infra-package-needs: Install core python modules on openSUSE
openSUSE packages core python2 modules like the xml one in a separate
package called python-xml. Similarly, python3 contains the base modules
in python3-base and the xml one in python3. As such it's best to ensure
that both python-xml and python3 are installed similar to
I5cd5d1127ae62d6753c2ace44965179c5400bb9a

Also, update bindep.txt to include python3-devel and
python-xml for SUSE distros.

This is supposed to fix python3 related failures on openSUSE jobs such
as the following one:

2017-06-28 13:00:47.628446 | + virtualenv -p python3 env
2017-06-28 13:00:47.926042 | Using base prefix '/usr'
2017-06-28 13:00:47.926098 | New python executable in /home/jenkins/env/bin/python3
2017-06-28 13:00:47.926117 | Also creating executable in /home/jenkins/env/bin/python
2017-06-28 13:00:47.926144 | Please make sure you remove any previous custom paths from your /home/jenkins/.pydistutils.cfg file.
2017-06-28 13:00:48.303569 | Installing setuptools, pip, wheel...
2017-06-28 13:00:48.303705 |   Complete output from command /home/jenkins/env/bin/python3 - setuptools pip wheel:
2017-06-28 13:00:48.303733 |   Traceback (most recent call last):
2017-06-28 13:00:48.303748 |   File "<stdin>", line 7, in <module>
2017-06-28 13:00:48.303782 |   File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py", line 26, in <module>
2017-06-28 13:00:48.303816 |   File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/utils/__init__.py", line 27, in <module>
2017-06-28 13:00:48.303868 |   File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/pkg_resources/__init__.py", line 35, in <module>
2017-06-28 13:00:48.303904 |   File "/usr/lib64/python3.4/plistlib.py", line 65, in <module>
2017-06-28 13:00:48.303920 |     from xml.parsers.expat import ParserCreate
2017-06-28 13:00:48.303932 | ImportError: No module named 'xml'

Change-Id: I32899793a78464e25aec0e213eee9c65bd915a51
2017-07-04 08:27:42 +01:00

63 lines
1.6 KiB
Plaintext

{
"distro": {
"fedora": {
"python3-dev": "python3-devel",
"iptables": "iptables-services",
"haveged": "haveged",
"redhat-rpm-config": "redhat-rpm-config",
"redhat-lsb-core": "redhat-lsb-core"
},
"gentoo": {
"build-essential": "",
"cron": "sys-process/cronie",
"curl": "net-misc/curl",
"ntp": "net-misc/ntp",
"python-dev": "",
"python3-dev": "",
"traceroute": "net-analyzer/traceroute",
"uuid-runtime": ""
},
"centos": {
"centos-release-openstack-ocata": "centos-release-openstack-ocata"
}
},
"family": {
"redhat": {
"cron": "cronie",
"build-essential": "glibc-devel gcc make",
"dnsutils": "bind-utils",
"iproute2": "iproute",
"iputils-ping": "iputils",
"ntp": "ntp ntp-perl",
"python-dev": "python-devel",
"python3-dev": "",
"uuid-runtime": "",
"iptables": "iptables-services",
"haveged": ""
},
"suse": {
"build-essential": "glibc-devel gcc make",
"dnsutils": "bind-utils",
"git": "git-core",
"iputils-ping": "iputils",
"ntpdate": "",
"python-xml": "python-xml",
"python-dev": "python-devel",
"python3-dev": "python3-devel",
"python3": "python3",
"iptables": "iptables SuSEfirewall2",
"uuid-runtime": "uuidd"
}
},
"default": {
"curl": "curl",
"iptables": "iptables-persistent",
"gentoolkit": "",
"centos-release-openstack-ocata": "",
"redhat-rpm-config": "",
"redhat-lsb-core": "",
"python-xml": "",
"python3": ""
}
}