Changeset 1037704b for general/prog/python-dependencies/meson_python.xml
- Timestamp:
- 05/05/2024 05:19:12 PM (4 weeks ago)
- Branches:
- lazarus, trunk
- Children:
- 5b6899bd
- Parents:
- b3bc5311
- git-author:
- Xi Ruoyao <xry111@…> (05/05/2024 05:12:35 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (05/05/2024 05:19:12 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-dependencies/meson_python.xml
rb3bc5311 r1037704b 76 76 <xref linkend="patchelf"/> 77 77 </para> 78 79 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 80 <para role="optional"> 81 <xref linkend="git"/>, 82 <xref linkend="pytest"/>, 83 <xref linkend="python3"/> (rebuilt after installing 84 <xref role="nodep" linkend="sqlite"/>), 85 <ulink url="https://pypi.org/project/build/">build</ulink>, 86 <!-- <xref linkend="cython"/> when we update Cython --> 87 <ulink url="https://pypi.org/project/Cython/">Cython 88 >= 3.0.3</ulink>, 89 <!-- pytest-cov mentioned but it seems not really used unless 90 running the "coverage" command explicitly --> 91 and 92 <ulink url="https://pypi.org/project/pytest-mock/">pytest-mock</ulink> 93 </para> 78 94 </sect3> 79 95 … … 94 110 95 111 <screen role="root"><userinput>&install-wheel; meson_python</userinput></screen> 112 113 <para> 114 To test the installation, make sure both <xref linkend='git'/> and 115 <xref linkend='pytest'/> are installed and <xref linkend='python3'/> 116 has been rebuilt after installing <xref linkend='sqlite'/>, then 117 issue: 118 </para> 119 120 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 121 testenv/bin/pip3 install 'meson_python[test]' && 122 testenv/bin/python -m pytest</userinput></screen> 123 124 <!-- https://github.com/mesonbuild/meson-python/issues/619 --> 125 <para> 126 Two tests named <literal>test_missing_version</literal> and 127 <literal>test_pep621</literal> are known to fail with 128 pyproject-metadata-0.8.0 or later. 129 </para> 96 130 97 131 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.