[jhalfs] branch trunk updated: Add --no-deps for pip3 install --root ...

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 27 Mar 2025 13:55:39 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <174308373995.5886.1118497023770726798@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new f6930b4  Add --no-deps for pip3 install --root ...
f6930b4 is described below

commit f6930b4649bb23552a3b39dff57db06a1fb1cb0d
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Mar 27 14:52:01 2025 +0100

    Add --no-deps for pip3 install --root ...
    
    When doing a "DESTDIR" install of a python package, we use "-I" which
    ignores installed packages. But then installed dependencies are
    ignored too, and pip3 install fails unless the package has no
    dependencies. Adding "--no-deps" allows to by pass the dependency
    check.
---
 BLFS/xsl/scripts.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl
index 77a1814..32c1613 100644
--- a/BLFS/xsl/scripts.xsl
+++ b/BLFS/xsl/scripts.xsl
@@ -1000,7 +1000,7 @@ DESTDIR=$PKG_DEST ninja</xsl:text>
           </xsl:when>
           <xsl:otherwise>
             <xsl:text>
-pip3 install -I --root $PKG_DEST</xsl:text>
+pip3 install -I --no-deps --root $PKG_DEST</xsl:text>
               <xsl:call-template name="outputpkgdest">
                 <xsl:with-param
                     name="outputstring"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

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