Re: [Solved] Error when installing Hatchling-1.25.0

"azazel xes" ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 14 Sep 2025 20:04:47 +0000
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <SN6PR05MB47045F367F2617D3A9FC26E4F70AA@SN6PR05MB4704.namprd05.prod.outlook.com>



________________________________
From: [email protected] <[email protected]> on behalf of Xi Ruoyao <[email protected]>
Sent: Sunday, September 14, 2025 12:23 AM
To: [email protected] <[email protected]>
Subject: Re: [blfs-support] Error when installing Hatchling-1.25.0

On Sat, 2025-09-13 at 20:06 +0000, azazel xes wrote:

/* snip */

>
> Would it be any particular reason on why pluggy is 0.0.0.dist-info and
> would this cause the issue with Hatchling?

Likely because you've skipped the recommended dependency setuptools-scm.

--
Xi Ruoyao <[email protected]>


Thanks for replying Xi,

I dig around the error message and the problem was not on Hatchling, I had installed all the required dependencies before (editables-0.5, packaging-24.1, pathspec-0.12.1, pluggy-1.5.0, and trove-classifiers-2024.7.2).

The problem is within pluggy-1.5.0 installation because it creates a directory /usr/lib/python3.12/site-packages/pluggy-0.0.0.dist-info when it should be /usr/lib/python3.12/site-packages/pluggy-1.5.0.dist-info

I renamed /usr/lib/python3.12/site-packages/pluggy-0.0.0.dist-info to /usr/lib/python3.12/site-packages/pluggy-1.5.0.dist-info and Hatchling had no issue installing after this.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page