Re: Some py ports depends on py39-setuptools_scm>=6.4 do not detect py39-setuptools_scm 7

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Wed, 06 Dec 2023 07:44:44 UTC
On 06/12/2023 07:00, Xavier Humbert wrote:
> Hi,
> 
> py39-setuptools_scm has been upgrade to version 7, but I got errors with 
> some ports :
> 
> ===>   py39-anyio-4.1.0 depends on package: py39-setuptools_scm>=6.4 - 
> not found
> 
> While
> 
> pkg info py39-setuptools_scm7
> py39-setuptools_scm7-7.1.0
> Name           : py39-setuptools_scm7
> Version        : 7.1.0
> 
> I'm aware that the name has changed, but this leads to a conflict, 
> py39-anyio-4.1.0 tries to reinstall py39-setuptools_scm6 :
> 
> pkg-static: py39-setuptools_scm-6.4.2 conflicts with 
> py39-setuptools_scm7-7.1.0 (installs files into the same place). 
> Problematic file: 
> /usr/local/lib/python3.9/site-packages/setuptools_scm/__init__.py
> 
> Ports concerned :
> 
>          ! devel/py-pytest-runner (py39-pytest-runner-6.0.0_1) (unknown 
> build error)
>          ! math/py-kiwisolver (py39-kiwisolver-1.4.4_1,1) (unknown build 
> error)
>          ! devel/py-importlib-metadata (py39-importlib-metadata-6.8.0) 
> (unknown build error)
>          ! devel/py-anyio (py39-anyio-4.0.0)     (unknown build error)
> 
> Should I submit a bugreport to upgrade py39-setuptools_scm dependency in 
> these ports ?

There is already a bug report: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272134

And a patch and a review: https://reviews.freebsd.org/D39288

It's just taking some time to get the upgrade into place without 
breaking too much of the ports tree.

	Cheers,

	Matthew