Re: By default nmap requires an internet connection

"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 5/14/25 11:16 AM, Bruce Dubbs wrote:
> On 5/14/25 4:40 AM, Pierre Labastie wrote:
>> Le mercredi 14 mai 2025 à 03:40 -0500, Bruce Dubbs a écrit :

>>> Indeed.  The  system-site-packages option to the venv module is used
>>> 21 times, mostly
>>> in python-dependencies and python-modules. Almost all are in the
>>> context of running
>>> tests.  This seems to be a rather unusual situation as I can't recall
>>> documenting an
>>> option for tests.
>>>
>>> For Python packages we don't document Python3/pip3 modules like wheel
>>> (in LFS),
>>> install, pytest, or venv. Most of those are fairly obvious, but venv
>>> might not jump
>>> out to new users.
>>>
>>> I'm not sure what the best option is for this issue.
>>
>> Well, document the option, not the command itself. See the (of course
>> amendable) commit 2635fba3d9. If we don't want to document options in
>> tests (why?), we need at least to document this option in samba.
> 
> I didn't say we shouldn't document options in tests.  I was just saying I think it 
> would be something we haven't done in the past.
> 
> I suppose we could create an xinclude:
> ------
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
>     "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
> 
>      <para>
>        <option>-m venv --system-site-packages</option>:
>        Create a virtual environment and give it access to the system
>        site-packages.
>      </para>
> ------
> 
> And then add that to all the Command Explanations sections of the pages
> that use it.

Oops.  I see you already did that.  Thanks.

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.