summaryrefslogtreecommitdiff
path: root/lang/python311
AgeCommit message (Collapse)Author
2026-01-03Revert "Reapply "lang/python31[012]: deprecate 2026-03-31""Antoine Brodin
This reverts commit a132acab8736bad2fa59e941d5d77da4ea7688a0. This commit is disrespectful for people trying to make the ports tree work with version 3.12 With hat: pkgmgr
2026-01-03Reapply "lang/python31[012]: deprecate 2026-03-31"Matthias Andree
This reverts commit 666108a04abc08a18791425f967b26357dd4d96d.
2026-01-03Revert "lang/python31[012]: deprecate 2026-03-31"Charlie Li
The latest 3.12 release contains the referenced security fixes. The other two branches are not EOL. PR: 291609 With hat: python Requested by: antoine This reverts commit 66173037774d8648a59e30b424692ae80dbc20b3.
2026-01-03lang/python31[012]: deprecate 2026-03-31Matthias Andree
Since the current Python upstream maintainers have not yet released security fix releases to match 3.14.2 and 3.13.11, meaning that we have about three unfixed security issues per 3.12/3.11/3.10 release, and the current FreeBSD python@ team is unwilling to take approved upstream patches individually (see PR), we need to expedite the removal of vulnerable versions and the transition to 3.13/3.14. Deprecate all "security support" releases of Python that are not in the bugfix phase. PR: 291609
2025-10-15lang/python311: Update to 3.11.14Wen Heping
PR: 290159 Exp-run by: antoine@
2025-08-13lang/python31{1,2}: enable LTO on powerpc64lePiotr Kubaj
The crash doesn't happen anymore
2025-06-30*: Update comment references to e2fsprogs-libuuid to libuuid.Matthias Andree
PR: 251489
2025-06-19python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etcCharlie Li
EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 202506
2025-06-12lang/python311: Update to 3.11.13Wen Heping
PR: 287313 Reported by: wen <wenheping2000@hotmail.com> Exp-run by: antoine@
2025-05-29lang/python311: pull in upstream commit addressing CVE-2025-4516Charlie Li
Reference: https://github.com/python/cpython/pull/134341 PR: 287009
2025-04-18lang/python311: Update to 3.11.12Wen Heping
PR: 285971 Reported by: wen@ Exp-run by: antoine@
2024-12-12lang/python311: Update to 3.11.11Wen Heping
PR: 283139 Reported by: wen@ Exp-run by: antoine@
2024-09-13lang/python311: Update to 3.11.10Wen Heping
PR: 281379 Reported by: wen@ Exp-run by: antoine@
2024-07-09lang/python311: fix stage with DEBUG option ONVladimir Druzenko
2024-07-09lang/python311: disable LTO on powerpc64lePiotr Kubaj
While LTOized python seems mostly fine, it crashes during build of x11/mate-terminal: pid 71560 (python3.11), jid 151, uid 65534: exited on signal 11 (core dumped) After disabling LTO, x11/mate-terminal builds fine.
2024-06-24lang/python311: refresh LibreSSL patchesCharlie Li
LibreSSL 3.9 introduced X509_STORE_get1_objects(3) so modify the preprocessor guard to account. Prior to LibreSSL < 3.9 becoming EOL, an additional conditional was needed to copy LibreSSL 3.9's X509_STORE_get1_objects(3) as the included implementation for OpenSSL < 3.3 clashed with LibreSSL. Event: ARRL/RAC Field Day 2024 PR: 279390
2024-06-23lang/python311: Improve build timesDaniel Engberg
Don't generate debug symbols by default, we discard these anyway and on my Tigerlake laptop it reduces build time roughly by 25% with LTO enabled Switch from -flto=thin to (fat)lto, there's no parallization so it's actually slower and produces slightly larger binaries PR: 279585 Approved by: portmgr (maintainer timeout, 2+ weeks)
2024-04-13lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after ↵Po-Chuan Hsieh
9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
2024-04-06lang/python311: Update to 3.11.9Po-Chuan Hsieh
Changes: https://docs.python.org/release/3.11.9/whatsnew/changelog.html
2024-03-19lang/python3*: bump PORTREVISION following mpdecimal updateRobert Clausecker
The mpdecimal update changes the soname; bump dependent ports. PR: 276444
2024-02-08lang/python311: update to 3.11.8Charlie Li
Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-8-final
2024-02-04lang/python311: Fix build on armv7 with LLVM 17Benjamin Jacobs
Reported by: brd PR: 276249
2024-01-23lang/python311: Impelled to share/manMuhammad Moinur Rahman
Approved by: portmgr (blanket)
2023-12-31*/*: Sunset 12.4-RELEASE/12-STABLE from ports treeMuhammad Moinur Rahman
- Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
2023-12-11lang/python311: Update to 3.11.7Wen Heping
2023-10-21www/vaultwarden-web_vault: Revert borked git addBernard Spil
This reverts commit 3a3fbae18157d39b68c43c590fa9e977fed9cef4.
2023-10-21www/vaultwarden-web_vault: Update to 2023.8.2Bernard Spil
PR: 274304 Approved by: maintainer time-out
2023-10-05lang/python311: Clean up unnecessary PLIST_SUBPo-Chuan Hsieh
- Remove XY: Replace .cpython-%%XY%% with %%PYTHON_EXT_SUFFIX%% - Remove XYDOT: - Replace lib/python%%XYDOT%% with %%PYTHON_LIBDIR%% - Replace %%XYDOT%% with %%PYTHON_VER%% - Rename XYZDOT to DISTVERSION
2023-10-03lang/python311: Update to 3.11.6Wen Heping
2023-08-26lang/python311: Update to 3.11.5Wen Heping
2023-06-30lang/python311: Sort PLISTPo-Chuan Hsieh
2023-06-30lang/python311: Revert unrelated changes in ↵Po-Chuan Hsieh
c4d9557b0830c8d4028737d25344456002760586
2023-06-10www/nextcloud: Update to 26.0.2Bernard Spil
2023-06-08lang/python311: Update to 3.11.4Wen Heping
2023-04-07lang/python311: Update to 3.11.3Wen Heping
2023-03-28lang/python311: add LibreSSL supportCharlie Li
LibreSSL 3.6 and later are fully compatible with PEP-644 for the ssl and hmac modules, but not hashlib due to missing SHA-3/SHAKE, BLAKE2 and scrypt. Partially reverts https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e for _hashopenssl.c only and void the configure check so that hashlib builds on LibreSSL.
2023-02-27lang/python: restore USES=python variables and SUB_LIST (no-op)Charlie Li
Has been a to do item for time. These are independent from but used by the bytecode trigger.
2023-02-27lang/python: Revert "add bytecode trigger"Matthias Andree
This reverts commit c17ddfbf66e2801ec620d49979aca3d7077d7002. This causes breakage on several ports, and the next iteration requires a full exp-run. See: Differential Revision: https://reviews.freebsd.org/D34739
2023-02-24lang/python3: allow using LTO on powerpc64Piotr Kubaj
It was recently fixed and will be available in 13.2-RELEASE. Since LTO is not enabled by default, it's ok to make it available.
2023-02-15lang/python: add bytecode triggerCharlie Li
Facilitates compiling, writing and removing bytecode files (.pyc) in site-packages after all pkg transactions have been completed. Technical details: https://wiki.freebsd.org/Python/CompiledPackages Fixes reports of Python port builds as root failing on filesystem violations due to bytecode file writes where the port did not include them in the package. For those ports/packages that currently package bytecode, some checksum mismatches on those files may occur. This is harmless and will be rectified, in large as part of a USE_PYTHON=distutils overhaul to reduce churn. While here, implement a long-standing todo item of letting lang/python ports use python.mk bits. Not only does this obviate duplicate variables in each Makefile, but SUB_LIST (also added) is used for these triggers. Co-authored by: tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D34739
2023-02-09lang/python311: Update to 3.11.2Wen Heping
2022-12-23lang/python311: fix asyncio.subprocess regressionDmitry Marakasov
Fix losing stdout of asyncio.subprocess spawned processes. PR: 268502 Approved by: wen (python@) Upstream issue: https://github.com/python/cpython/issues/100133
2022-12-07lang/python311: Update to 3.11.1Wen Heping
2022-11-14lang/python*: Support FreeBSD divert(4) socketWen Heping
PR: 267648 Reported by: glebius@ Exp-run by: antoine@
2022-10-28lang/python311: Fix packaging when DEBUG option is onLi-Wen Hsu
2022-10-28lang/python311: Fix packaging when WITHOUT_NIS is definedLi-Wen Hsu
PR: 267399 Reported by: Raivo Hool <raivo@lehma.com>
2022-10-26lang/python311: Update to 3.11.0 release.Wen Heping
PR: 267342 Reported by: wen
2022-09-14lang/python311: Update to 3.11.0 RC2Wen Heping
Update COMMENT
2022-09-07Remove WWW entries moved into port MakefilesStefan Eßer
Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
2022-09-07Add WWW entries to port MakefilesStefan Eßer
It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)