pkgsrc-Users archive

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

Re: python 3.7 removal proposal (before upstream EOL!!)



Greg Troxel <gdt%lexort.com@localhost> writes:

> Unless there are good reasons not to delete python37 received by 10Z on
> 6 November, I will tell the people that want to remove python37 to go
> ahead (option 1).

So far:

  1 person says they want python37 to use as an intermediate step in
  porting code that is on 27 (but it's not clear to me why this needs to
  be done in pkgsrc HEAD vs 2022Q3).

  I got one private note encouraging 37 removal.

  I haven't seen any commits addressing the 37 issues and I am still
  seeing failing bulk builds.

  I thought about just removing 37 from the default ACCEPTABLE variable,
  and I think that works ok.  I got a private nod on the concept.  So
  the base python37 would be present, but no py37-foo would be built.
  (Anyone can of course change their copy of pkgsrc and build whatever
  they want, specifically including locally reverting the no-37.)  As
  part of this we'd say:

    37 can't be in ACCEPTED (because it would insert chaos back into
    bulk builds).  We'd remove it, and say no to commits that add it.

    37 could be in INCOMPATIBLE (because that doesn't hurt, and it could
    help people that locally revert the 'no 37'.

  If this partial 37 removal causes build/scan failures that can't be
  satisfactorily and completely fixed in a 24h kind of time frame, we'll
  proceed immediately to full removal.


Here's the list of  ACCEPTED/37:

  ./devel/py-gobject/Makefile:PYTHON_VERSIONS_ACCEPTED=   37 27
  ./devel/py-backports.cached-property/Makefile:PYTHON_VERSIONS_ACCEPTED= 37 # included in Python 3.8+
  ./devel/py-pkgutil_resolve_name/Makefile:PYTHON_VERSIONS_ACCEPTED=      38 37
  ./graphics/blender-lts/Makefile:PYTHON_VERSIONS_ACCEPTED=       38 37
  ./lang/mozjs78/Makefile:PYTHON_VERSIONS_ACCEPTED=       39 38 37
  ./mail/fetchmailconf/Makefile:PYTHON_VERSIONS_ACCEPTED= 310 39 38 37
  ./math/py-numpy16/Makefile:PYTHON_VERSIONS_ACCEPTED=    37 27
  ./wip/py-qtawesome/Makefile:PYTHON_VERSIONS_ACCEPTED=   3110 310 39 38 37
  ./www/py-webpy/Makefile:PYTHON_VERSIONS_ACCEPTED=       27 # not yet ported as of 0.37

and I'm inclined to alllow the backports one and drop the rest.

Here's what I intend to commit tomorrow, plus dropping the previous 37 ACCEPTED:

Index: lang/python/pyversion.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python/pyversion.mk,v
retrieving revision 1.143
diff -u -p -r1.143 pyversion.mk
--- lang/python/pyversion.mk	31 Oct 2022 09:53:31 -0000	1.143
+++ lang/python/pyversion.mk	4 Nov 2022 14:19:58 -0000
@@ -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

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index