Re: git: f68ce0bd2825 - main - Mk/Uses/python.mk: Update PY_TOMLI
- In reply to: Po-Chuan Hsieh : "git: f68ce0bd2825 - main - Mk/Uses/python.mk: Update PY_TOMLI"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Oct 2025 04:49:36 UTC
From: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Subject: git: f68ce0bd2825 - main - Mk/Uses/python.mk: Update PY_TOMLI
Date: Sun, 19 Oct 2025 00:06:39 GMT
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69
>
> commit f68ce0bd2825dccfb0fcf52fecf6e4c0d2796d69
> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2025-10-19 00:00:02 +0000
> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2025-10-19 00:00:02 +0000
>
> Mk/Uses/python.mk: Update PY_TOMLI
>
> devel/py-pyproject-api 1.10.0 requires textproc/py-tomli 2.3+.
After this commit build of security/py-service-identity fails as
below.
===> py312-service-identity-24.2.0 depends on package: py312-cryptography>=45.0.7,1<47,1 - not found
===> Installing existing package /packages/All/py312-cryptography-44.0.3_4,1.pkg
[143amd64-default-LocalSetting-job-02] Installing py312-cryptography-44.0.3_4,1...
[143amd64-default-LocalSetting-job-02] `-- Installing py312-cffi-1.17.1...
[143amd64-default-LocalSetting-job-02] | `-- Installing py312-pycparser-2.23...
[143amd64-default-LocalSetting-job-02] | `-- Extracting py312-pycparser-2.23: .......... done
[143amd64-default-LocalSetting-job-02] `-- Extracting py312-cffi-1.17.1: .......... done
[143amd64-default-LocalSetting-job-02] Extracting py312-cryptography-44.0.3_4,1: .......... done
===> py312-service-identity-24.2.0 depends on package: py312-cryptography>=45.0.7,1<47,1 - not found
*** Error code 1
Stop.
make: stopped in /usr/ports/security/py-service-identity
> diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
> index c96b633f1254..37a2a48b9a55 100644
> --- a/Mk/Uses/python.mk
> +++ b/Mk/Uses/python.mk
> @@ -633,7 +633,7 @@ _PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp
>
> # cryptography* support
> . if ${PYCRYPTOGRAPHY_DEFAULT} == rust
> -CRYPTOGRAPHY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=44.0.3,1:security/py-cryptography@${PY_FLAVOR}
> +CRYPTOGRAPHY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=45.0.7,1<47,1:security/py-cryptography@${PY_FLAVOR}
> . else
> CRYPTOGRAPHY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-legacy>=3.4.8_3,1:security/py-cryptography-legacy@${PY_FLAVOR}
> . endif
Since current PKGVERSION of security/py-cryptography is 44.0.3_4,1,
this change makes the requirement of py-cryptography alway unmet.
---
Yasuhiro Kimura