Skip to content

Commit a4c04b6

Browse files
committed
Bump for Python v3.11.0 release.
1 parent ed15fed commit a4c04b6

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ BUILD_NUMBER=custom
3939
# PYTHON_VERSION is the full version number (e.g., 3.10.0b3)
4040
# PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
4141
# PYTHON_VER is the major/minor version (e.g., 3.10)
42-
PYTHON_VERSION=3.11.0rc2
42+
PYTHON_VERSION=3.11.0
4343
PYTHON_MICRO_VERSION=$(shell echo $(PYTHON_VERSION) | grep -Eo "\d+\.\d+\.\d+")
4444
PYTHON_VER=$(basename $(PYTHON_VERSION))
4545

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Python Apple Support
44
This is a meta-package for building a version of Python that can be embedded
55
into a macOS, iOS, tvOS or watchOS project.
66

7-
**This branch builds a packaged version of Python 3.11.0rc1**.
7+
**This branch builds a packaged version of Python 3.11.0**.
88
Other Python versions are available by cloning other branches of the main
99
repository:
1010

@@ -151,10 +151,10 @@ To build these wheels, run:
151151
* `make wheels-tvOS` to build all the tvOS wheels
152152
* `make wheels-watchOS` to build all the watchOS wheels
153153

154-
.. _for macOS: https://briefcase-support.s3.amazonaws.com/python/3.11/macOS/Python-3.11-macOS-support.b0.tar.gz
155-
.. _for iOS: https://briefcase-support.s3.amazonaws.com/python/3.11/iOS/Python-3.11-iOS-support.b0.tar.gz
156-
.. _for tvOS: https://briefcase-support.s3.amazonaws.com/python/3.11/tvOS/Python-3.11-tvOS-support.b0.tar.gz
157-
.. _for watchOS: https://briefcase-support.s3.amazonaws.com/python/3.11/watchOS/Python-3.11-watchOS-support.b0.tar.gz
154+
.. _for macOS: https://briefcase-support.s3.amazonaws.com/python/3.11/macOS/Python-3.11-macOS-support.b1.tar.gz
155+
.. _for iOS: https://briefcase-support.s3.amazonaws.com/python/3.11/iOS/Python-3.11-iOS-support.b1.tar.gz
156+
.. _for tvOS: https://briefcase-support.s3.amazonaws.com/python/3.11/tvOS/Python-3.11-tvOS-support.b1.tar.gz
157+
.. _for watchOS: https://briefcase-support.s3.amazonaws.com/python/3.11/watchOS/Python-3.11-watchOS-support.b1.tar.gz
158158

159159
Historical support
160160
------------------

patch/Python/Python.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ index 9b2cd201f3..e47de5d468 100644
755755
@unittest.skipUnless(sys.platform == 'darwin', "OSX only test")
756756
def test_mac_ver_with_fork(self):
757757
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
758-
index ae25ef5588..2885d5fd52 100644
758+
index e643d8e5a4..65e0e2d2c6 100644
759759
--- a/Lib/test/test_posix.py
760760
+++ b/Lib/test/test_posix.py
761761
@@ -2,6 +2,7 @@
@@ -1029,7 +1029,7 @@ index 9c6561c099..ccccfb8b0b 100644
10291029
# Same as above, but a delay gets introduced after the thread's
10301030
# Python code returned but before the thread state is deleted.
10311031
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
1032-
index 74039f59f7..36dc82f871 100644
1032+
index decf021c64..7c824c8278 100644
10331033
--- a/Lib/test/test_venv.py
10341034
+++ b/Lib/test/test_venv.py
10351035
@@ -19,7 +19,7 @@
@@ -1038,7 +1038,7 @@ index 74039f59f7..36dc82f871 100644
10381038
skip_if_broken_multiprocessing_synchronize, verbose,
10391039
- requires_subprocess, is_emscripten, is_wasi,
10401040
+ requires_subprocess, is_apple_mobile, is_emscripten, is_wasi,
1041-
requires_venv_with_pip)
1041+
requires_venv_with_pip, TEST_HOME_DIR)
10421042
from test.support.os_helper import (can_symlink, EnvironmentVarGuard, rmtree)
10431043
import unittest
10441044
@@ -40,6 +40,8 @@
@@ -1313,7 +1313,7 @@ index aa93e756c6..fcf3784c2f 100644
13131313
sin(pi*x), giving accurate results for all finite x (especially x
13141314
integral or close to an integer). This is here for use in the
13151315
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
1316-
index 378032501f..25a035acd7 100644
1316+
index 309982af82..2afccdc969 100644
13171317
--- a/Modules/posixmodule.c
13181318
+++ b/Modules/posixmodule.c
13191319
@@ -69,6 +69,8 @@
@@ -1325,7 +1325,7 @@ index 378032501f..25a035acd7 100644
13251325
#if defined(__has_builtin)
13261326
#if __has_builtin(__builtin_available)
13271327
#define HAVE_BUILTIN_AVAILABLE 1
1328-
@@ -325,6 +327,26 @@
1328+
@@ -329,6 +331,26 @@
13291329
# endif /* _MSC_VER */
13301330
#endif /* ! __WATCOMC__ || __QNX__ */
13311331

