On 2022-03-05 17:59:48 +0100, Marco Sulla wrote:
> On Sat, 5 Mar 2022 at 17:36, Barry Scott <ba...@barrys-emacs.org> wrote:
> > Note: you usually cannot use pip when building an RPM with mock as the 
> > network is disabled inside the build for
> > security reasons.
> 
> Can't he previously download the packages and run pip on the local packages?

That shouldn't be necessary. Any packages needed by that new package
should be dependencies of that package, so they must also already exist
as RPMs. The rpm build process will automatically install them if they
aren't already.

(That may not be true for build dependencies, though.)

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | h...@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment: signature.asc
Description: PGP signature

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to