Changeset f5096a7d


Ignore:
Timestamp:
05/05/2024 01:47:55 PM (5 weeks ago)
Author:
Xi Ruoyao <xry111@…>
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)
Message:

python-dependencies: Update

  • Update to editables-0.5
  • Update to hatchling-1.24.2
  • Update to hatch-vcs-0.4.0
  • Update to pathspec-0.12.1
  • Update to pluggy-1.5.0
  • Update to setuptools_scm-8.0.4
  • Update to typing_extensions-4.11.0
  • Add trove-classifiers-2024.4.10 to support hatchling-1.24.2
Files:
1 added
10 edited

Legend:

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

    r3cb848b rf5096a7d  
    204204      <listitem>
    205205        <para>
     206          <xref linkend="trove-classifiers"/>
     207        </para>
     208      </listitem>
     209      <listitem>
     210        <para>
    206211          <xref linkend="typing_extensions"/>
    207212        </para>
     
    316321
    317322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     323    href="python-dependencies/trove-classifiers.xml"/>
     324
     325  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    318326    href="python-dependencies/typing_extensions.xml"/>
    319327
  • general/prog/python-dependencies/attrs.xml

    r3cb848b rf5096a7d  
    6666      </itemizedlist>
    6767
     68      <bridgehead renderas="sect4">Attrs Dependencies</bridgehead>
    6869      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    6970      <para role="optional">
  • general/prog/python-dependencies/editables.xml

    r3cb848b rf5096a7d  
    6565      </itemizedlist>
    6666
     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>
    6773    </sect3>
    6874
     
    7581
    7682    <para>
    77       This package does not come with a test suite.
    78     </para>
    79 
    80     <para>
    8183      Now, as the <systemitem class="username">root</systemitem> user:
    8284    </para>
    8385
    8486<screen role="root"><userinput>&install-wheel; editables</userinput></screen>
     87
     88    <para>
     89      To test the installation, issue: <command>pytest</command>.
     90    </para>
    8591
    8692    </sect3>
  • general/prog/python-dependencies/hatch-vcs.xml

    r3cb848b rf5096a7d  
    7575      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    7676      <para role="optional">
    77         <xref linkend="pytest"/>
     77        <xref linkend='git'/> and <xref linkend="pytest"/>
    7878      </para>
    7979
  • general/prog/python-dependencies/hatchling.xml

    r3cb848b rf5096a7d  
    7171        <xref linkend="editables"/>,
    7272        <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"/>
    7576      </para>
    7677
  • general/prog/python-dependencies/pluggy.xml

    r3cb848b rf5096a7d  
    7878      <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
    7979      <para role="optional">
    80         <xref linkend="pytest"/> and
    81         <ulink url="https://pypi.org/project/pytest-benchmark/">pytest-benchmark</ulink>
     80        <xref linkend="pytest"/>
    8281      </para>
    8382
     
    9796<screen role="root"><userinput>&install-wheel; pluggy</userinput></screen>
    9897
     98    <!-- pytest-benchmark is referred but it seems not really needed -->
    9999    <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>.
    103101    </para>
    104 
    105 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
    106 source testenv/bin/activate                    &amp;&amp;
    107 pip3 install pytest-benchmark                  &amp;&amp;
    108 python3 /usr/bin/pytest<!-- no && in case there is an error -->
    109 deactivate</userinput></screen>
    110102
    111103    </sect3>
  • general/prog/python-dependencies/setuptools_scm.xml

    r3cb848b rf5096a7d  
    55  %general-entities;
    66
    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">
    88  <!ENTITY setuptools_scm-download-ftp  " ">
    99  <!ENTITY setuptools_scm-md5sum        "&setuptools_scm-md5sum;">
     
    7777      <para role="optional">
    7878        <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>
    8183      </para>
    8284
     
    9799
    98100    <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 &amp;&amp;
     106testenv/bin/pip3 install build                 &amp;&amp;
     107testenv/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.
    102115    </para>
    103116
  • general/prog/python-dependencies/typing_extensions.xml

    r3cb848b rf5096a7d  
    6666      </itemizedlist>
    6767
     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>
    6874    </sect3>
    6975
     
    7682
    7783    <para>
    78       This package does not come with a test suite.
    79     </para>
    80 
    81     <para>
    8284      Now, as the <systemitem class="username">root</systemitem> user:
    8385    </para>
    8486
    8587<screen role="root"><userinput>&install-wheel; typing_extensions</userinput></screen>
     88
     89    <para>
     90      To test the installation, issue: <command>pytest</command>.
     91    </para>
    8692
    8793    </sect3>
  • introduction/welcome/changelog.xml

    r3cb848b rf5096a7d  
    3939    </listitem>
    4040    -->
     41
     42    <listitem>
     43      <para>May 5th, 2024</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[xry111] - Update Python dependencies:
     47          editables-0.5, hatchling-1.24.2, hatch-vcs-0.4.0,
     48          pathspec-0.12.1, pluggy-1.5.0, setuptools_scm-8.0.4,
     49          typing_extensions-4.11.0.  Add trove-classifiers-2024.4.10
     50          to support hatchling-1.24.2.  Addresses
     51          <ulink url="&blfs-ticket-root;18562">#18562</ulink>.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
    4155
    4256    <listitem>
  • packages.ent

    r3cb848b rf5096a7d  
    628628<!ENTITY commonmark-version             "0.9.1">
    629629<!ENTITY commonmark-md5sum              "cd1dc70c4714d9ed4117a40490c25e00">
    630 <!ENTITY editables-version              "0.3">
    631 <!ENTITY editables-md5sum               "e91709fbb0ef586cb7b785042068ab67">
    632 <!ENTITY hatchling-version              "1.12.2">
    633 <!ENTITY hatchling-md5sum               "5a6e2fd0c877feea7e71b9d72bbdbed9">
    634 <!ENTITY hatch-vcs-version              "0.3.0">
    635 <!ENTITY hatch-vcs-md5sum               "c2f2cbe6851b7b2969cb4aa24c4b9b2f">
     630<!ENTITY editables-version              "0.5">
     631<!ENTITY editables-md5sum               "520de8c3a9dc5dfb2b365d104541c9de">
     632<!ENTITY hatchling-version              "1.24.2">
     633<!ENTITY hatchling-md5sum               "814948c375ba44603877d032338811ba">
     634<!ENTITY hatch-vcs-version              "0.4.0">
     635<!ENTITY hatch-vcs-md5sum               "d801fe7c3e5955307748f2790bbb3488">
    636636<!ENTITY idna-version                   "3.4">
    637637<!ENTITY idna-md5sum                    "13ea24e076212b6baae1135a116d1e0e">
     
    646646<!ENTITY msgpack-version                "1.0.4">
    647647<!ENTITY msgpack-md5sum                 "1822cdb939e7531f7ad0f7f09b434f22">
    648 <!ENTITY pathspec-version               "0.10.3">
    649 <!ENTITY pathspec-md5sum                "d89408b52aff020ac768a14c0ef1c7de">
    650 <!ENTITY pluggy-version                 "1.4.0">
    651 <!ENTITY pluggy-md5sum                  "ffb69741271eaeefab3f2ef2435e2d5f">
    652 <!ENTITY py-version                     "1.11.0">
    653 <!ENTITY py-md5sum                      "bde7dcc1cb452a1e10206ef2f811ba88">
     648<!ENTITY pathspec-version               "0.12.1">
     649<!ENTITY pathspec-md5sum                "2b26ad1981bfa23748e115f00085624c">
     650<!ENTITY pluggy-version                 "1.5.0">
     651<!ENTITY pluggy-md5sum                  "ac0870be78ba0ee227a5c3955efeba59">
    654652<!ENTITY pyproject-metadata-version     "0.7.1">
    655653<!ENTITY pyproject-metadata-md5sum      "ca5e9527cff96153a976e14530b53746">
    656654<!ENTITY pytz-version                   "2024.1">
    657655<!ENTITY pytz-md5sum                    "b26bb090d1fe96064019bf7068eeb801">
    658 <!ENTITY setuptools_scm-version         "7.1.0">
    659 <!ENTITY setuptools_scm-md5sum          "158dc741637fb4fa4b955c62bd2c08be">
     656<!ENTITY setuptools_scm-version         "8.0.4">
     657<!ENTITY setuptools_scm-md5sum          "a05e98ab9ae447e173f0c747e0d49e81">
    660658<!ENTITY smartypants-version            "2.0.1">
    661659<!ENTITY snowballstemmer-version        "2.2.0">
     
    675673<!ENTITY sc-serializinghtml-version     "1.1.9">
    676674<!ENTITY sc-serializinghtml-md5sum      "84957dfa6d85d2e509181281082c11ee">
    677 <!ENTITY typing_extensions-version      "4.4.0">
    678 <!ENTITY typing_extensions-md5sum       "5cfcb56ea6fc4972c3600c0030f4d136">
     675<!ENTITY trove-classifiers-version      "2024.4.10">
     676<!ENTITY trove-classifiers-md5sum       "ab22d0b1e315f189a61d8ae3f12c29cf">
     677<!ENTITY typing_extensions-version      "4.11.0">
     678<!ENTITY typing_extensions-md5sum       "6b89642c3d08d034dbc9f3d97c6d735d">
    679679<!ENTITY typogrify-version              "2.0.7">
    680680<!ENTITY typogrify-md5sum               "63f38f80531996f187d2894cc497ba08">
Note: See TracChangeset for help on using the changeset viewer.