Re: [maintainer update] Python 3.11.6

2023-10-17 Thread Daniel Dickman



On Mon, 16 Oct 2023, Kurt Mosiejczuk wrote:

> On Sun, Oct 15, 2023 at 05:32:13AM -0400, Kurt Mosiejczuk wrote:
> > https://docs.python.org/release/3.11.6/whatsnew/changelog.html#python-3-11-6
> 
> > No security fixes but a number of other fixes. The majority in the tests
> > or on other OSes (not all though).
> 
> > Regenerated patches although they applied clean with only a little slop.
> 
> > ok?
> 
> daniel@ pointed out I hadn't updated the PLISTs. Here is the version with
> the updated PLIST-tests (the others did not change)
> 
> ok?
> 

ok with me as is.

But you could also remove the distutils entries that are commented out:

@comment .../distutils/command/wininst-*.exe

make update-patches unfortunately doesn't automatically remove 
@comment'ed entries for files that no longer exist (maybe this would be a 
nice feature to add).

Most likely these entries were copied over from earlier Python versions 
and just never got cleaned up.

And p.s. the other Python versions also have extra commented entries that 
aren't needed anymore.



Re: [maintainer update] Python 3.11.6

2023-10-16 Thread Kurt Mosiejczuk
On Sun, Oct 15, 2023 at 05:32:13AM -0400, Kurt Mosiejczuk wrote:
> https://docs.python.org/release/3.11.6/whatsnew/changelog.html#python-3-11-6

> No security fixes but a number of other fixes. The majority in the tests
> or on other OSes (not all though).

> Regenerated patches although they applied clean with only a little slop.

> ok?

daniel@ pointed out I hadn't updated the PLISTs. Here is the version with
the updated PLIST-tests (the others did not change)

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/python/3.11/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile1 Sep 2023 18:49:43 -   1.11
+++ Makefile16 Oct 2023 10:49:00 -
@@ -3,7 +3,7 @@
 # requirement of the PSF license, if it constitutes a change to
 # Python itself.
 
-FULL_VERSION = 3.11.5
+FULL_VERSION = 3.11.6
 SHARED_LIBS =  python3.11 0.0
 VERSION_SPEC = >=3.11,<3.12
 PORTROACH =limit:^3\.11
Index: distinfo
===
RCS file: /cvs/ports/lang/python/3.11/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo1 Sep 2023 18:49:43 -   1.6
+++ distinfo16 Oct 2023 10:49:00 -
@@ -1,2 +1,2 @@
-SHA256 (Python-3.11.5.tgz) = oSoKATowuEbHhsAQ8sGd02tymNiI98S9FYHZDOGLXlg=
-SIZE (Python-3.11.5.tgz) = 26571003
+SHA256 (Python-3.11.6.tgz) = wEm/MX6HfL+fzow6+QJDZ3Ts71JJop0QmEyjo39/RzY=
+SIZE (Python-3.11.6.tgz) = 26590303
Index: patches/patch-Makefile_pre_in
===
RCS file: /cvs/ports/lang/python/3.11/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   31 Oct 2022 22:05:43 -  1.1.1.1
+++ patches/patch-Makefile_pre_in   16 Oct 2023 10:49:00 -
@@ -3,7 +3,7 @@ Make bsd make happy
 Index: Makefile.pre.in
 --- Makefile.pre.in.orig
 +++ Makefile.pre.in
-@@ -533,8 +533,6 @@ LIBMPDEC_OBJS= \
+@@ -534,8 +534,6 @@ LIBMPDEC_OBJS= \
Modules/_decimal/libmpdec/numbertheory.o \
Modules/_decimal/libmpdec/sixstep.o \
Modules/_decimal/libmpdec/transpose.o
Index: patches/patch-Modules__hashopenssl_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Modules__hashopenssl_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Modules__hashopenssl_c
--- patches/patch-Modules__hashopenssl_c15 May 2023 10:45:59 -  
1.3
+++ patches/patch-Modules__hashopenssl_c16 Oct 2023 10:49:00 -
@@ -51,7 +51,7 @@ Index: Modules/_hashopenssl.c
  PY_HASH_ENTRY(NULL, NULL, NULL, 0),
  };
  
