[blfs] branch trunk updated: Add poetry-core-2.4.1 and tomlkit-0.15.1 (Python dependencies)

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <178688924040.2746712.4773115864853592703@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 52d791893e Add poetry-core-2.4.1 and tomlkit-0.15.1 (Python dependencies)
52d791893e is described below

commit 52d791893e1c0cdba30f916738f1975231f3ec45
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Aug 16 15:27:20 2026 +0200

    Add poetry-core-2.4.1 and tomlkit-0.15.1 (Python dependencies)
    
    They are required by hatchling
---
 general/prog/python-dependencies.xml               |  16 +++
 general/prog/python-dependencies/hatchling.xml     |   3 +-
 general/prog/python-dependencies/poetry-core.xml   | 151 +++++++++++++++++++++
 .../{hatchling.xml => tomlkit.xml}                 |  76 ++++++-----
 introduction/welcome/changelog.xml                 |  11 ++
 packages.ent                                       |   4 +
 6 files changed, 227 insertions(+), 34 deletions(-)

diff --git a/general/prog/python-dependencies.xml b/general/prog/python-dependencies.xml
index 6c52791d8b..37e14961c9 100644
--- a/general/prog/python-dependencies.xml
+++ b/general/prog/python-dependencies.xml
@@ -151,6 +151,11 @@
           <xref linkend="pluggy"/>
         </para>
       </listitem>
+      <listitem>
+        <para>
+          <xref linkend="poetry-core"/>
+        </para>
+      </listitem>
       <listitem>
         <para>
           <xref linkend="pyproject-hooks"/>
@@ -231,6 +236,11 @@
           <xref linkend="sc-serializinghtml"/>
         </para>
       </listitem>
+      <listitem>
+        <para>
+          <xref linkend="tomlkit"/>
+        </para>
+      </listitem>
       <listitem>
         <para>
           <xref linkend="trove-classifiers"/>
@@ -324,6 +334,9 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="python-dependencies/pluggy.xml"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="python-dependencies/poetry-core.xml"/>
+
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="python-dependencies/pyproject-hooks.xml"/>
 
@@ -372,6 +385,9 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="python-dependencies/sphinxcontrib-serializinghtml.xml"/>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="python-dependencies/tomlkit.xml"/>
+
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="python-dependencies/trove-classifiers.xml"/>
 
diff --git a/general/prog/python-dependencies/hatchling.xml b/general/prog/python-dependencies/hatchling.xml
index 0d27756722..46f13ec49c 100644
--- a/general/prog/python-dependencies/hatchling.xml
+++ b/general/prog/python-dependencies/hatchling.xml
@@ -69,7 +69,8 @@
       <bridgehead renderas="sect5">Required</bridgehead>
       <para role="required">
         <xref linkend="pathspec"/>,
-        <xref linkend="pluggy"/>, and
+        <xref linkend="pluggy"/>,
+        <xref linkend="tomlkit"/>, and
         <xref linkend="trove-classifiers"/>
       </para>
 
