Changeset f5096a7d for general/prog/python-dependencies
- Timestamp:
- 05/05/2024 01:47:55 PM (3 weeks ago)
- 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)
- Location:
- general/prog/python-dependencies
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-dependencies/attrs.xml
r3cb848b rf5096a7d 66 66 </itemizedlist> 67 67 68 <bridgehead renderas="sect4">Attrs Dependencies</bridgehead> 68 69 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 69 70 <para role="optional"> -
general/prog/python-dependencies/editables.xml
r3cb848b rf5096a7d 65 65 </itemizedlist> 66 66 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> 67 73 </sect3> 68 74 … … 75 81 76 82 <para> 77 This package does not come with a test suite.78 </para>79 80 <para>81 83 Now, as the <systemitem class="username">root</systemitem> user: 82 84 </para> 83 85 84 86 <screen role="root"><userinput>&install-wheel; editables</userinput></screen> 87 88 <para> 89 To test the installation, issue: <command>pytest</command>. 90 </para> 85 91 86 92 </sect3> -
general/prog/python-dependencies/hatch-vcs.xml
r3cb848b rf5096a7d 75 75 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 76 76 <para role="optional"> 77 <xref linkend= "pytest"/>77 <xref linkend='git'/> and <xref linkend="pytest"/> 78 78 </para> 79 79 -
general/prog/python-dependencies/hatchling.xml
r3cb848b rf5096a7d 71 71 <xref linkend="editables"/>, 72 72 <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"/> 75 76 </para> 76 77 -
general/prog/python-dependencies/pluggy.xml
r3cb848b rf5096a7d 78 78 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 79 79 <para role="optional"> 80 <xref linkend="pytest"/> and 81 <ulink url="https://pypi.org/project/pytest-benchmark/">pytest-benchmark</ulink> 80 <xref linkend="pytest"/> 82 81 </para> 83 82 … … 97 96 <screen role="root"><userinput>&install-wheel; pluggy</userinput></screen> 98 97 98 <!-- pytest-benchmark is referred but it seems not really needed --> 99 99 <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>. 103 101 </para> 104 105 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &&106 source testenv/bin/activate &&107 pip3 install pytest-benchmark &&108 python3 /usr/bin/pytest<!-- no && in case there is an error -->109 deactivate</userinput></screen>110 102 111 103 </sect3> -
general/prog/python-dependencies/setuptools_scm.xml
r3cb848b rf5096a7d 5 5 %general-entities; 6 6 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"> 8 8 <!ENTITY setuptools_scm-download-ftp " "> 9 9 <!ENTITY setuptools_scm-md5sum "&setuptools_scm-md5sum;"> … … 77 77 <para role="optional"> 78 78 <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> 81 83 </para> 82 84 … … 97 99 98 100 <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 && 106 testenv/bin/pip3 install build && 107 testenv/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. 102 115 </para> 103 116 -
general/prog/python-dependencies/typing_extensions.xml
r3cb848b rf5096a7d 66 66 </itemizedlist> 67 67 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> 68 74 </sect3> 69 75 … … 76 82 77 83 <para> 78 This package does not come with a test suite.79 </para>80 81 <para>82 84 Now, as the <systemitem class="username">root</systemitem> user: 83 85 </para> 84 86 85 87 <screen role="root"><userinput>&install-wheel; typing_extensions</userinput></screen> 88 89 <para> 90 To test the installation, issue: <command>pytest</command>. 91 </para> 86 92 87 93 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.