]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update macOS installer build for 2.7.18 end-of-life. (GH-19352)
authorNed Deily <nad@python.org>
Sat, 4 Apr 2020 00:34:39 +0000 (20:34 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Apr 2020 00:34:39 +0000 (20:34 -0400)
Lib/test/test_posix.py
Mac/BuildScript/build-installer.py
Mac/BuildScript/resources/ReadMe.rtf
Mac/BuildScript/resources/Welcome.rtf

index c4283b604b96ab4fba05291413a956dea36de17a..ae636e591a9ef7338eeafc34bdcfd1009c029892 100644 (file)
@@ -556,7 +556,11 @@ class PosixTester(unittest.TestCase):
                     )
                     if quirky_platform:
                         expected_errno = errno.ERANGE
-                    self.assertEqual(e.errno, expected_errno)
+                    if 'darwin' in sys.platform:
+                        # macOS 10.15 may return errno.ENOENT instead
+                        self.assertIn(e.errno, (errno.ENOENT, errno.ENAMETOOLONG))
+                    else:
+                        self.assertEqual(e.errno, expected_errno)
                 finally:
                     os.chdir('..')
                     os.rmdir(dirname)
index 3edd947f0df14f967ad1f8ea31ccbfe2cfe822ac..4bb942a733b86fa63b62487fe39e6b6376b8011b 100755 (executable)
@@ -25,11 +25,11 @@ Sphinx, build-installer.py should also be converted to use python3!
 For 10.6 or greater deployment targets, build-installer builds and links
 with its own copy of Tcl/Tk 8.6 and the rest of this paragraph does not
 apply.  Otherwise, build-installer requires an installed third-party version
-of Tcl/Tk 8.4 (for OS X 10.4 and 10.5 deployment targets) or Tcl/TK 8.5
-(for 10.6 or later) installed in /Library/Frameworks.  When installed,
-the Python built by this script will attempt to dynamically link first to
-Tcl and Tk frameworks in /Library/Frameworks if available otherwise fall
-back to the ones in /System/Library/Framework.  For the build, we recommend
+of Tcl/Tk 8.4 (for OS X 10.4 and 10.5 deployment targets) installed in
+/Library/Frameworks.  For 10.4 or 10.5, the Python built by this script
+when installed will attempt to dynamically link first to Tcl and Tk frameworks
+in /Library/Frameworks if available otherwise fall back to the ones in
+/System/Library/Framework.  For 10.4 or 10.5, we recommend
 installing the most recent ActiveTcl 8.5 or 8.4 version, depending
 on the deployment target.  The actual version linked to depends on the
 path of /Library/Frameworks/{Tcl,Tk}.framework/Versions/Current.
