[patch] cygport : update to python 3.9
Jon Turney
jon.turney@dronecode.org.uk
Mon Jan 3 17:37:37 GMT 2022
On 31/12/2021 10:00, Marco Atzeri wrote:
> Attached patch moves "default" from 3.6 to 3.9
>
> Additional changes:
> Remove 3.5 from all
> Change future to 3.10
>
Thanks.
>
> Other point:
>
> As 3.5 was never really deployed, I think we can remove it from the
> distribution.
>
> As we have a lot of python3-* is obsoleted py python36-*
> what is the best way to updated to python39-* when available ?
Good question. Note the comment before this hunk:
> @@ -128,7 +128,7 @@
> # and MUST NOT be updated when defaults change
> case ${ver} in
> 2.7) declare -g python27_${PYTHON_WHEEL_NAME//[-\.]/_}_OBSOLETES="python-${PYTHON_WHEEL_NAME} python2-${PYTHON_WHEEL_NAME}" ;;
> - 3.6) declare -g python36_${PYTHON_WHEEL_NAME//[-\.]/_}_OBSOLETES="python3-${PYTHON_WHEEL_NAME}" ;;
> + 3.9) declare -g python39_${PYTHON_WHEEL_NAME//[-\.]/_}_OBSOLETES="python3-${PYTHON_WHEEL_NAME}" ;;
> esac
> declare -g python${ver/.}_${PYTHON_WHEEL_NAME//[-\.]/_}_CONTENTS="usr/lib/python${ver}/site-packages/ usr/share/doc/python${ver/.}-${PYTHON_WHEEL_NAME}"
> done
which in full reads:
"
# these were 2&3 at the time of the XY-version split,
# and MUST NOT be updated when defaults change
"
So it seems to me that either that hunk is wrong, or that comment needs
updating.
I'm not sure what the intent is here.
More information about the Cygwin-apps
mailing list