diff --git a/general/prog/python-dependencies/poetry-core.xml b/general/prog/python-dependencies/poetry-core.xml
new file mode 100644
index 0000000000..5edae1bd94
--- /dev/null
+++ b/general/prog/python-dependencies/poetry-core.xml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../../general.ent">
+  %general-entities;
+
+  <!ENTITY poetry-core-download-http "https://files.pythonhosted.org/packages/source/p/poetry_core/poetry_core-&poetry-core-version;.tar.gz">
+  <!ENTITY poetry-core-download-ftp  " ">
+  <!ENTITY poetry-core-md5sum        "&poetry-core-md5sum;">
+  <!ENTITY poetry-core-size          "404 KB">
+  <!ENTITY poetry-core-buildsize     "10 MB (add 28 MB for tests)">
+  <!ENTITY poetry-core-time          "less than 0.1 SBU (0.3 SBU for tests)">
+]>
+
+  <sect2 id="poetry-core" xreflabel="poetry-core-&poetry-core-version;">
+
+    <title>Poetry-core-&poetry-core-version;</title>
+
+    <indexterm zone="poetry-core">
+      <primary sortas="a-poetry-core">poetry-core</primary>
+    </indexterm>
+
+    <sect3 role="package">
+      <title>Introduction to Poetry-core Module</title>
+
+      <para>
+        <application>Poetry-core</application> is an extensible, standards
+        compliant build backend for python modules.
+      </para>
+
+      &lfs130_checked;
+
+      <bridgehead renderas="sect4">Package Information</bridgehead>
+      <itemizedlist spacing="compact">
+        <listitem>
+          <para>
+            Download (HTTP): <ulink url="&poetry-core-download-http;"/>
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            Download (FTP): <ulink url="&poetry-core-download-ftp;"/>
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            Download MD5 sum: &poetry-core-md5sum;
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            Download size: &poetry-core-size;
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            Estimated disk space required: &poetry-core-buildsize;
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            Estimated build time: &poetry-core-time;
+          </para>
+        </listitem>
+      </itemizedlist>
+
+      <bridgehead renderas="sect4">Poetry-core Dependencies</bridgehead>
+
+      <bridgehead renderas="sect5">Optional (for tests)</bridgehead>
+      <para role="optional">
+        <xref linkend="pytest"/>,
+        <xref linkend="pypa-build"/>,
+        <ulink url="https://pypi.org/project/pytest-cov/">pytest-cov</ulink>,
+        <ulink url="https://pypi.org/project/pytest-mock/">pytest-mock</ulink>, and
+        <ulink url="https://pypi.org/project/virtualenv/">virtualenv</ulink>
+      </para>
+
+    </sect3>
+
+    <sect3 role="installation">
+      <title>Installation of Poetry-core</title>
+
+    <para>Build the module: </para>
+
+&build-wheel;
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>&install-wheel; poetry-core</userinput></screen>
+
+    <para>
+      To test the installation, make sure <xref linkend='pytest'/> and
+      <xref linkend='pypa-build'/> are
+      installed, then issue:
+    </para>
+
+<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv                &amp;&amp;
+testenv/bin/pip3 install pytest-{cov,mock} tomli-w virtualenv &amp;&amp;
+testenv/bin/python -m pytest</userinput></screen>
+
+    </sect3>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../../xincludes/pip3-cmd-explain.xml"/>
+
+    <sect3 role="content">
+      <title>Contents</title>
+
+      <segmentedlist>
+        <segtitle>Installed Programs</segtitle>
+        <segtitle>Installed Libraries</segtitle>
+        <segtitle>Installed Directories</segtitle>
+
+        <seglistitem>
+          <seg>None</seg>
+          <seg>None</seg>
+          <seg>
+            /usr/lib/python&python3-majorver;/site-packages/poetry and
+            /usr/lib/python&python3-majorver;/site-packages/poetry_core-&poetry-core-version;.dist-info
+          </seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <variablelist>
+        <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+        <?dbfo list-presentation="list"?>
+        <?dbhtml list-presentation="table"?>
+
+      <!-- If the program or library name conflicts with (is the same as) the
+      package name, add -prog or -lib to the varlistentry entity id
+      and the 2nd entry of the indexterm zone entity -->
+
+        <varlistentry id="poetry-core-prog">
+          <term><command>poetry-core</command></term>
+          <listitem>
+            <para>
+              is a python module builder
+            </para>
+            <indexterm zone="poetry-core poetry-core-prog">
+              <primary sortas="b-poetry-core">poetry-core</primary>
+            </indexterm>
+          </listitem>
+        </varlistentry>
+
+      </variablelist>
+
+    </sect3>
+
+  </sect2>
diff --git a/general/prog/python-dependencies/hatchling.xml b/general/prog/python-dependencies/tomlkit.xml
similarity index 53%
copy from general/prog/python-dependencies/hatchling.xml
copy to general/prog/python-dependencies/tomlkit.xml
index 0d27756722..59ca239144 100644
--- a/general/prog/python-dependencies/hatchling.xml
+++ b/general/prog/python-dependencies/tomlkit.xml
@@ -4,27 +4,27 @@
   <!ENTITY % general-entities SYSTEM "../../../general.ent">
   %general-entities;
 
