Bug in preremove in python-pip (leading "#" for comment)

ggl329 ggl329@gmail.com
Sun May 18 17:22:56 GMT 2025


Hi Marco,

I found a packaging bug.
Could you consider fixing this issue in the next release?


/etc/preremove/python39-pip.sh  (needs "#" before "Remove ...")
=====
  Remove this package as  pip3 alternative.
/usr/sbin/alternatives --remove pip3 /usr/bin/pip3.9
=====


python-pip-25.0.1-2.src
--- python-pip.cygport
+++ python-pip.cygport.new
@@ -81,7 +81,7 @@
         for v in ${PYTHON_WHEEL_VERSIONS//:/ }
         do
                 ver=$(echo ${v} | sed "s/\.//")
-               echo " Remove this package as  pip3 alternative.
+               echo "# Remove this package as  pip3 alternative.
  /usr/sbin/alternatives --remove pip3 /usr/bin/pip${v}
  " > python${ver}-pip.sh
         done


-- 
   ggl329@gmail.com



More information about the Cygwin mailing list