On 03.01.2022 18:37, Jon Turney wrote:
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:

...>
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.

attached 2nd version removing that item
--- python-wheel.cygclass-bk    2021-12-31 08:53:33.186729100 +0100
+++ python-wheel.cygclass       2021-12-31 10:10:42.372875400 +0100
@@ -60,12 +60,12 @@
 #  inherit python-wheel
 #  DESCRIPTION
 #  A colon-seperated list of version(s) for which this module should be built.
-#  Some aliases are also accepted:
-#  * all: all supported 3.y versions (currently: 3.5 through 3.8)
-#  * future: the default and upcoming 3.y versions (currently: 3.7, 3.8)
-#  * default: the default 3.y version(s) (currently: 3.7, 3.8)
+#  Some aliases are also accepted (at 2021 Dec 31st):
+#  * all: all supported 3.y versions (currently: 3.6 through 3.9)
+#  * future: the default and upcoming 3.y versions (currently: 3.9, 3.10)
+#  * default: the default 3.y version(s) (currently: 3.8, 3.9)
 #  * 2: the default 2.x version (permanently 2.7)
-#  * 3: the default 3.x version (currently: 3.8)
+#  * 3: the default 3.x version (currently: 3.9)
 #  This variable must be defined before inheriting python-wheel.cygclass.
 #  If undefined, "default" is assumed.
 #  NOTES
@@ -93,11 +93,11 @@
 for ver in ${PYTHON_WHEEL_VERSIONS//:/ }
 do
        case "${ver}" in
-       all)            _tmp_wheel_v+=3.5:3.6:3.7:3.8: ;;
-       future)         _tmp_wheel_v+=3.7:3.8: ;;
-       default)        _tmp_wheel_v+=3.7:3.8: ;;
+       all)            _tmp_wheel_v+=3.6:3.7:3.8:3.9: ;;
+       future)         _tmp_wheel_v+=3.9:3.10: ;;
+       default)        _tmp_wheel_v+=3.8:3.9: ;;
        2)              _tmp_wheel_v+=2.7: ;;
-       3)              _tmp_wheel_v+=3.8: ;;
+       3)              _tmp_wheel_v+=3.9: ;;
        *)              _tmp_wheel_v+=$ver: ;;
        esac
 done
@@ -195,7 +195,7 @@
                # ENSUREPIP_OPTIONS=install: pipX, pipX.Y, easy_install-X.Y
 
                case ${ver} in
-               2.7|3.8) export ENSUREPIP_OPTIONS="install" ;;
+               2.7|3.9) export ENSUREPIP_OPTIONS="install" ;;
                *) export ENSUREPIP_OPTIONS="altinstall" ;;
                esac
                pip${ver} install -I dist/${whl} --root ${D} --prefix /usr 
--no-compile --no-deps --no-warn-script-location || error "pip${ver} install 
failed"

Reply via email to