@@ -1352,7 +1352,7 @@ index 378032501f..25a035acd7 100644
13521352
/*[clinic input]
13531353
# one of the few times we lie about this name!
13541354
module os
1355-
@@ -1573,7 +1595,9 @@
1355+
@@ -1577,7 +1599,9 @@
13561356
*/
13571357
#include <crt_externs.h>
13581358
#elif !defined(_MSC_VER) && (!defined(__WATCOMC__) || defined(__QNX__) || defined(__VXWORKS__))
@@ -1362,23 +1362,23 @@ index 378032501f..25a035acd7 100644
13621362
#endif /* !_MSC_VER */
13631363

13641364
static PyObject *
1365-
@@ -1589,6 +1613,7 @@
1365+
@@ -1593,6 +1617,7 @@
13661366
d = PyDict_New();
13671367
if (d == NULL)
13681368
return NULL;
13691369
+#if !TARGET_OS_TV && !TARGET_OS_WATCH
13701370
#ifdef MS_WINDOWS
13711371
/* _wenviron must be initialized in this way if the program is started
13721372
through main() instead of wmain(). */
1373-
@@ -1642,6 +1667,7 @@
1373+
@@ -1646,6 +1671,7 @@
13741374
Py_DECREF(k);
13751375
Py_DECREF(v);
13761376
}
13771377
+#endif
13781378
return d;
13791379
}
13801380

1381-
@@ -4935,6 +4961,9 @@
1381+
@@ -4939,6 +4965,9 @@
13821382
/*[clinic end generated code: output=290fc437dd4f33a0 input=86a58554ba6094af]*/
13831383
{
13841384
long result;
@@ -1388,23 +1388,23 @@ index 378032501f..25a035acd7 100644
13881388
const char *bytes = PyBytes_AsString(command);
13891389

13901390
if (PySys_Audit("os.system", "(O)", command) < 0) {
1391-
@@ -4944,6 +4973,7 @@
1391+
@@ -4948,6 +4977,7 @@
13921392
Py_BEGIN_ALLOW_THREADS
13931393
result = system(bytes);
13941394
Py_END_ALLOW_THREADS
13951395
+#endif
13961396
return result;
13971397
}
13981398
#endif
1399-
@@ -13700,6 +13730,7 @@
1399+
@@ -13736,6 +13766,7 @@
14001400
int is_symlink;
14011401
int need_stat;
14021402
#endif
14031403
+#if !TARGET_OS_TV && !TARGET_OS_WATCH
14041404
#ifdef MS_WINDOWS
14051405
unsigned long dir_bits;
14061406
#endif
1407-
@@ -13760,6 +13791,7 @@
1407+
@@ -13796,6 +13827,7 @@
14081408
#endif
14091409

14101410
return result;

0 commit comments

Comments
 (0)