3.8.9 fixed some security issues and 3.8.10 is the final maintenance
release of 3.8.x (now only security fixes).
https://www.python.org/downloads/release/python-389/
https://www.python.org/downloads/release/python-3810/
One of the patches we had seems to have been upstreamed, so I
removed it.
I think one of our recent changes in base makes it so the tests run
to completion now (which they've never done before).
ok?
(cc maintainer)
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/python/3.8/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 22 Mar 2021 17:35:26 -0000 1.14
+++ Makefile 6 Jun 2021 23:00:07 -0000
@@ -6,10 +6,9 @@
# Python itself.
VERSION = 3.8
-PATCHLEVEL = .8
+PATCHLEVEL = .10
SHARED_LIBS = python3.8 0.0
VERSION_SPEC = >=3.8,<3.9
-REVISION-main = 0
CONFIGURE_ARGS += --with-ensurepip=no
CONFIGURE_ARGS += --enable-loadable-sqlite-extensions
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/python/3.8/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 21 Feb 2021 19:24:26 -0000 1.8
+++ distinfo 6 Jun 2021 23:00:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (Python-3.8.8.tgz) = dsB2PwSOT5uGHSTadrfdXHo7p+wIb0DK7e6jWSYydvc=
-SIZE (Python-3.8.8.tgz) = 24483485
+SHA256 (Python-3.8.10.tgz) = s3rHTSy60lkOfNDdKzgmwpr+iac0CQqHv4wDxFBmy2U=
+SIZE (Python-3.8.10.tgz) = 24720640
Index: files/CHANGES.OpenBSD
===================================================================
RCS file: /cvs/ports/lang/python/3.8/files/CHANGES.OpenBSD,v
retrieving revision 1.3
diff -u -p -r1.3 CHANGES.OpenBSD
--- files/CHANGES.OpenBSD 21 Feb 2021 19:24:26 -0000 1.3
+++ files/CHANGES.OpenBSD 6 Jun 2021 23:00:07 -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 7 Nov 2019 16:14:09 -0000 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 2019/11/07 16:14:09 kmos Exp $
-
-http://bugs.python.org/issue25191
-
-Index: Lib/test/test_locale.py
---- Lib/test/test_locale.py.orig
-+++ Lib/test/test_locale.py
-@@ -564,8 +564,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.8/patches/patch-Makefile_pre_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile_pre_in
--- patches/patch-Makefile_pre_in 7 Nov 2019 16:14:09 -0000 1.1
+++ patches/patch-Makefile_pre_in 6 Jun 2021 23:00:07 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.1 20
Index: Makefile.pre.in
--- Makefile.pre.in.orig
+++ Makefile.pre.in
-@@ -643,7 +643,7 @@ gdbhooks: $(BUILDPYTHON)-gdb.py
+@@ -646,7 +646,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.8/patches/patch-Modules__hashopenssl_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Modules__hashopenssl_c
--- patches/patch-Modules__hashopenssl_c 16 Feb 2021 18:49:49 -0000 1.2
+++ patches/patch-Modules__hashopenssl_c 6 Jun 2021 23:00:07 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Modules__hashopenssl_c,v
Index: Modules/_hashopenssl.c
--- Modules/_hashopenssl.c.orig
+++ Modules/_hashopenssl.c
-@@ -30,7 +30,8 @@
+@@ -37,7 +37,8 @@
# error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL"
No comments:
Post a Comment