@@ -111,14 +111,6 @@ function configure_pypi_alternative_url {
111111
112112}
113113
114- # Setuptools 8 implements PEP 440, and 8.0.4 adds a warning triggered any time
115- # pkg_resources inspects the list of installed Python packages if there are
116- # non-compliant version numbers in the egg-info (for example, from distro
117- # system packaged Python libraries). This is off by default after 8.2 but can
118- # be enabled by uncommenting the lines below.
119- # PYTHONWARNINGS=$PYTHONWARNINGS,always::RuntimeWarning:pkg_resources
120- # export PYTHONWARNINGS
121-
122114# Show starting versions
123115get_versions
124116
@@ -135,19 +127,9 @@ if is_fedora && [[ ${DISTRO} == f* ]]; then
135127 # installed; this *should* remain separate under /usr/local and not break
136128 # if python3-pip is later installed.
137129 # For general sanity, we just use the packaged pip. It should be
138- # recent enough anyway.
139- install_package python3-pip
140- elif is_fedora || is_suse; then
141- # Python in suse/centos depends on the python-pip package; because
142- # of the split "system-python" uninstalling python3-pip also
143- # uninstalls the user python3 package which is bad and leaves us
144- # without a python to use. Just install over.
145- install_get_pip
130+ # recent enough anyway. This is included via rpms/general
131+ continue
146132else
147- # Remove packaged pip, and install the latest upstream.
148- if is_package_installed python3-pip ; then
149- uninstall_package python3-pip
150- fi
151133 install_get_pip
152134fi
153135
0 commit comments