| Newsgroups |
gmane.linux.lfs.beyond.book |
| Message-ID |
<178185059133.1125731.9204312000903934775@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository blfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 1cfd1f99a9 Remove attrs python dependency
1cfd1f99a9 is described below
commit 1cfd1f99a9ed7e2cfd16d09c37320febac264c4e
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Jun 18 17:56:55 2026 +0200
Remove attrs python dependency
It is only optional for some module tests, that is, it has the
same status as a lot of other modules that are not in the book.
---
{general/prog/python-dependencies => archive}/attrs.xml | 0
general/prog/python-dependencies.xml | 8 ++++----
general/prog/python-modules/numpy.xml | 6 +++---
general/prog/python-modules/pytest.xml | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/general/prog/python-dependencies/attrs.xml b/archive/attrs.xml
similarity index 100%
rename from general/prog/python-dependencies/attrs.xml
rename to archive/attrs.xml
diff --git a/general/prog/python-dependencies.xml b/general/prog/python-dependencies.xml
index fcb68deeb9..2c7f5dd008 100644
--- a/general/prog/python-dependencies.xml
+++ b/general/prog/python-dependencies.xml
@@ -56,11 +56,11 @@
<xref linkend="alabaster"/>
</para>
</listitem>
- <listitem>
+<!-- <listitem>
<para>
<xref linkend="attrs"/>
</para>
- </listitem>
+ </listitem>-->
<listitem>
<para>
<xref linkend="babel"/>
@@ -261,10 +261,10 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="python-dependencies/alabaster.xml"/>
-
+ <!--
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="python-dependencies/attrs.xml"/>
-
+ -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="python-dependencies/Babel.xml"/>
diff --git a/general/prog/python-modules/numpy.xml b/general/prog/python-modules/numpy.xml
index 4726d96e89..2c2d24b3db 100644
--- a/general/prog/python-modules/numpy.xml
+++ b/general/prog/python-modules/numpy.xml
@@ -104,9 +104,9 @@
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
<para role="optional">
- <xref linkend="attrs"/>,
<xref linkend="pytest"/>,
- <xref linkend="pytz"/>, and
+ <xref linkend="pytz"/>,
+ <ulink url="https://pypi.org/project/attrs/">attrs</ulink>, and
<ulink url="https://pypi.org/project/hypothesis/">hypothesis</ulink>
</para>
@@ -134,7 +134,7 @@
cd test &&
python3 -m venv --system-site-packages testenv &&
source testenv/bin/activate &&
-pip3 install hypothesis &&
+pip3 install hypothesis attrs &&
python3 -c "import numpy, sys; sys.exit(numpy.test() is False)"
deactivate</userinput></screen>
diff --git a/general/prog/python-modules/pytest.xml b/general/prog/python-modules/pytest.xml
index 6544467770..b68e7aaecd 100644
--- a/general/prog/python-modules/pytest.xml
+++ b/general/prog/python-modules/pytest.xml
@@ -81,9 +81,9 @@
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
<para role="optional">
- <xref linkend="attrs"/>,
<xref linkend="requests"/>,
<ulink url="https://pypi.org/project/argcomplete/">argcomplete</ulink>,
+ <ulink url="https://pypi.org/project/attrs/">attrs</ulink>,
<ulink url="https://pypi.org/project/hypothesis/">hypothesis</ulink>,
<ulink url="https://pypi.org/project/mock/">mock</ulink>, and
<ulink url="https://pypi.org/project/xmlschema/">xmlschema</ulink>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page