Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271090

Bug#1121121: python-pip: causes other packages to FTBFS

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121121: python-pip: causes other packages to FTBFS
Date 2025-11-21 22:20 +0100
Message-ID <LTGHU-eIBC-13@gated-at.bofh.it> (permalink)
References <LTy7F-eD5e-79@gated-at.bofh.it> <LTy7F-eD5e-79@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: reassign -1 src:libselinux

Hi Luke (2025.11.21_12:07:21_+0000)

I'm afraid this is because you are using a deprecated mode of pip.

I don't think pip is particularly suited to the use that libselinux has 
for it. It's meant as an end-user package installer, not a build tool.
These days there is a separate build tool, "build" that we use for our 
Python packaging. My recommendation would be to use that (via pybuild) 
wherever possible.

If you look at your last build, you'll see:
>   DEPRECATION: Building 'selinux' using the legacy setup.py 
>   bdist_wheel mechanism, which will be removed in a future version. 
>   pip 25.3 will enforce this behaviour change. A possible replacement 
>   is to use the standardized build interface by setting the 
>   `--use-pep517` option, (possibly combined with 
>   `--no-build-isolation`), or adding a `pyproject.toml` file to the 
>   source tree of 'selinux'. Discussion can be found at 
>   https://github.com/pypa/pip/issues/6334

That's the deprecation that was enacted now.

If you want to continue to use pip, you can explicitly specify
--use-pep517. You'll need --no-build-isolation too, to be able to do 
this without downloading code from the Internet.

But... as I said, this isn't the recommended path.

Stefano

-- 
Stefano Rivera
   http://tumbleweed.org.za/
   +1 415 683 3272

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1121121: python-pip: causes other packages to FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 13:10 +0100
  Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 13:40 +0100
    Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 14:30 +0100
    Bug#1121121: python-pip: causes other packages FTBFS Luke Yasuda <jing@jing.rocks> - 2025-11-21 14:30 +0100
  Bug#1121121: python-pip: causes other packages to FTBFS Stefano Rivera <stefanor@debian.org> - 2025-11-21 22:20 +0100

csiph-web