[MacPorts] #74214: FTBFS on various python ports using python313: TypeError: 'NoneType' object is not iterable on if _SIMPLE_VERSION_INDICATORS.issuperset(version)

MacPorts noreply at macports.org
Mon Jul 13 15:38:39 UTC 2026


#74214: FTBFS on various python ports using python313: TypeError: 'NoneType' object
is not iterable on if _SIMPLE_VERSION_INDICATORS.issuperset(version)
-------------------------+--------------------------
 Reporter:  Lord-Kamina  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  py-packaging
-------------------------+--------------------------
 I'm filing this ticket merely for informative purposes, to keep track of
 an issue I noticed recently after updating my outdated tree and so others
 facing this issue won't think they're insane.

 The problem is several python packages will fail to build with

 {{{ TypeError: 'NoneType' object is not iterable }}} on

 {{{if _SIMPLE_VERSION_INDICATORS.issuperset(version)}}}

 This should was a bug introduced in py-packaging starting from version
 26.1 and should already be fixed upstream.

 For me, the error showed up only using python313.

 Fix supposedly committed upstream in
 https://github.com/pypa/packaging/pull/1319

-- 
Ticket URL: <https://trac.macports.org/ticket/74214>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list