@@ -213,9 +213,9 @@ def library_recipes():
 
     result.extend([
           dict(
-              name="OpenSSL 1.0.2t",
-              url="https://www.openssl.org/source/openssl-1.0.2t.tar.gz",
-              checksum='ef66581b80f06eae42f5268bc0b50c6d',
+              name="OpenSSL 1.0.2u",
+              url="https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz",
+              checksum='cdc2638f789ecc2db2c91488265686c1',
               buildrecipe=build_universal_openssl,
               configure=None,
               install=None,
@@ -311,9 +311,9 @@ def library_recipes():
                   ),
           ),
           dict(
-              name="SQLite 3.28.0",
-              url="https://www.sqlite.org/2019/sqlite-autoconf-3280000.tar.gz",
-              checksum='3c68eb400f8354605736cd55400e1572',
+              name="SQLite 3.31.1",
+              url="https://sqlite.org/2020/sqlite-autoconf-3310100.tar.gz",
+              checksum='2d0a553534c521504e3ac3ad3b90f125',
               extra_cflags=('-Os '
                             '-DSQLITE_ENABLE_FTS5 '
                             '-DSQLITE_ENABLE_FTS4 '
index a4c351a7ff78a595a3a5964208db71fe9596c492..d49bab5c3f1aeb8c33fdafa65d3e75e34483a796 100644 (file)
@@ -1,5 +1,5 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fswiss\fcharset0 Helvetica-Oblique;
+{\rtf1\ansi\ansicpg1252\cocoartf2512
+\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fswiss\fcharset0 Helvetica-Oblique;
 \f3\fmodern\fcharset0 CourierNewPSMT;}
 {\colortbl;\red255\green255\blue255;}
 {\*\expandedcolortbl;;}
@@ -9,8 +9,8 @@
 \f0\fs24 \cf0 This package will install Python $FULL_VERSION for macOS $MACOSX_DEPLOYMENT_TARGET for the following architecture(s): $ARCHITECTURES.\
 \
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
-\cf0 NOTE: 
-\f1\b \ul Python 2 reaches end-of-life in 2020 and will no longer be supported or updated thereafter\ulnone .
+
+\f1\b \cf0 NOTE: \ul Python 2.7,x has now reached end-of-life.  This release, Python 2.7.18, is the FINAL RELEASE of Python 2.7.x.  It will no longer be supported or updated\ulnone .
 \f0\b0   You should 
 \f1\b upgrade to Python 3 
 \f0\b0 as soon as you can.  {\field{\*\fldinst{HYPERLINK "https://www.python.org/doc/sunset-python-2/"}}{\fldrslt Read more here}}.\
@@ -44,18 +44,14 @@ The bundled
 \f0\b0 \ulnone \
 \
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\partightenfactor0
-\cf0 In almost all cases, you should use the 
+\cf0 Use the 
 \f1\b macOS 64-bit installer for OS X 10.9 and later
-\f0\b0 .\
-\
-The legacy 
+\f0\b0 . As of 2.7.18, the deprecated 
 \f1\b macOS 64-bit/32-bit installer for Mac OS X 10.6 and later 
-\f0\b0 variant  is now deprecated.  macOS 10.6 Snow Leopard was released in 2009 and has not been supported by Apple for many years including lack of security updates.  It is becoming increasingly difficult to ensure new Python features and bug fixes are compatible with such old systems.  Note that, due to recent Apple installer packaging changes, the 10.6+ installer pkg we provide can no longer be opened by the Apple system installer application on 10.6;  10.7 and 10.8 are not affected.  We believe that there is now very little usage of this installer variant and so we would like to focus our resources on supporting newer systems.  We do not plan to intentionally break Python support on 10.6 through 10.8 and we will consider bug fixes for problems found when building from source on those systems through the support window of Python 2.7.  
-\f1\b macOS 10.15 Catalina
-\f0\b0  removes support for running 32-bit architecture programs; we do not recommend trying to use the 10.6+ variant on it and it may not install on 10.15 systems without intervention. \
+\f0\b0 variant  is no longer provided.   \
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
 
-\f1\b \cf0 \ul \
+\f1\b \cf0 \ul \ulc0 \
 Using IDLE or other Tk applications 
 \f0\b0 \ulnone \
 \
index 2786a749854880ca523d4e693fa49e07c5286020..fa398acfc9e3b9fd16a79868d1a461fc960c805c 100644 (file)
@@ -1,5 +1,5 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf600
-\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fmodern\fcharset0 CourierNewPSMT;
+{\rtf1\ansi\ansicpg1252\cocoartf2512
+\cocoascreenfonts1\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fmodern\fcharset0 CourierNewPSMT;
 }
 {\colortbl;\red255\green255\blue255;}
 {\*\expandedcolortbl;;}
@@ -26,7 +26,7 @@ At the end of this install, click on
 \f0  to install a set of current SSL root certificates.\
 \
 
-\f1\b NOTE: \ul Python 2 reaches end-of-life in 2020 and will no longer be supported or updated thereafter\ulnone .
+\f1\b NOTE: \ul Python 2.7,x has now reached end-of-life.  This release, Python 2.7.18, is the FINAL RELEASE of Python 2.7.x.  It will no longer be supported or updated\ulnone .
 \f0\b0   You should 
 \f1\b upgrade to Python 3 
 \f0\b0 as soon as you can.  {\field{\*\fldinst{HYPERLINK "https://www.python.org/doc/sunset-python-2/"}}{\fldrslt Read more here}}.\