Changeset 1037704b
- 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)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-dependencies.xml
rb3bc5311 r1037704b 99 99 <listitem> 100 100 <para> 101 <xref linkend="hatch-fancy-pypi-readme"/> 102 </para> 103 </listitem> 104 <listitem> 105 <para> 101 106 <xref linkend="hatch-vcs"/> 102 107 </para> … … 258 263 259 264 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 265 href="python-dependencies/hatch-fancy-pypi-readme.xml"/> 266 267 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 260 268 href="python-dependencies/hatch-vcs.xml"/> 261 269 -
general/prog/python-dependencies/attrs.xml
rb3bc5311 r1037704b 67 67 68 68 <bridgehead renderas="sect4">Attrs Dependencies</bridgehead> 69 70 <bridgehead renderas="sect5">Required</bridgehead> 71 <para role='required'> 72 <xref linkend='hatch-fancy-pypi-readme'/> and 73 <xref linkend='hatch-vcs'/> 74 </para> 75 69 76 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 70 77 <para role="optional"> 71 78 <xref linkend="pytest"/>, 72 <ulink url="https://pypi.org/project/c overage/">coverage[toml]</ulink>,79 <ulink url="https://pypi.org/project/cloudpickle/">cloudpickle</ulink>, 73 80 <ulink url="https://pypi.org/project/hypothesis/">hypothesis</ulink>, 74 81 <ulink url="https://pypi.org/project/Pympler/">Pympler</ulink>, 75 <ulink url="https://pypi.org/project/mypy/">mypy</ulink>, 82 <!-- Upstream wants "< 1.10" for this one: 83 https://github.com/python-attrs/attrs/commit/46f1f35896e9 --> 84 <ulink url="https://pypi.org/project/mypy/">mypy < 1.10</ulink>, 76 85 <ulink url="https://pypi.org/project/pytest-mypy-plugins/">pytest-mypy-plugins</ulink>, 77 <ulink url="https://pypi.org/project/ zope.interface/">zope.interface</ulink>, and78 <ulink url="https://pypi.org/project/ cloudpickle/">cloudpickle</ulink>86 <ulink url="https://pypi.org/project/pytest-xdist/">pytest-xdist[psutil]</ulink>, and 87 <ulink url="https://pypi.org/project/zope.interface/">zope.interface</ulink> 79 88 </para> 80 89 … … 98 107 </para> 99 108 100 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 101 source testenv/bin/activate && 102 pip3 install attrs[tests] && 103 python3 /usr/bin/pytest && 104 deactivate</userinput></screen> 109 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 110 testenv/bin/pip3 install 'attrs[tests]' 'mypy < 1.10' && 111 PATH=$PWD/testenv/bin:$PATH testenv/bin/python -m pytest</userinput></screen> 112 113 <!-- https://github.com/python-attrs/attrs/pull/1249 --> 114 <para> 115 One test named <literal>TestAssoc::test_unknown</literal> is known 116 to fail with pytest-8.0.0 or later. 117 </para> 105 118 106 119 </sect3> -
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> -
general/prog/python-dependencies/pyproject-metadata.xml
rb3bc5311 r1037704b 73 73 </para> 74 74 75 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 76 <para role="optional"> 77 <xref linkend="pytest"/> 78 </para> 79 75 80 </sect3> 76 81 … … 83 88 84 89 <para> 85 This package does not come with a test suite.86 </para>87 88 <para>89 90 Now, as the <systemitem class="username">root</systemitem> user: 90 91 </para> 91 92 92 93 <screen role="root"><userinput>&install-wheel; pyproject-metadata</userinput></screen> 94 95 <!-- "pytest-cov[toml]" is referred but it seems not really used --> 96 <para> 97 To test the installation, issue: <command>pytest</command>. 98 </para> 93 99 94 100 </sect3> -
introduction/welcome/changelog.xml
rb3bc5311 r1037704b 62 62 <listitem> 63 63 <para>[xry111] - Update Python dependencies: 64 attrs-23.2.0, meson_python-0.16.0, and pyproject-metadata-0.8.0. 65 Add hatch-fancy-pypi-readme-24.1.0 to support attrs-23.2.0. 66 Addresses 67 <ulink url="&blfs-ticket-root;18562">#18562</ulink>.</para> 68 </listitem> 69 <listitem> 70 <para>[xry111] - Update Python dependencies: 64 71 editables-0.5, hatchling-1.24.2, hatch-vcs-0.4.0, 65 pathspec-0.12.1, pluggy-1.5.0, setuptools_scm-8.0.4, 72 pathspec-0.12.1, pluggy-1.5.0, setuptools_scm-8.0.4, and 66 73 typing_extensions-4.11.0. Add trove-classifiers-2024.4.10 67 74 to support hatchling-1.24.2. Addresses -
packages.ent
rb3bc5311 r1037704b 616 616 <!ENTITY alabaster-version "0.7.13"> 617 617 <!ENTITY alabaster-md5sum "2e05a5f4fe5a8b95e5e576cbf4a5d503"> 618 <!ENTITY attrs-version "2 2.2.0">619 <!ENTITY attrs-md5sum " eff16b3bbd0d9b72e118cca83a19d380">618 <!ENTITY attrs-version "23.2.0"> 619 <!ENTITY attrs-md5sum "60588a146fb413a997c7519d77198a5e"> 620 620 <!ENTITY babel-version "2.11.0"> 621 621 <!ENTITY babel-md5sum "9ee7784fd452d456206ecd3a12694010"> … … 632 632 <!ENTITY hatchling-version "1.24.2"> 633 633 <!ENTITY hatchling-md5sum "814948c375ba44603877d032338811ba"> 634 <!ENTITY hatch-fancy-pypi-readme-version "24.1.0"> 635 <!ENTITY hatch-fancy-pypi-readme-md5sum "f5f9e639f066c91f8e623ec6231beae9"> 634 636 <!ENTITY hatch-vcs-version "0.4.0"> 635 637 <!ENTITY hatch-vcs-md5sum "d801fe7c3e5955307748f2790bbb3488"> … … 642 644 <!ENTITY markdown-version "3.4.1"> 643 645 <!ENTITY markdown-md5sum "597656cf4feadf1998b0511201620202"> 644 <!ENTITY meson_python-version "0.1 5.0">645 <!ENTITY meson_python-md5sum " e91eb9946d7bb8be06e434c5a2dadd05">646 <!ENTITY meson_python-version "0.16.0"> 647 <!ENTITY meson_python-md5sum "0278a447d7aef1cf20964aa369cd5d3b"> 646 648 <!ENTITY msgpack-version "1.0.4"> 647 649 <!ENTITY msgpack-md5sum "1822cdb939e7531f7ad0f7f09b434f22"> … … 650 652 <!ENTITY pluggy-version "1.5.0"> 651 653 <!ENTITY pluggy-md5sum "ac0870be78ba0ee227a5c3955efeba59"> 652 <!ENTITY pyproject-metadata-version "0. 7.1">654 <!ENTITY pyproject-metadata-version "0.8.0"> 653 655 <!ENTITY pyproject-metadata-md5sum "ca5e9527cff96153a976e14530b53746"> 654 656 <!ENTITY pytz-version "2024.1">
Note:
See TracChangeset
for help on using the changeset viewer.