Error when installing Hatchling-1.25.0
"azazel xes" ([email protected] via blfs-support Mailing List) <[email protected]> Sat, 13 Sep 2025 20:06:05 +0000
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <SN6PR05MB47046FA58DD87D201F1D47EDF70BA@SN6PR05MB4704.namprd05.prod.outlook.com> |
I'm trying to install Hatchling-1.25.0 but I got an error related to pluggy which its already installed version 1.5.0
root@lfs-12-2 [ /sources/BLFS/hatchling-1.25.0 ]# pip3 install --no-index --find-links=dist --no-cache-dir --no-user hatchling
DEPRECATION: Loading egg at /usr/lib/python3.12/site-packages/seccomp-2.6.0-py3.12-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Looking in links: dist
Processing ./dist/hatchling-1.25.0-py3-none-any.whl
Requirement already satisfied: packaging>=23.2 in /usr/lib/python3.12/site-packages (from hatchling) (24.1)
Requirement already satisfied: pathspec>=0.10.1 in /usr/lib/python3.12/site-packages (from hatchling) (0.12.1)
INFO: pip is looking at multiple versions of hatchling to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pluggy>=1.0.0 (from hatchling) (from versions: none)
ERROR: No matching distribution found for pluggy>=1.0.0
If I ls /usr/lib/python3.12/site-packages:
azazel-xes@lfs-12-2 [ /sources/BLFS ]$ ls /usr/lib/python3.12/site-packages
pluggy
pluggy-0.0.0.dist-info
(pluggy is the only one that has 0.0.0.dist-info in that dir)
And if I cat /usr/lib/python3.12/site-packages/pluggy/_version.py
azazel-xes@lfs-12-2 [ /sources/BLFS ]$ cat /usr/lib/python3.12/site-packages/pluggy/_version.py
# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object
version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
__version__ = version = '1.5.0'
__version_tuple__ = version_tuple = (1, 5, 0)
Would it be any particular reason on why pluggy is 0.0.0.dist-info and would this cause the issue with Hatchling?
--
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page