| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Sort pkg-plists to reduce diff between existing and future versions
of python.
Approved by: portmgr blanket (cosmetic change)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, lang/python38 and lang/python39 don't honor
DISABLED_EXTENSIONS because patch-issue20210 was removed when
lang/python38 was added to the ports tree. patch-issue20210 is still
present on lang/python36 and lang/python37.
Building with poudriere is not affected because builds are executed in a
clean environment.
Setup.local is the more canonical and recommended method for customizing
Python builds for shared extensions & third party libraries.
Support for a *disabled* marker in Setup files was introduced in Python
3.7, so backport this fix to it to keep consistency in the ports tree.
PR: 243358 [1]
PR: 243937 [2]
Reported by: ngie [1]
Reported by: jcfyecrayz@liamekaens.com [2]
Reported by: tuxillo (IRC) DPorts
Reviewed by: koobs (python, maintainer)
Approved by: koobs, dbaio (python, maintainer)
MFH: 2021Q3 (build bugfix)
Differential Revision: https://reviews.freebsd.org/D31086
|
|
|
|
| |
Changes: https://docs.python.org/release/3.7.11/whatsnew/changelog.html
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
PR: 248459
Exp-run by: antoine
|
|
|
|
|
|
| |
- Bump PORTREVISION for dependency and package change
PR: 253601
|
| |
|
|
|
|
|
|
|
|
|
| |
PR: 253757
Submitted by: wen@
Exp-run by: antoine@
Notes:
svn path=/head/; revision=566655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=552351
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 248753
Submitted by: wen@(myself)
Exp-run by: antoine@
MFH: 2020Q3
Security: CVE-2020-15801, CVE-2020-15523, CVE-2020-14422
Notes:
svn path=/head/; revision=546286
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=541232
|
|
|
|
|
|
|
|
|
|
| |
PR: 247630
Submitted by: wen@
Exp-run by: antoine@
MFH: 2020Q3
Notes:
svn path=/head/; revision=541063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patches for CVE-2019-18348 and CVE-2020-8492 are in the 3.7 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 Dani <i.dani@outlook.com>.
PR: 246808
MFH: 2020Q2
X-MFH-with: 536770, 536776
Security: ca595a25-91d8-11ea-b470-080027846a02 (CVE-2019-18348)
Security: a27b0bb6-84fc-11ea-b5b4-641c67a117d8 (CVE-2020-8492)
Notes:
svn path=/head/; revision=538670
|
|
|
|
|
|
|
| |
With hat: portmgr
Notes:
svn path=/head/; revision=536776
|
|
|
|
|
|
|
|
| |
PR: 246618
With hat: portmgr
Notes:
svn path=/head/; revision=536770
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the LIBFFI option
PR: 244782
Submitted by: wen@(myself)
Exp-run by: antoine@
Notes:
svn path=/head/; revision=528692
|
|
|
|
| |
Notes:
svn path=/head/; revision=527556
|
|
|
|
|
|
|
|
|
| |
PR: 242770
Submitted by: wen@(myself)
Exp-run by: antoine@
Notes:
svn path=/head/; revision=520724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=518640
|
|
|
|
| |
Notes:
svn path=/head/; revision=514876
|
|
|
|
|
|
|
| |
MFH: 2019Q4
Notes:
svn path=/head/; revision=514821
|
|
|
|
| |
Notes:
svn path=/head/; revision=514140
|
|
|
|
| |
Notes:
svn path=/head/; revision=508882
|
|
|
|
|
|
|
|
|
| |
(include security fix: https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-4-final)
MFH: 2019Q3
Notes:
svn path=/head/; revision=506331
|
|
|
|
|
|
|
|
|
|
|
| |
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://tiswww.case.edu/php/chet/readline/CHANGES
PR: 236156
Exp-run by: antoine
Notes:
svn path=/head/; revision=498476
|
|
|
|
| |
Notes:
svn path=/head/; revision=497138
|
|
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/3.7/whatsnew/changelog.html
Security: bcc4de965c36f6dea4e6ebcd4289a915
MFH: 2019Q1
Notes:
svn path=/head/; revision=496917
|
|
|
|
|
|
|
|
| |
PR: 229562
Reported by: many
Notes:
svn path=/head/; revision=488798
|
|
|
|
| |
Notes:
svn path=/head/; revision=488355
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=483807
|
|
|
|
| |
Notes:
svn path=/head/; revision=482667
|
|
|
|
| |
Notes:
svn path=/head/; revision=482664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=482271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Bump PORTREVISION for package change
Support for building --without-threads has been removed.
The threading module is now always available.
PR: 230605
Submitted by: Roland Smith <rsmith@xs4all.nl>
Reference: https://docs.python.org/3/whatsnew/3.7.html
Notes:
svn path=/head/; revision=478157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=475350
|
|
|
|
|
|
|
|
| |
Reported by: mat
Sponsored by: iXsystems Inc.
Notes:
svn path=/head/; revision=474270
|
|
|
|
|
|
|
|
| |
PR: 229640
Sponsored by: iXsystems Inc.
Notes:
svn path=/head/; revision=474267
|
|
Notes:
svn path=/head/; revision=473992
|