devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D392885d4139f8bdPort details
devel/py-pytoolconfig 1.3.1
Python Tool Configuration
Port info
- Maintainer
- rhurlin@FreeBSD.org
- Packages
- latest: 1.3.1
- Upstream
- up to date
- Last update
- to 1.3.1 · 5d4139f8bd
- Quarterly
- 2026Q4: 1.3.1
- WWW
- https://pypi.org/project/pytoolconfig/
- Links
- cgit · VuXML
Install
- Package
# pkg install py312-pytoolconfiginstalls 1.3.1 fromlatest; fromquarterly(2026Q4) 1.3.1- Port
# cd /usr/ports/devel/py-pytoolconfig && make install clean- Size
- 32 KiB download · 132 KiB installed
- Depends on
- devel/py-black 26.5.1, devel/py-platformdirs 4.11.12, devel/py-pydantic 1.10.20_1,1, lang/python312 3.12.15, textproc/py-sphinx 9.0.4,1, textproc/py-sphinx-autodoc-typehints 1.23.0, textproc/py-sphinx_rtd_theme 3.1.0
- License
- LGPL3+
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.3.1 | 1.3.1 | – |
| FreeBSD 15 | 1.3.1 | 1.3.1 | – |
| FreeBSD 14 | 1.3.1 | 1.3.1 | 1.3.1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.3.1 | 1.3.1 | – |
| FreeBSD 14 | 1.3.1 | 1.3.1 | 1.3.1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.3.1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (9)
devel/py-pytoolconfig: Update to 1.3.1
Changelog: https://github.com/bagel897/pytoolconfig/releases/tag/v1.3.1
https://github.com/bagel897/pytoolconfig/releases/tag/v1.3.0
Reported by: Repologyc45bef1e39devel/py-pytoolconfig: Update to 1.2.6 - Updated workflows and tests Changelog: https://github.com/bagel897/pytoolconfig/compare/v1.2.5...v1.2.6 Reported by: Repologyfe2d5749a3
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cUSE_PYTHON=pep517: bump PORTREVISION1730e97e04
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" Despite installer's default behaviour to compile and install bytecode, we are not doing so going forward at stage/package time. [0] During initial development and qualification of PEP-517 framework support, compiling and installing bytecode at stage/package time was considered, but was found problematic, fragile and ultimately unreliable, both currently and historically (with USE_PYTHON=distutils), due to our fixed plist requirement. While the living binary distribution format (wheel) specification [1] says to compile bytecode, that is in the pure Python package management context (pip, etc); nuance always exists when interacting with "system" package management. Additionally, "bytecode is an implementation detail of the CPython interpreter. No guarantees are made that bytecode will not be added, removed, or changed between versions of Python," thus "should not be considered to work across Python VMs or Python releases." [2] This is important to ensuring correctness for those ports specifying NO_ARCH. Instead of compiling and installing bytecode at stage/package time, there is a WIP, review D34739, that compiles and installs bytecode at install time instead, using triggers. The aforementioned build_fs_violations will be investigated. This reverts commit de6965254c3a007efcf697c3d455b54d2aeb2383. With hat: python Approved by: tcberner (mentor, portmgr) Reference: https://wiki.freebsd.org/Python/PEP-517 [0] https://packaging.python.org/en/latest/specifications/binary-distribution-format/ [1] https://docs.python.org/3/library/dis.html [2]f5890bd3cb
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change
It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].
from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir
from installer documentation:
--compile-bytecode
Possible choices: 0, 1, 2
generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
don’t generate bytecode for installed modules
Default: False
With hat: python
Reference: https://pypa-build.readthedocs.io/en/stable/ [1]
https://installer.pypa.io/en/stable/cli/installer/ [2]de6965254cdevel/py-pytoolconfig: Update to 1.2.5 Changelog: https://github.com/bagel897/pytoolconfig/releases/tag/v1.2.54c64b6485c
devel/py-pytoolconfig: Add new port: Python Tool Configuration Project to manage configuration for python tools, such as black and rope and add support for a pyproject.toml configuration file. https://pypi.org/project/pytoolconfig/06ef76ad42