From nobody Wed Nov 17 12:49:33 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4762A1899D92; Wed, 17 Nov 2021 12:49:44 +0000 (UTC) (envelope-from SRS0=9sVR=QE=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvN6w0kmNz3mGg; Wed, 17 Nov 2021 12:49:44 +0000 (UTC) (envelope-from SRS0=9sVR=QE=klop.ws=ronald-lists@realworks.nl) Date: Wed, 17 Nov 2021 13:49:33 +0100 (CET) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=klop.ws; s=rw1; t=1637153374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mfx5O+zLcPeqFQ872+VRaUVPJyO5vyJ6zeAVhrcugAo=; b=HUpnxkXBZZ6ecwsWnZtmSP5KTVWucBrVfzVR8KA9SSULS5gMGjQ72erJ9qIUCzJp52YEWS O0EZOkC+AdR5yzDw== To: Maxim Sobolev Cc: portmgr@freebsd.org, ports@freebsd.org, python@freebsd.org, Rene Ladan Message-ID: <1094396681.17.1637153373974@mailrelay> In-Reply-To: References: Subject: Re: Bringing back lang/python27 with few modules? List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16_1176985807.1637153373960" X-Mailer: Realworks (586.1331.e8df350) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4HvN6w0kmNz3mGg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: ronald-lists@klop.ws From: Ronald Klop via ports X-Original-From: Ronald Klop X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y ------=_Part_16_1176985807.1637153373960 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, Maybe I do not fully understand your mail, but I still have /usr/ports/lang/python27 in my ports tree. And a package is also still available via "pkg install python27". But maybe the modules you are talking about are more of your concern. Regards, Ronald. Van: Maxim Sobolev Datum: woensdag, 17 november 2021 08:58 Aan: ports@freebsd.org, Rene Ladan CC: portmgr@freebsd.org, python@freebsd.org Onderwerp: Bringing back lang/python27 with few modules? > > Hi, > > I am still a bit concerned with the total removal of python 2.7 year ago > and its support, I think this was a somewhat swift decision that may need > to be re-considered. I understand the urge for portmgr to move base over to > a supported version, but also that caused few important packages to be > dropped out of the FreeBSD without any fix in sight. I am specifically > talking about the PyPy package, which needs 2.7 to bootstrap itself even > when compiled as a "Python3" version. > > At the same time we still have a port of for example GCC 4.6, which is like > what, 15 years old? Also things in the tree like jython or micropython are > effectively python 2 implementations, so why are they allowed to be present > while not rock solid and field tried 2.7? In fact jython specifically > recommends using CPython2.7 to byte-compile some of the code that it cannot > chew by itself, so it's somewhat broken as well*. > > Is there any chance to bring CPython2.7 at the very least as a NO_PACKAGE > build tool that could be used for such cases now that we have moved most of > the supported packages to 3.x land? > > I had always considered FreeBSD to be about "tools not policy", but in this > particular case the policy seemingly took priority over tools and common > sense. > > Sorry if I am beating a dead horse here, just wanted to gauge the position > of the project before I go and open yet another bug report. > > Thanks! > > -Max > *) Like the following: > java.lang.RuntimeException: java.lang.RuntimeException: > Encountered too large method code in > /usr/ports/lang/pypy/work/pypy3.8-v7.3.7-src/rpython/rlib/unicodedata/unicodedb_6_0_0.py > > Please provide a CPython 2.7 bytecode file (.pyc) to proceed, e.g. run > python -m py_compile > /usr/ports/lang/pypy/work/pypy3.8-v7.3.7-src/rpython/rlib/unicodedata/unicodedb_6_0_0.py > and try again. > > Alternatively provide proper CPython 2.7 execute command via > cpython_cmd property, e.g. call > jython -J-Dcpython_cmd=python > or if running pip on Jython: > pip install --global-option="-J-Dcpython_cmd=python" > *** Error code 255 > > > ------=_Part_16_1176985807.1637153373960--