-@@ -873,11 +889,15 @@ py_evp_fromname(PyObject *module, const char *digestna
+@@ -874,11 +890,15 @@ py_evp_fromname(PyObject *module, const char *digestna
  goto exit;
  }
  
Index: patches/patch-Python_fileutils_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Python_fileutils_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Python_fileutils_c
--- patches/patch-Python_fileutils_c12 Apr 2023 19:45:41 -  1.2
+++ patches/patch-Python_fileutils_c16 Oct 2023 10:49:00 -
@@ -1,7 +1,7 @@
 Index: Python/fileutils.c
 --- Python/fileutils.c.orig
 +++ Python/fileutils.c
-@@ -2599,9 +2599,9 @@ done:
+@@ -2614,9 +2614,9 @@ done:
   *non-opened fd in the middle.
   * 2b. If fdwalk(3) isn't available, just do a plain close(2) loop.
   */
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-configure_ac,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure_ac
--- patches/patch-configure_ac  20 Dec 2022 23:55:22 -  1.2
+++ patches/patch-configure_ac  16 Oct 2023 10:49:00 -
@@ -49,7 +49,7 @@ Index: configure.ac
  # Any changes made here should be reflected in the GCC+Darwin case below
  PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
  PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
-@@ -3876,11 +3877,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
+@@ -3880,11 +3881,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
  dnl
  found_tcltk=no
  for _QUERY in \
Index: pkg/PLIST-tests
===
RCS file: /cvs/ports/lang/python/3.11/pkg/PLIST-tests,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-tests
--- pkg/PLIST-tests 1 Sep 2023 18:49:43 -   1.5
+++ pkg/PLIST-tests 16 Oct 2023 10:49:01 -
@@ -502,30 +502,6 @@ lib/python3.11/test/__pycache__/_test_ve
 lib/python3.11/test/__pycache__/_typed_dict_helper.cpython-311.opt-1.pyc
 lib/python3.11/test/__pycache__/_typed_dict_helper.cpython-311.opt-2.pyc
 

[maintainer update] Python 3.11.6

2023-10-15 Thread Kurt Mosiejczuk
https://docs.python.org/release/3.11.6/whatsnew/changelog.html#python-3-11-6

No security fixes but a number of other fixes. The majority in the tests
or on other OSes (not all though).

Regenerated patches although they applied clean with only a little slop.

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/lang/python/3.11/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile1 Sep 2023 18:49:43 -   1.11
+++ Makefile15 Oct 2023 09:28:44 -
@@ -3,7 +3,7 @@
 # requirement of the PSF license, if it constitutes a change to
 # Python itself.
 
-FULL_VERSION = 3.11.5
+FULL_VERSION = 3.11.6
 SHARED_LIBS =  python3.11 0.0
 VERSION_SPEC = >=3.11,<3.12
 PORTROACH =limit:^3\.11
Index: distinfo
===
RCS file: /cvs/ports/lang/python/3.11/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo1 Sep 2023 18:49:43 -   1.6
+++ distinfo15 Oct 2023 09:28:44 -
@@ -1,2 +1,2 @@
-SHA256 (Python-3.11.5.tgz) = oSoKATowuEbHhsAQ8sGd02tymNiI98S9FYHZDOGLXlg=
-SIZE (Python-3.11.5.tgz) = 26571003
+SHA256 (Python-3.11.6.tgz) = wEm/MX6HfL+fzow6+QJDZ3Ts71JJop0QmEyjo39/RzY=
+SIZE (Python-3.11.6.tgz) = 26590303
Index: patches/patch-Makefile_pre_in
===
RCS file: /cvs/ports/lang/python/3.11/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   31 Oct 2022 22:05:43 -  1.1.1.1
+++ patches/patch-Makefile_pre_in   15 Oct 2023 09:28:44 -
@@ -3,7 +3,7 @@ Make bsd make happy
 Index: Makefile.pre.in
 --- Makefile.pre.in.orig
 +++ Makefile.pre.in
-@@ -533,8 +533,6 @@ LIBMPDEC_OBJS= \
+@@ -534,8 +534,6 @@ LIBMPDEC_OBJS= \
Modules/_decimal/libmpdec/numbertheory.o \
Modules/_decimal/libmpdec/sixstep.o \
Modules/_decimal/libmpdec/transpose.o
Index: patches/patch-Modules__hashopenssl_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Modules__hashopenssl_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Modules__hashopenssl_c
--- patches/patch-Modules__hashopenssl_c15 May 2023 10:45:59 -  
1.3
+++ patches/patch-Modules__hashopenssl_c15 Oct 2023 09:28:44 -
@@ -51,7 +51,7 @@ Index: Modules/_hashopenssl.c
  PY_HASH_ENTRY(NULL, NULL, NULL, 0),
  };
  
-@@ -873,11 +889,15 @@ py_evp_fromname(PyObject *module, const char *digestna
+@@ -874,11 +890,15 @@ py_evp_fromname(PyObject *module, const char *digestna
  goto exit;
  }
  
Index: patches/patch-Python_fileutils_c
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-Python_fileutils_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Python_fileutils_c
--- patches/patch-Python_fileutils_c12 Apr 2023 19:45:41 -  1.2
+++ patches/patch-Python_fileutils_c15 Oct 2023 09:28:44 -
@@ -1,7 +1,7 @@
 Index: Python/fileutils.c
 --- Python/fileutils.c.orig
 +++ Python/fileutils.c
-@@ -2599,9 +2599,9 @@ done:
+@@ -2614,9 +2614,9 @@ done:
   *non-opened fd in the middle.
   * 2b. If fdwalk(3) isn't available, just do a plain close(2) loop.
   */
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/lang/python/3.11/patches/patch-configure_ac,v
retrieving revision 1.2
diff -u -p -r1.2 patch-configure_ac
--- patches/patch-configure_ac  20 Dec 2022 23:55:22 -  1.2
+++ patches/patch-configure_ac  15 Oct 2023 09:28:44 -
@@ -49,7 +49,7 @@ Index: configure.ac
  # Any changes made here should be reflected in the GCC+Darwin case below
  PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
  PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
-@@ -3876,11 +3877,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
+@@ -3880,11 +3881,7 @@ dnl Detect Tcl/Tk. Use pkg-config if available.
  dnl
  found_tcltk=no
  for _QUERY in \