Adjusting cygport's default PYTHON_WHEEL_VERSIONS

Jon Turney jon.turney@dronecode.org.uk
Mon Dec 15 23:57:27 GMT 2025


Hi Marco,

I am planning on adjusting the default for PYTHON_WHEEL_VERSIONS from 
"3.8:3.9" to "3.9:3.12" in an upcoming cygport release.

(I probably should have done this soon after you packaged 3.12, but it 
didn't occur to me then :( )

Please let me know if what you think of that idea.


I also learnt something while looking into making this change which I'll 
try to document more clearly in the manual:

The python3-wheel cygclass is just a thin wrapper around the 
python-wheel cygclass, which sets 
PYTHON_WHEEL_VERSIONS=${PYTHON3_VERSION} (i.e. it only ever builds for 
the current python version).

So, generally, all python modules should be using python-wheel.



I also noticed one other place where the "default version" of python is 
significant:

https://cygwin.com/cgit/cygwin-apps/cygport/tree/cygclass/python-wheel.cygclass#n209

I wonder if this should just be using "ENSUREPIP_OPTIONS=altinstall" for 
all versions, and then those alternate names are controlled by 
alternatives after package install? (I guess you're doing something to 
arrange that at present?)

(which has the advantage that it doesn't bake those names into the 
package, so they can be taken over by a later version easily)



More information about the Cygwin-apps mailing list