Document setuptools upgrade for CentOS7
See original GitHub issueInstallation described for CentOS 7 failed on a fresh GenericCloud image with:
$ sudo yum install -y epel-release
$ sudo yum install -y gcc python-pip python-devel openssl-devel libselinux-python
$ pip install --user molecule
[...]
Collecting testinfra==1.19.0 (from molecule==2.20)
Using cached https://files.pythonhosted.org/packages/2b/96/3c0eb74894acf3e026e437ee1b1161a200adb9c9a189c36bc4a92ed2db79/testinfra-1.19.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-asndpD/testinfra/setup.py", line 59, in <module>
'six>=1.4',
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 302, in finalize_options
ep.load()(self, ep.name, value)
File "/tmp/pip-build-asndpD/testinfra/setuptools_scm-3.2.0-py2.7.egg/setuptools_scm/integration.py", line 10, in version_keyword
File "/tmp/pip-build-asndpD/testinfra/setuptools_scm-3.2.0-py2.7.egg/setuptools_scm/version.py", line 66, in _warn_if_setuptools_outdated
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
The version bump of testinfra from 1.16.0 to 1.19.0 by #1751 causes this issue.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Document setuptools upgrade for CentOS7 #1859 - GitHub
Installation described for CentOS 7 failed on a fresh GenericCloud image with: $ sudo yum install -y epel-release $ sudo yum install -y...
Read more >Installing python-setuptools 20.4 or greater on CENTOS 7 for ...
I am trying to install setuptools 20.4 or greater as it is a requirement for CKAN. I have tried downloading the rpm files...
Read more >python-setuptools-0.9.8-7.el7.noarch.rpm - CentOS Repositories
Setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones...
Read more >Installing pip/setuptools/wheel with Linux Package Managers
This section covers how to install pip, setuptools, and wheel using Linux package managers. ... To additionally upgrade setuptools, run:.
Read more >setuptools-rust - PyPI
Compile and distribute Python extensions written in Rust as easily as if they were written in C. Setup. For a complete example, see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @decentral1se,
a virtual environment is not an option because of the selinux trap:
My solution is to upgrade setuptools via:
Maybe this should be added to the documentation.
I will close it because I was not able to reproduce it myself. Still, if we find a way to reproduce it we should reopen it.