non port: lang/python36/Makefile |
Number of commits found: 45 |
Friday, 31 Dec 2021
|
13:02 Rene Ladan (rene)
cleanup: Remove expired ports:
2021-12-31 lang/python36: Upgrade to a newer Python version. 3.6 is in
maintenance status and gets security fixes only. End-of-Life: 2021-12-23. See
https://devguide.python.org/
6c40102 |
Friday, 26 Nov 2021
|
18:48 Dimitry Andric (dim)
lang/python3(6|7|8|9|10|11): work around unwanted multiarch detection again
In ports 6bef09666460 we patched out python's erroneous multiarch
detection using sed, but upstream changed the surrounding parts in the
configure script to defeat the regex we were using. Update the regex to
cope with the change.
PR: 259896, 258377
MFH: 2021Q4
Approved by: maintainer timeout (9 days)
4af982e |
Wednesday, 13 Oct 2021
|
17:05 Thierry Thomas (thierry)
lang/python3X: Fix library installation
The Python ports install the library libpython3.x.so under $PREFIX/lib,
and they set USE_LDCONFIG, but these libraries are not registered, due
to a missing symlink, and they are not found by `ldconfig -r'.
This commit make them to be registered, and for some reason it helps the
dynamic linker to find them, and this allows to fix an error in
french/aster. It also helps to fix errors in newer releases of math/sage
(not yet ready to be committed due to other problems).
No exp-run, but it has been tested with many ports on several platforms.
PR: 257864
Approved by: koobs (Python team)
MFH: 2021Q4
693abe1 |
Monday, 27 Sep 2021
|
17:56 Dimitry Andric (dim)
lang/python3([6-9]|10): disable detection of multiarch
It breaks with clang >= 13, which adds a major.minor version number in
-print-multiarch output, and the dot confuses Python:
ModuleNotFoundError: No module named
'_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
Since we do not support multiarch, and the configure script has no way
to disable the multiarch check, stub it out during post-patch.
PR: 258377
Approved by: maintainer timeout (2 weeks)
MFH: 2021Q3
6bef096 |
Thursday, 9 Sep 2021
|
09:02 Kai Knoblich (kai)
lang/python36: Deprecate and set to expire
Python 3.6 will reach its End-of-Life at 23rd December 2021.
Set the deprecation note and expiration date accordingly.
Approved by: koobs (python, maintainer)
MFH: No (not neccessary, 3+ months from now should be OK)
Differential Revision: https://reviews.freebsd.org/D31783
c92e5f7 |
Tuesday, 25 May 2021
|
13:55 Dmitry Marakasov (amdmi3)
Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python
PR: 255013
Differential Revision: https://reviews.freebsd.org/D29418
Exp-run by: antoine
Approved by: wen@, no objection from python@ or portmgr@
5f69415 |
Saturday, 15 May 2021
|
07:14 Tobias Kortkamp (tobik) Author: Yasuhiro Kimura
*: Remove unnecessary 'port' argument from USES=readline
PR: 248459
Exp-run by: antoine
9671981 |
Tuesday, 6 Apr 2021
|
14:31 Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148 |
Tuesday, 23 Feb 2021
|
11:43 wen
- Update to 3.6.13
|
Wednesday, 14 Oct 2020
|
18:09 kevans
lang/python3{6,7,8,9}: Backport close_range patches
Worked out over BPO-40422 and BPO-40423, this is the culmination of months
of work to coordinate with Linux and get close_range(2) added to FreeBSD,
then the usage accepted into CPython. It has landed for Python 3.10 and here
I've backported it locally to all the supported Python 3 versions we have.
Note that this does include and supercede our previous closefrom(2) patches.
There was a lot of intersection between the work done, so this patch against
the ports tree does remove those patches from each of the ports in favor of
this patch. All the patches involved have been accepted and merged upstream.
This patch will bring a performance boost in some more situations on 12.2
and 13.0, as close_range exists there.
There is one additional patch sitting in an upstream PR that shuffles the
_Py_closerange implementation into a different file -- this is not important
for the backport, and the absence of that patch here will not realistically
cause any issues.
PR: 250322
Approved by: lwhsu (python)
|
Friday, 21 Aug 2020
|
15:01 wen
- Set PORTREVISION
|
Wednesday, 19 Aug 2020
|
15:55 wen
- Remove PORTREVISION which forgot in last commit
Spotted by: lwhsu@(Thanks!)
|
Saturday, 4 Jul 2020
|
18:11 zeising
Chanse update of devel/libffi
Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.
PR: 247028 (for tracking)
|
Sunday, 28 Jun 2020
|
13:34 dbaio
lang/python36: Update to 3.6.11
Approved by: python (with hat)
|
Saturday, 13 Jun 2020
|
13:24 dbaio
lang/python36: Update to 3.6.10, Fix security issues
The patches for CVE-2019-18348 and CVE-2020-8492 are in the 3.6 branch
and will be present on the next release.
Patch for applying CVE-2020-8492 fix here in the ports tree was reported
and submitted by Mike Fisher <mfisher911@gmail.com> and
Dani <i.dani@outlook.com>.
PR: 246984
MFH: 2020Q2
Security: ca595a25-91d8-11ea-b470-080027846a02 (CVE-2019-18348)
Security: a27b0bb6-84fc-11ea-b5b4-641c67a117d8 (CVE-2020-8492)
|
Saturday, 7 Dec 2019
|
22:19 tcberner
Fix makefile ordering.
Reported by: mat
|
21:28 lwhsu
Backport fix of https://bugs.python.org/issue32849
This is needed for starting sysutils/azure-agent at boot:
https://github.com/Azure/WALinuxAgent/issues/1687
Obtained
from: https://github.com/python/cpython/pull/12852/commits/f9c01a16dae8aa15d264a1937fb589e8598d1c88
MFH: 2019Q4
Sponsored by: The FreeBSD Foundation
|
19:11 tcberner
Fix namespace pollution in python3.5 and python3.6 (upstreamed fix)
The standard math library (libm) may follow IEEE-754 recommendation to
include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x).
And this triggers a name clash, found by FreeBSD developer
Steve Kargl, who worked on putting sinpi into libm used on FreeBSD
(it has to be named "sinpi", not "sinPi", cf. e.g.
https://en.cppreference.com/w/c/experimental/fpext4).
- python2.7 and > 3.6 are already fixed
PR: 232792
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>, Dima Pasechnik
<dimpase+freebsd@gmail.com>
Approved by: python (maintainer timeout)
Obtained
from: https://github.com/python/cpython/commit/b545ba0a508a5980ab147ed2641a42be3b31a2db
|
Friday, 29 Nov 2019
|
10:55 koobs
lang/python{27,35,36,37,38}: Add closefrom(2) support
A single close(fd) syscall is cheap, but when MAXFDS (maximum file
descriptor number) is high, the loop calling close(fd) on each file
descriptor can take several milliseconds.
The default value of subprocess.Popen "close_fds" parameter changed to True
in Python 3. Compared to Python 2, close_fds=True can make Popen 10x
slower: see bpo-37790 [1]
The present workaround on FreeBSD to improve performance is to load and
mount the fdescfs kernel module, but this is not enabled by default.
This change adds minimum viable (and upstreamable) closefrom(2) syscall
support to Python's subprocess and posix modules, improving performance
significantly for loads that involve working with many processes, such as
diffoscope, ansible, and many others.
For additional optimizations, upstream recently (3.8) landed posix_spawn(2)
support [3] and has stated that they will adopt close_range(2) after Linux
merges it [4]. Linux/FreeBSD developers are already collaborating on
ensuring compatible implementations, with FreeBSD's implementation pending
in D21627. [5]
Thank you emaste, cem, kevans for providing analysis, input,
clarifications, comms/upstream support and patches.
[1] https://bugs.python.org/issue37790
[2] https://bugs.python.org/issue38061
[3] https://bugs.python.org/issue35537
[4] https://lwn.net/Articles/789023/
[5] https://reviews.freebsd.org/D21627
Additional References:
https://bugs.python.org/issue8052
https://bugs.python.org/issue11284
https://bugs.python.org/issue13788
https://bugs.python.org/issue1663329
https://www.python.org/dev/peps/pep-0446/
PR: 242274, 221700
Submitted by: kevans (emaste, cem)
Approved by: koobs (python (maintainer), santa)
|
Wednesday, 9 Oct 2019
|
11:53 bapt
Drop the ipv6 virtual category for l* category as it is not relevant anymore
|
Monday, 8 Jul 2019
|
23:10 wen
- Update to python-3.6.9(include security fix)
PR: 238952
Submitted by: wenheping2000@hotmail.com(myself)
Reviewed by: koobs@
Exp-run by: antoine@
MFH: 2019Q3
|
Sunday, 14 Apr 2019
|
16:27 antoine
Recompile _sysconfigdata.py after reinplacing it
Reported by: tcberner
With hat: portmgr
|
Tuesday, 9 Apr 2019
|
14:04 sunpoet
Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://tiswww.case.edu/php/chet/readline/CHANGES
PR: 236156
Exp-run by: antoine
|
Wednesday, 27 Mar 2019
|
19:23 sunpoet
Fix CVE-2019-5010
- Bump PORTREVISION for package change
Obtained
from: https://github.com/python/cpython/commit/216a4d83c3b72f4fdcd81b588dc3f42cc461739a
Reference: https://bugs.python.org/issue35746
Security: d74371d2-4fee-11e9-a5cd-1df8a848de3d
MFH: 2019Q1
|
Friday, 2 Nov 2018
|
13:32 rene
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
|
Saturday, 27 Oct 2018
|
04:06 wen
- Update to 3.6.7
PR: 232504
Submitted by: wen@(myself)
Exp-run by: antoine@
|
Wednesday, 17 Oct 2018
|
06:23 koobs
lang/python27,35+: Remove MAKE_JOBS_UNSAFE
ports r393217 via bug 200622 [1] originally set MAKE_JOBS_UNSAFE=yes due to
incorrect uses of recursive make [2], causing intermittent build failures when
run with multiple jobs (-jN).
Upstream committed a fix for the issue in default (3.6, at the time), 3.5 and
2.7 which are now contained in all released lang/python?? port versions. 3.4 did
not receieve a backport merge.
lang/python3.5+ ports inadvertently inherited MAKE_JOBS_UNSAFE=yes, via
repocopies from lang/python34 on their creation, when they were infact safe to
use with -j.
Remove MAKE_JOBS_UNSAFE in all lang/python?? ports except python34 accordingly.
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200622
[2] https://bugs.python.org/issue22359
PR: 232308
Reported by: cem
Reviewed by: cem
Approved by: koobs (python)
MFH: 2018Q4
Differential Revision: D17579
|
Thursday, 26 Jul 2018
|
08:58 tobik
lang/python3?: Fix python3.?-config behavior when symlinked
When python3.?-config is symlinked to another location it starts
outputting bogus paths. For example
$ pwd
/home/tobias
$ python3.6-config --includes
-I/usr/local/include/python3.6m -I/usr/local/include/python3.6m
$ ln -s /usr/local/bin/python3.6-config python3-config
$ ./python3-config --includes
-I/home/include/python3.6m -I/home/include/python3.6m
This breaks ports trying to use BINARY_ALIAS together with
python3.?-config. Apply a patch to resolve the symlink first before
trying to find the install prefix.
PR: 229749
Submitted by: tobik
Reviewed by: antoine, miwi
Approved by: python (miwi)
|
Thursday, 15 Feb 2018
|
12:48 sunpoet
Remove BROKEN_SSL=openssl-devel
PR: 225871
Submitted by: brnrd
MFH: 2018Q1
|
Monday, 12 Feb 2018
|
19:04 sunpoet
Silence patch messages
|
Sunday, 11 Feb 2018
|
16:52 sunpoet
Remove over-patched shebang fix of Lib/cgi.py
The change from /usr/local/bin/python to /usr/local/bin/python3.6 is already
done by USES=shebangfix.
% head -1 /usr/local/lib/python3.6/cgi.py
#!/usr/local/bin/python3.63.6
|
14:36 sunpoet
Clean up Makefile
- Move BROKEN_SSL upward
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Update http:// links in Makefile comments and patch files
|
Thursday, 21 Dec 2017
|
17:21 amdmi3
- Fix more shebangs
Approved by: portmgr blanket
|
Wednesday, 4 Oct 2017
|
10:55 sunpoet
Update to 3.6.3
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
|
Thursday, 3 Aug 2017
|
00:56 sbruno
Add a code block for the qemu-user enabled cross build environment. When using
this environment in poudriere, CC is not set to the default of /usr/bin/cc and
a cross-compile toolchain is used. We need to hand edit this so that the run
time configuration for python matches what the FreeBSD base system provides.
PR: 208282
Submitted by: manu
Approved by: portmgr (mat)
|
Monday, 17 Jul 2017
|
18:42 sunpoet
Update to 3.6.2
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
|
Wednesday, 28 Jun 2017
|
02:37 dbaio
lang/python{27,33,34,35,36}: Make Python curses module work with Unicode
Use readline from ports (USES= readline:port) and patch
setup.py to ignore readline from base. The patch is necessary for
FreeBSD < 1100000, as after this the readline library became an
INTERNALLIB, see base r268461 [1]
Link devel/readline against termcapw instead of termcap is part of
this change, see ports r444463 [2]
Note that this is the **ports** approach for getting Python curses
module working with Unicode. The other way is splitting libncurses
into separate libncurses and libtinfo in base, for which an open
issue exists [3].
Apart from Python language ports, at least www/rtv and
sysutils/py-ranger ports have been tested to work correctly
(display Unicode) after this change.
[1] https://svnweb.freebsd.org/changeset/base/268461
[2] https://svnweb.freebsd.org/changeset/ports/444463
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317
PR: 171246, 197317
Reported by: Vitaly Magerya <vmagerya gmail com>
Reviewed by: garga, koobs, miwi, sunpoet
Approved by: garga (mentor), sunpoet (python, with hat)
Differential Revision: https://reviews.freebsd.org/D11127
|
Tuesday, 27 Jun 2017
|
13:46 sunpoet
Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change
Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision: https://reviews.freebsd.org/D11172
PR: 219947
Exp-run by: antoine
|
Thursday, 8 Jun 2017
|
10:31 mat
Mark BROKEN with openssl-devel.
pkg-static: Unable to access file
/wrkdirs/usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload/_ssl.so:No
such file or directory
Sponsored by: Absolight
|
Tuesday, 6 Jun 2017
|
12:56 koobs
lang/python{27,33,34,35,36}: Install GDB debugging script
Users with a GDB that supports [1] Python extensions will automatically
load the extra debugging extensions when debugging programs that are
linked with libpythonX.Y.so.foo.
This enables extensions like 'py-bt' and 'py-frame' as described in
the Fedora Wiki Article: Easier Python Debugging [2], which can be
useful for debugging Python program state from crashes in C extensions,
for example.
[1] PYTHON option enabled in devel/gdb
[2] https://fedoraproject.org/wiki/Features/EasierPythonDebugging
PR: 203021
Submitted by: cem
Reviewed by: mat, koobs (python)
Approved by: koobs (python)
Differential Revision: D10398
|
Saturday, 27 May 2017
|
19:30 sunpoet
Remove BROKEN_SSL
PR: 217703
Submitted by: Melvyn Sopacua <m.r.sopacua@gmail.com>
|
Sunday, 16 Apr 2017
|
11:08 sunpoet
Use BROKEN_SSL and fix indent
|
Friday, 14 Apr 2017
|
18:07 miwi
- Fix shebang
Thanks to: amdmi3
|
Tuesday, 14 Mar 2017
|
21:35 sunpoet
Clean up Makefile
- Use PORTVERSION
- Remove CPE_VERSION
- Update WWW
|
Monday, 26 Dec 2016
|
16:45 sunpoet
- Remove TSC option
PR: 215580
Submitted by: Roland Smith <rsmith@xs4all.nl>
|
Number of commits found: 45 |