This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 3.8 unconditionally uses functions not available on OS X 10.4 and 10.5
Type: Stage: patch review
Components: macOS Versions: Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: dgelessus, ned.deily, ronaldoussoren, terry.reedy
Priority: normal Keywords: patch

Created on 2020-03-12 21:44 by dgelessus, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 19008 open dgelessus, 2020-03-15 02:00
Messages (3)
msg364051 - (view) Author: (dgelessus) * Date: 2020-03-12 21:44
In particular, the implementation of posix._fcopyfile uses <copyfile.h> (available since OS X 10.5), and the implementation of threading.get_native_id uses pthread_threadid_np (available since OS X 10.6). This breaks builds for OS X 10.5 and older.

I'm aware that the oldest officially supported OS X version is 10.6, but according to a python-dev post (https://mail.python.org/pipermail/python-dev/2018-May/153725.html), earlier versions are "supported on a best-effort basis".

Would patches for these old versions still be accepted? I have the patch for this issue almost completely worked out, and it's not very complicated or intrusive - it mainly just adds standard autoconf checks for the functions/headers in question.
msg364140 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-03-14 03:36
For current releases, which only provide 64-bit binaries, 10.9 is the lated supported version.  See 
https://www.python.org/downloads/release/python-377/
for example.  I believe this should be closed.
msg364145 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-03-14 06:10
Thanks for the report. Feel free to submit a PR or patch. I can’t guarantee we will accept it if it’s too intrusive. (The request here is to fix building from source for these older systems not to provide binary releases.)
History
Date User Action Args
2022-04-11 14:59:28adminsetgithub: 84129
2020-03-15 02:00:34dgelessussetkeywords: + patch
stage: patch review
pull_requests: + pull_request18353
2020-03-14 06:10:09ned.deilysetmessages: + msg364145
2020-03-14 03:36:06terry.reedysetnosy: + terry.reedy
messages: + msg364140
2020-03-12 21:44:12dgelessuscreate