Multiple security fixes in this update.
https://docs.python.org/release/3.9.4/whatsnew/changelog.html
https://docs.python.org/release/3.9.5/whatsnew/changelog.html
3.9.3 apparently broke the API, so 3.9.4 replaced it with that
fixed.
Like the 3.8 update, tests run to completion which they never
have before.
ok?
cc maintainer
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/python/3.9/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 23 Mar 2021 11:44:00 -0000 1.5
+++ Makefile 6 Jun 2021 23:17:49 -0000
@@ -6,8 +6,7 @@
# Python itself.
VERSION = 3.9
-PATCHLEVEL = .2
-REVISION-main = 0
+PATCHLEVEL = .5
SHARED_LIBS = python3.9 0.0
VERSION_SPEC = >=3.9,<3.10
#PSUBDIR = python/3.9.0
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/python/3.9/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 21 Feb 2021 19:23:21 -0000 1.3
+++ distinfo 6 Jun 2021 23:17:49 -0000
@@ -1,2 +1,2 @@
-SHA256 (Python-3.9.2.tgz) = eJnopveUZ0iDDWZzny2PKzAhTa2Vbla5uiFrPeVYFRk=
-SIZE (Python-3.9.2.tgz) = 25399571
+SHA256 (Python-3.9.5.tgz) = 4PvVtuHuJCUkQw3uPJG69Mu6ukpy3RZ0uQ/ah7cTx6s=
+SIZE (Python-3.9.5.tgz) = 25627989
Index: files/CHANGES.OpenBSD
===================================================================
RCS file: /cvs/ports/lang/python/3.9/files/CHANGES.OpenBSD,v
retrieving revision 1.3
diff -u -p -r1.3 CHANGES.OpenBSD
--- files/CHANGES.OpenBSD 21 Feb 2021 19:23:21 -0000 1.3
+++ files/CHANGES.OpenBSD 6 Jun 2021 23:17:49 -0000
@@ -6,12 +6,9 @@ of changes made to this version of Pytho
1. OpenBSD packages require that sonames are under control of the
ports infrastructure, configure.ac was patched to do this.
-2. Avoid "unsupported locale setting" in tests, see
-http://bugs.python.org/issue25191
+2. #ifdef patches to work with LibreSSL.
-3. #ifdef patches to work with LibreSSL.
-
-4. Disable libuuid, otherwise Python prefers it over the libc uuid
+3. Disable libuuid, otherwise Python prefers it over the libc uuid
functions.
These changes are available in the OpenBSD CVS repository
Index: patches/patch-Lib_test_test_locale_py
===================================================================
RCS file: patches/patch-Lib_test_test_locale_py
diff -N patches/patch-Lib_test_test_locale_py
--- patches/patch-Lib_test_test_locale_py 5 Oct 2020 20:48:10 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-$OpenBSD: patch-Lib_test_test_locale_py,v 1.1.1.1 2020/10/05 20:48:10 kmos Exp $
-
-http://bugs.python.org/issue25191
-
-Index: Lib/test/test_locale.py
---- Lib/test/test_locale.py.orig
-+++ Lib/test/test_locale.py
-@@ -563,8 +563,12 @@ class TestMiscellaneous(unittest.TestCase):
- loc = locale.getlocale(locale.LC_CTYPE)
- if verbose:
- print('testing with %a' % (loc,), end=' ', flush=True)
-- locale.setlocale(locale.LC_CTYPE, loc)
-- self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
-+ try:
-+ locale.setlocale(locale.LC_CTYPE, loc)
-+ self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
-+ except locale.Error:
-+ # Unsupported locale setting
-+ self.skipTest('unsupported locale setting')
-
- def test_invalid_locale_format_in_localetuple(self):
- with self.assertRaises(TypeError):
Index: patches/patch-Makefile_pre_in
===================================================================
RCS file: /cvs/ports/lang/python/3.9/patches/patch-Makefile_pre_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile_pre_in
--- patches/patch-Makefile_pre_in 5 Oct 2020 20:48:10 -0000 1.1.1.1
+++ patches/patch-Makefile_pre_in 6 Jun 2021 23:17:49 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.1.1.
Index: Makefile.pre.in
--- Makefile.pre.in.orig
+++ Makefile.pre.in
-@@ -671,7 +671,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
+@@ -674,7 +674,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
Index: patches/patch-Modules__hashopenssl_c
===================================================================
RCS file: /cvs/ports/lang/python/3.9/patches/patch-Modules__hashopenssl_c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Modules__hashopenssl_c
--- patches/patch-Modules__hashopenssl_c 5 Oct 2020 20:48:10 -0000 1.1.1.1
+++ patches/patch-Modules__hashopenssl_c 6 Jun 2021 23:17:49 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Modules__hashopenssl_c,v
Index: Modules/_hashopenssl.c
--- Modules/_hashopenssl.c.orig
+++ Modules/_hashopenssl.c
-@@ -32,7 +32,8 @@
+@@ -38,7 +38,8 @@
# error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL"
No comments:
Post a Comment