pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python lang/python: Drop 37 from default PYTHON_V...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/976b4b620464
branches:  trunk
changeset: 387757:976b4b620464
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Nov 06 13:27:57 2022 +0000

description:
lang/python: Drop 37 from default PYTHON_VERSIONS_ACCEPTED

While python 3.7 is not EOL, many python packages are acting as if it
is, and the resulting fallout in bulk builds is making it difficult to
assess real breakage.  Following discussion on pkgsrc-users, where
only one person said they wanted to use 3.7 in pkgsrc, 37 is being
dropped from ACCEPTED, but the package remains, at least for now.

Anyone who wants to use 3.7 can set PYTHON_VERSIONS_ACCEPTED in
mk.conf or locally modify pyversion.mk.

Shortly, I will drop 37 from PYTHON_VERSIONS_ACCEPTED from 6 packages
that set it, so that there will be essentially no py37-foo packages
built by default.  We will no longer allow adding 37 to
PYTHON_VERSIONS_ACCEPTED.  It remains fine to add 37 to
PYTHON_VERSIONS_INCOMPATIBLE, but 37-inspired changes that cause
failures for people with a default pyversion.mk should be avoided.

diffstat:

 lang/python/pyversion.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0f27ca320a29 -r 976b4b620464 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk  Sun Nov 06 13:22:01 2022 +0000
+++ b/lang/python/pyversion.mk  Sun Nov 06 13:27:57 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.143 2022/10/31 09:53:31 adam Exp $
+# $NetBSD: pyversion.mk,v 1.144 2022/11/06 13:27:57 gdt Exp $
 
 # This file determines which Python version is used as a dependency for
 # a package.
@@ -28,7 +28,7 @@
 #      preferred over later ones.
 #
 #      Possible values: 311 310 39 38 37 27
-#      Default: 311 310 39 38 37 27
+#      Default: 311 310 39 38 27
 #
 # PYTHON_VERSIONS_INCOMPATIBLE
 #      The Python versions that are NOT acceptable for the package.
@@ -85,7 +85,7 @@
 BUILD_DEFS_EFFECTS+=   PYPACKAGE
 
 PYTHON_VERSION_DEFAULT?=               310
-PYTHON_VERSIONS_ACCEPTED?=             311 310 39 38 37 27
+PYTHON_VERSIONS_ACCEPTED?=             311 310 39 38 27
 PYTHON_VERSIONS_INCOMPATIBLE?=         # empty by default
 
 # transform the list into individual variables



Home | Main Index | Thread Index | Old Index