Changeset 28c578d


Ignore:
Timestamp:
07/15/2024 06:27:02 AM (5 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
gimp3, trunk, xry111/spidermonkey128
Children:
b21e7e0
Parents:
7309068
Message:

meson_python: Test suite needs patchelf, and prevent .gitconfig from breaking tests

File:
1 edited

Legend:

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

    r7309068 r28c578d  
    7979      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    8080      <para role="optional">
     81        <xref linkend="cython"/>,
    8182        <xref linkend="git"/>,
    8283        <xref linkend="pytest"/>,
     
    8485        <xref role="nodep" linkend="sqlite"/>),
    8586        <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           &gt;= 3.0.3</ulink>,
    8987        <!-- pytest-cov mentioned but it seems not really used unless
    9088             running the "coverage" command explicitly -->
     
    112110
    113111    <para>
    114       To test the installation, make sure both <xref linkend='git'/> and
    115       <xref linkend='pytest'/> are installed and <xref linkend='python3'/>
     112      To test the installation, make sure <xref linkend='git'/>,
     113      <xref linkend='patchelf'/>, and <xref linkend='pytest'/> are
     114      installed, and <xref linkend='python3'/>
    116115      has been rebuilt after installing <xref linkend='sqlite'/>, then
    117       issue:
     116      issue (<literal>HOME=</literal> prevents the
     117      <filename>.gitconfig</filename> file in the home directory from
     118      interfering the tests):
    118119    </para>
    119120
    120121<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
    121122testenv/bin/pip3 install 'meson_python[test]'  &amp;&amp;
    122 testenv/bin/python -m pytest</userinput></screen>
     123HOME= testenv/bin/python -m pytest</userinput></screen>
    123124
    124125    <!-- https://github.com/mesonbuild/meson-python/issues/619 -->
Note: See TracChangeset for help on using the changeset viewer.