git: dd4a559d6d9c - main - devel/py-mutmut: update 3.6.0 → 3.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 02:33:19 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dd4a559d6d9c2b4562d58858a16134a848d9f531
commit dd4a559d6d9c2b4562d58858a16134a848d9f531
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-15 00:49:01 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-15 02:33:07 +0000
devel/py-mutmut: update 3.6.0 → 3.8.0
---
devel/py-mutmut/Makefile | 33 ++++++++++++++++--------------
devel/py-mutmut/distinfo | 6 +++---
devel/py-mutmut/files/patch-pyproject.toml | 25 ++++++++++++++++------
3 files changed, 40 insertions(+), 24 deletions(-)
diff --git a/devel/py-mutmut/Makefile b/devel/py-mutmut/Makefile
index 22a77975fb63..e1e45254956d 100644
--- a/devel/py-mutmut/Makefile
+++ b/devel/py-mutmut/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mutmut
-DISTVERSION= 3.6.0
+DISTVERSION= 3.8.0
CATEGORIES= devel
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,25 +12,23 @@ WWW= https://mutmut.readthedocs.io/en/latest/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>0:devel/py-uv-build@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0.12.3:devel/py-uv-build@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}libcst>=1.8.5:devel/py-libcst@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.0:devel/py-setproctitle@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}textual>=1.0.0:textproc/py-textual@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.3.1:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}coverage>=7.3.0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hammett>0:devel/py-hammett@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}inline-snapshot>=0.32.0:devel/py-inline-snapshot@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}libcst>=1.9.0:devel/py-libcst@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.3.7:devel/py-setproctitle@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}textual>=1.0.0:textproc/py-textual@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}inline-snapshot>=0.32.0:devel/py-inline-snapshot@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mypy>=2.3.1:devel/py-mypy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyrefly>=0.59.1:devel/py-pyrefly@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.0.0:devel/py-pytest-asyncio@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ruff>=0.15.7:devel/py-ruff@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}ruff>=0.16.6:devel/py-ruff@${PY_FLAVOR}
USES= python
-USE_PYTHON= pep517 concurrent autoplist pytest # 2 tests fail because they require the fixture 'testdata' which is only for Python-3.10+
+USE_PYTHON= pep517 concurrent autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= boxed
@@ -40,7 +38,12 @@ NO_ARCH= yes
BINARY_ALIAS= python=${PYTHON_CMD}
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}
+TEST_ARGS= --disable-plugin-autoload \
+ -p pytest_asyncio.plugin \
+ --ignore=tests/e2e \
+ --deselect tests/test_code_coverage.py::test_excluded_lines_reports_only_the_first_line_of_each_statement
-# tests as of 3.6.0: 1 failed, 295 passed, 4 skipped, 337 warnings in 26.66s, see https://github.com/boxed/mutmut/issues/533
+# tests as of 3.8.0: 442 passed, 3 skipped, 1 deselected
.include <bsd.port.mk>
diff --git a/devel/py-mutmut/distinfo b/devel/py-mutmut/distinfo
index 989519c3f35b..94d2db498626 100644
--- a/devel/py-mutmut/distinfo
+++ b/devel/py-mutmut/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782612300
-SHA256 (boxed-mutmut-3.6.0_GH0.tar.gz) = 5b416458e0999f85da3d0ec051239d1b3bd285c9282e8b4bb4205ffe0e4549c0
-SIZE (boxed-mutmut-3.6.0_GH0.tar.gz) = 692879
+TIMESTAMP = 1789395254
+SHA256 (boxed-mutmut-3.8.0_GH0.tar.gz) = 91e9e66db11de824849241a9ce88a287245f23322267496ab9a94b3cfa71cd6b
+SIZE (boxed-mutmut-3.8.0_GH0.tar.gz) = 777669
diff --git a/devel/py-mutmut/files/patch-pyproject.toml b/devel/py-mutmut/files/patch-pyproject.toml
index 5f77a15c3b59..6efa9a3bab9c 100644
--- a/devel/py-mutmut/files/patch-pyproject.toml
+++ b/devel/py-mutmut/files/patch-pyproject.toml
@@ -1,11 +1,24 @@
---- pyproject.toml.orig 2026-06-28 02:09:21 UTC
+-- Drop the uv_build upper bound so the port builds with the version of
+-- uv-build available in the FreeBSD ports tree, and lower the click lower
+-- bound to match the devel/py-click version currently in the ports tree.
+
+--- pyproject.toml.orig 2026-09-12 16:53:22 UTC
+++ pyproject.toml
-@@ -45,7 +45,7 @@ mutmut = "mutmut.__main__:cli"
+@@ -25,7 +25,7 @@
+ ]
+
+ dependencies = [
+- "click>=8.4.2",
++ "click>=8.3.1",
+ "coverage>=7.3.0",
+ "libcst>=1.9.0",
+ "pytest>=6.2.5",
+@@ -46,7 +46,7 @@
mutmut = "mutmut.__main__:cli"
-
+
[build-system]
--requires = ["uv_build>=0.9.5,<0.10.0"]
-+requires = ["uv_build>=0.9.5"]
+-requires = ["uv_build>=0.12.3,<1"]
++requires = ["uv_build>=0.12.3"]
build-backend = "uv_build"
-
+
[tool.uv.build-backend]