pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Nov  6 13:27:58 UTC 2022

Modified Files:
        pkgsrc/lang/python: pyversion.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 pkgsrc/lang/python/pyversion.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/pyversion.mk
diff -u pkgsrc/lang/python/pyversion.mk:1.143 pkgsrc/lang/python/pyversion.mk:1.144
--- pkgsrc/lang/python/pyversion.mk:1.143       Mon Oct 31 09:53:31 2022
+++ pkgsrc/lang/python/pyversion.mk     Sun Nov  6 13:27:57 2022
@@ -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+=          PYTHON_VERSION_DEFAULT
 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