On 2024/11/13 11:48, Mikolaj Kucharski wrote: > On Wed, Nov 13, 2024 at 12:37:41PM +0100, Theo Buehler wrote: > > > ERROR Missing dependencies: > > > packaging>=24.2 > > > > The dependency is there and the tree has 24.2. > > You probably have py3-packaging-24.1 installed, so update it. > > Yes, that is correct. However, should the Makefile specify > the minimal required version in devel/py-hatchling/Makefile? > > - sysutils/py-packaging${MODPY_FLAVOR} > + sysutils/py-packaging${MODPY_FLAVOR}>=24.2
I prefer not to do that, running with a mixture of old+new things from ports/packages is not really supported, and listing version specs can be a pain in the event we have to bump EPOCH (because they are then no longer comparable). For ports which I touch, I may list a protective _maximum_ version if it's likely to cause a problem (to avoid accidents when updating other ports - or to at least make them more obvious as a build rather than runtime error), I may list a range when there are multiple versions of the same software in the tree and the dependency needs to be on a specific version of that, but I won't usually add a minimum version check unless it's a special case.