-  <!ENTITY hatchling-download-http "https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-&hatchling-version;.tar.gz">
-  <!ENTITY hatchling-download-ftp  " ">
-  <!ENTITY hatchling-md5sum        "&hatchling-md5sum;">
-  <!ENTITY hatchling-size          "56 KB">
-  <!ENTITY hatchling-buildsize     "1.1 MB">
-  <!ENTITY hatchling-time          "less than 0.1 SBU">
+  <!ENTITY tomlkit-download-http "https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-&tomlkit-version;.tar.gz">
+  <!ENTITY tomlkit-download-ftp  " ">
+  <!ENTITY tomlkit-md5sum        "&tomlkit-md5sum;">
+  <!ENTITY tomlkit-size          "176 KB">
+  <!ENTITY tomlkit-buildsize     "5.7 MB (add 17 MB for tests)">
+  <!ENTITY tomlkit-time          "less than 0.1 SBU (with tests)">
 ]>
 
-  <sect2 id="hatchling" xreflabel="hatchling-&hatchling-version;">
+  <sect2 id="tomlkit" xreflabel="tomlkit-&tomlkit-version;">
 
-    <title>Hatchling-&hatchling-version;</title>
+    <title>Tomlkit-&tomlkit-version;</title>
 
-    <indexterm zone="hatchling">
-      <primary sortas="a-hatchling">hatchling</primary>
+    <indexterm zone="tomlkit">
+      <primary sortas="a-tomlkit">tomlkit</primary>
     </indexterm>
 
     <sect3 role="package">
-      <title>Introduction to Hatchling Module</title>
+      <title>Introduction to Tomlkit Module</title>
 
       <para>
-        <application>Hatchling</application> is an extensible, standards
+        <application>Tomlkit</application> is an extensible, standards
         compliant build backend for python modules.
       </para>
 
@@ -34,63 +34,73 @@
       <itemizedlist spacing="compact">
         <listitem>
           <para>
-            Download (HTTP): <ulink url="&hatchling-download-http;"/>
+            Download (HTTP): <ulink url="&tomlkit-download-http;"/>
           </para>
         </listitem>
         <listitem>
           <para>
-            Download (FTP): <ulink url="&hatchling-download-ftp;"/>
+            Download (FTP): <ulink url="&tomlkit-download-ftp;"/>
           </para>
         </listitem>
         <listitem>
           <para>
-            Download MD5 sum: &hatchling-md5sum;
+            Download MD5 sum: &tomlkit-md5sum;
           </para>
         </listitem>
         <listitem>
           <para>
-            Download size: &hatchling-size;
+            Download size: &tomlkit-size;
           </para>
         </listitem>
         <listitem>
           <para>
-            Estimated disk space required: &hatchling-buildsize;
+            Estimated disk space required: &tomlkit-buildsize;
           </para>
         </listitem>
         <listitem>
           <para>
-            Estimated build time: &hatchling-time;
+            Estimated build time: &tomlkit-time;
           </para>
         </listitem>
       </itemizedlist>
 
-      <bridgehead renderas="sect4">Hatchling Dependencies</bridgehead>
+      <bridgehead renderas="sect4">Tomlkit Dependencies</bridgehead>
 
       <bridgehead renderas="sect5">Required</bridgehead>
       <para role="required">
-        <xref linkend="pathspec"/>,
-        <xref linkend="pluggy"/>, and
-        <xref linkend="trove-classifiers"/>
+        <xref linkend="poetry-core"/>
+      </para>
+
+      <bridgehead renderas="sect5">Optional (for tests) </bridgehead>
+      <para role="optional">
+        <xref linkend="pytest"/> and
+        <ulink url="https://pypi.org/project/pytest-cov/">pytest-cov</ulink>
       </para>
 
     </sect3>
 
     <sect3 role="installation">
-      <title>Installation of Hatchling</title>
+      <title>Installation of Tomlkit</title>
 
     <para>Build the module: </para>
 
 &build-wheel;
 
     <para>
-      This package does not come with a working test suite.
+      Now, as the <systemitem class="username">root</systemitem> user:
     </para>
 
