Ignore:
Timestamp:
05/05/2024 05:19:12 PM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
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)
Message:

python-dependencies: Update

  • Update to attrs-23.2.0
  • Update to meson_python-0.16.0
  • Update to pyproject-metadata-0.8.0
  • Add hatch-fancy-pypi-readme-24.1.0 to support attrs-23.2.0
File:
1 edited

Legend:

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

    rb3bc5311 r1037704b  
    7676        <xref linkend="patchelf"/>
    7777      </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          &gt;= 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>
    7894    </sect3>
    7995
     
    94110
    95111<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 &amp;&amp;
     121testenv/bin/pip3 install 'meson_python[test]'  &amp;&amp;
     122testenv/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>
    96130
    97131    </sect3>
Note: See TracChangeset for help on using the changeset viewer.