Ignore:
Timestamp:
05/05/2024 01:47:55 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
lazarus, trunk
Children:
09aad3a1, 1ab6aa3d
Parents:
3cb848b
git-author:
Xi Ruoyao <xry111@…> (05/05/2024 01:46:02 PM)
git-committer:
Xi Ruoyao <xry111@…> (05/05/2024 01:47:55 PM)
Message:

python-dependencies: Update

  • Update to editables-0.5
  • Update to hatchling-1.24.2
  • Update to hatch-vcs-0.4.0
  • Update to pathspec-0.12.1
  • Update to pluggy-1.5.0
  • Update to setuptools_scm-8.0.4
  • Update to typing_extensions-4.11.0
  • Add trove-classifiers-2024.4.10 to support hatchling-1.24.2
Location:
general/prog/python-dependencies
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-dependencies/attrs.xml

    r3cb848b rf5096a7d  
    6666      </itemizedlist>
    6767
     68      <bridgehead renderas="sect4">Attrs Dependencies</bridgehead>
    6869      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    6970      <para role="optional">
  • general/prog/python-dependencies/editables.xml

    r3cb848b rf5096a7d  
    6565      </itemizedlist>
    6666
     67      <bridgehead renderas="sect4">Editables Dependencies</bridgehead>
     68
     69      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
     70      <para role="optional">
     71        <xref linkend="pytest"/>
     72      </para>
    6773    </sect3>
    6874
     
    7581
    7682    <para>
    77       This package does not come with a test suite.
    78     </para>
    79 
    80     <para>
    8183      Now, as the <systemitem class="username">root</systemitem> user:
    8284    </para>
    8385
    8486<screen role="root"><userinput>&install-wheel; editables</userinput></screen>
     87
     88    <para>
     89      To test the installation, issue: <command>pytest</command>.
     90    </para>
    8591
    8692    </sect3>
  • general/prog/python-dependencies/hatch-vcs.xml

    r3cb848b rf5096a7d  
    7575      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    7676      <para role="optional">
    77         <xref linkend="pytest"/>
     77        <xref linkend='git'/> and <xref linkend="pytest"/>
    7878      </para>
    7979
  • general/prog/python-dependencies/hatchling.xml

    r3cb848b rf5096a7d  
    7171        <xref linkend="editables"/>,
    7272        <xref linkend="packaging"/>,
    73         <xref linkend="pathspec"/>, and
    74         <xref linkend="pluggy"/>
     73        <xref linkend="pathspec"/>,
     74        <xref linkend="pluggy"/>, and
     75        <xref linkend="trove-classifiers"/>
    7576      </para>
    7677
  • general/prog/python-dependencies/pluggy.xml

    r3cb848b rf5096a7d  
    7878      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    7979      <para role="optional">
    80         <xref linkend="pytest"/> and
    81         <ulink url="https://pypi.org/project/pytest-benchmark/">pytest-benchmark</ulink>
     80        <xref linkend="pytest"/>
    8281      </para>
    8382
     
    9796<screen role="root"><userinput>&install-wheel; pluggy</userinput></screen>
    9897
     98    <!-- pytest-benchmark is referred but it seems not really needed -->
    9999    <para>
    100       Assuming <xref linkend="pytest"/> is installed, but the other optional
    101       dependencies are not, the installation can be tested with the following
    102       commands:
     100      To test the installation, issue: <command>pytest</command>.
    103101    </para>
    104 
    105 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
    106 source testenv/bin/activate                    &amp;&amp;
    107 pip3 install pytest-benchmark                  &amp;&amp;
    108 python3 /usr/bin/pytest<!-- no && in case there is an error -->
    109 deactivate</userinput></screen>
    110102
    111103    </sect3>
  • general/prog/python-dependencies/setuptools_scm.xml

    r3cb848b rf5096a7d  
    55  %general-entities;
    66
    7   <!ENTITY setuptools_scm-download-http "https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-&setuptools_scm-version;.tar.gz">
     7  <!ENTITY setuptools_scm-download-http "https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools-scm-&setuptools_scm-version;.tar.gz">
    88  <!ENTITY setuptools_scm-download-ftp  " ">
    99  <!ENTITY setuptools_scm-md5sum        "&setuptools_scm-md5sum;">
     
    7777      <para role="optional">
    7878        <xref linkend="git"/>,
    79         <xref linkend="mercurial"/>, and
    80         <xref linkend="pytest"/>
     79        <xref linkend="mercurial"/>,
     80        <xref linkend="pytest"/>,
     81        <xref linkend="sudo"/>, and
     82        <ulink url="https://pypi.org/project/build/">build</ulink>
    8183      </para>
    8284
     
    9799
    98100    <para>
    99       The installation can be tested with <command>pytest</command>. A few
    100       tests may fail if your <application>git</application> configuration
    101       is not the one expected by the test suite.
     101      To test the installation, make sure <xref linkend='pytest'/> is
     102      installed and run:
     103    </para>
     104
     105<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
     106testenv/bin/pip3 install build                 &amp;&amp;
     107testenv/bin/pytest</userinput></screen>
     108
     109    <para>
     110      If <xref linkend='git'/> and/or <xref linkend='mercurial'/> are not
     111      installed, the tests depending on the missing one(s) will be skipped.
     112      Some tests may invoke <xref linkend='sudo'/> and request a password.
     113      Some tests may fail if your <application>git</application>
     114      configuration is not the one expected by the test suite.
    102115    </para>
    103116
  • general/prog/python-dependencies/typing_extensions.xml

    r3cb848b rf5096a7d  
    6666      </itemizedlist>
    6767
     68      <bridgehead renderas="sect4">Typing_extensions Dependencies</bridgehead>
     69
     70      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
     71      <para role="optional">
     72        <xref linkend="pytest"/>
     73      </para>
    6874    </sect3>
    6975
     
    7682
    7783    <para>
    78       This package does not come with a test suite.
    79     </para>
    80 
    81     <para>
    8284      Now, as the <systemitem class="username">root</systemitem> user:
    8385    </para>
    8486
    8587<screen role="root"><userinput>&install-wheel; typing_extensions</userinput></screen>
     88
     89    <para>
     90      To test the installation, issue: <command>pytest</command>.
     91    </para>
    8692
    8793    </sect3>
Note: See TracChangeset for help on using the changeset viewer.