+<screen role="root"><userinput>&install-wheel; tomlkit</userinput></screen>
+
     <para>
-      Now, as the <systemitem class="username">root</systemitem> user:
+      To test the installation, make sure <xref linkend='pytest'/>
+      is installed, then
+      issue:
     </para>
 
-<screen role="root"><userinput>&install-wheel; hatchling</userinput></screen>
+<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
+testenv/bin/pip3 install pytest-cov            &amp;&amp;
+testenv/bin/python -m pytest</userinput></screen>
 
     </sect3>
 
@@ -106,11 +116,11 @@
         <segtitle>Installed Directories</segtitle>
 
         <seglistitem>
-          <seg>hatchling</seg>
+          <seg>None</seg>
           <seg>None</seg>
           <seg>
-            /usr/lib/python&python3-majorver;/site-packages/hatchling and
-            /usr/lib/python&python3-majorver;/site-packages/hatchling-&hatchling-version;.dist-info
+            /usr/lib/python&python3-majorver;/site-packages/tomlkit and
+            /usr/lib/python&python3-majorver;/site-packages/tomlkit-&tomlkit-version;.dist-info
           </seg>
         </seglistitem>
       </segmentedlist>
@@ -124,14 +134,14 @@
       package name, add -prog or -lib to the varlistentry entity id
       and the 2nd entry of the indexterm zone entity -->
 
-        <varlistentry id="hatchling-prog">
-          <term><command>hatchling</command></term>
+        <varlistentry id="tomlkit-prog">
+          <term><command>tomlkit</command></term>
           <listitem>
             <para>
               is a python module builder
             </para>
-            <indexterm zone="hatchling hatchling-prog">
-              <primary sortas="b-hatchling">hatchling</primary>
+            <indexterm zone="tomlkit tomlkit-prog">
+              <primary sortas="b-tomlkit">tomlkit</primary>
             </indexterm>
           </listitem>
         </varlistentry>
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 95d70e7bf7..cb5bf38f8b 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -39,6 +39,17 @@
   <itemizedlist>
     <title>Changelog Entries:</title>
 
+    <listitem>
+      <para>August 16th, 2026</para>
+      <itemizedlist>
+        <listitem >
+          <para>[pierre] - Add tomlkit-0.15.1 and poetry-core-2.4.1 (Python
+          dependencies). Complements
+          <ulink url="&blfs-ticket-root;18562">#18562</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>August 15th, 2026</para>
       <itemizedlist>
diff --git a/packages.ent b/packages.ent
index dbb55dd2fb..1f9d731eff 100644
--- a/packages.ent
+++ b/packages.ent
@@ -708,6 +708,8 @@
 <!ENTITY msgpack-md5sum                 "e0a9c82423574f99314ccd1ed77b8c67">
 <!ENTITY pathspec-version               "1.1.1">
 <!ENTITY pathspec-md5sum                "c762d0a00d6cfc9de003e02d5072b26a">
+<!ENTITY poetry-core-version            "2.4.1">
+<!ENTITY poetry-core-md5sum             "6c4fb726467b1e270892f51c54c392ba">
 <!ENTITY pluggy-version                 "1.6.0">
 <!ENTITY pluggy-md5sum                  "54391218af778acb006c2d915085d469">
 <!ENTITY pyproject-hooks-version        "1.2.0">
@@ -741,6 +743,8 @@
 <!ENTITY sc-qthelp-md5sum               "ed4f32003b71a54ac3d68aa651cb6573">
 <!ENTITY sc-serializinghtml-version     "2.0.0">
 <!ENTITY sc-serializinghtml-md5sum      "b536ce248d5ca134a30018692a17c6ca">
+<!ENTITY tomlkit-version                "0.15.1">
+<!ENTITY tomlkit-md5sum                 "8e5245fd4099c9a6f99774b24a4591ae">
 <!ENTITY trove-classifiers-version      "2026.6.1.19">
 <!ENTITY trove-classifiers-md5sum       "fb231b2e9492a5d34fb9bec0250f0f55">
 <!ENTITY typogrify-version              "2.1.0">

-- 
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
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.