[MacPorts] #58831: select.poll() not available in Python 3.x but present in Python 2.7

MacPorts noreply at macports.org
Wed Aug 14 02:54:41 UTC 2019


#58831: select.poll() not available in Python 3.x but present in Python 2.7
------------------------+-----------------------------------
 Reporter:  reneeotten  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  python3? py-wurlitzer
------------------------+-----------------------------------
 When trying to update py-wurlitzer to its latest version (it is a
 dependency of {{{py-spyder-devel}}}),  I noticed that it fails on Python
 3.x because this version (1.0.3) now uses {{{select.poll()}}}.

 Google tells me that there appear to be issues with select.poll() on
 macOS, but on the other hand it works fine  with the Conda installation
 and also using Python 2.7 installed through MacPorts.

 Looking a bit further, the difference between the {{{python27}}} and
 {{{python3?}}} ports that cause this difference is the absence/presence of
 the {{{pyconfig.ed}}} patchfile. It was perhaps added because of
 [https://trac.macports.org/ticket/18376 ticket 18376]? It's still present
 for Python 3.x ports, but was removed in [https://github.com/macports
 /macports-ports/commit/ca4b901903f9dff436c60877a0880fc187599994 this
 commit] for Python 2.7. Removing this patch for the {{{python37}}} port
 locally and rebuilding it, makes {{{spyder-devel}}} start without errors
 because now {{{select.poll()}}} is indeed available.

 Joshua, since you made that commit and have been maintaining the Python
 ports for quite some time - can you comment on this and do you know if
 there is a reason for keeping this patch still in the Python3 ports?

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


More information about the macports-tickets mailing list