| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR: 258195
Reported by: wen@
Exp-run by: antoine@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python 3.8 [0] and 3.9 [1] are using a value for "EXT_SUFFIX"
that includes "SOABI" on FreeBSD, C extension module filenames
are affected by this change [2].
[0]: https://github.com/python/cpython/commit/b01091a3e71e6636d2df4db45920e820cdf7df3b
[1]: https://github.com/python/cpython/commit/4b155967b3e743cbdc31600f13f1bfcf07f7b6ce
[2]: https://github.com/python/cpython/blob/v3.8.11/Lib/distutils/command/build_ext.py#L675-683
PR: 256558
Approved by: koobs (python, maintainer)
MFH: 2020Q3 (blanket: bug & regression fix)
|
|
|
|
|
|
| |
Changes: https://docs.python.org/release/3.8.11/whatsnew/changelog.html
PR: 257026
Exp-run by: antoine
|
| |
|
|
|
|
|
| |
PR: 256558
Approved by: portmgr blanket
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Python now requires libffi from ports and does not build with LIBFFI
disabled, so remove the option.
PR: 256141
Reported by: majo-bugs.freebsd.org@cerny.sk
Reviewed by: koobs (python)
Approved by: koobs (python)
MFH: 2020Q2 (bugfix)
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
Changes: https://docs.python.org/release/3.8.10/whatsnew/changelog.html
PR: 255729
Exp-run by: antoine
|
|
|
|
|
|
| |
- Bump PORTREVISION for dependency and package change
PR: 253603
|
|
|
|
|
| |
PR: 248459
Exp-run by: antoine
|
| |
|
| |
|
|
|
|
| |
Notes:
svn path=/head/; revision=566270
|
|
|
|
| |
Notes:
svn path=/head/; revision=558913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=550837
|
|
|
|
|
|
|
| |
MFH: 2020Q3
Notes:
svn path=/head/; revision=543245
|
|
|
|
|
|
|
|
|
| |
https://docs.python.org/release/3.8.4/whatsnew/changelog.html#changelog
MFH: 2020Q3
Notes:
svn path=/head/; revision=542175
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
With hat: portmgr
Notes:
svn path=/head/; revision=536776
|
|
|
|
|
|
|
|
| |
PR: 246618
With hat: portmgr
Notes:
svn path=/head/; revision=536770
|
|
|
|
|
|
|
|
|
|
| |
(include security fix)
MFH: 2020Q2
Security: CVE-2019-18348, CVE-2020-8492
Notes:
svn path=/head/; revision=535463
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/release/3.8.2/whatsnew/changelog.html
Notes:
svn path=/head/; revision=527596
|
|
|
|
| |
Notes:
svn path=/head/; revision=520529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=516854
|
|
PR: 241416
Submitted by: wen@(myself)
Reviewed by: koobs@, amdmi3@
Notes:
svn path=/head/; revision=516377
|