Ignore:
Timestamp:
05/06/2023 03:28:23 AM (17 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128, xry111/xf86-video-removal
Children:
a87d5b2
Parents:
b36aabe
Message:

Python module updates.
Update to requests-2.30.0 (Python module).
Update to urllib3-2.0.2 (Python module) required for requests-2.30.0.

File:
1 edited

Legend:

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

    rb36aabe rbc0b251  
    88  <!ENTITY urllib3-download-ftp  " ">
    99  <!ENTITY urllib3-md5sum        "&urllib3-md5sum;">
    10   <!ENTITY urllib3-size          "294 KB">
     10  <!ENTITY urllib3-size          "272 KB">
    1111  <!ENTITY urllib3-buildsize     "3.2 MB (add 49 MB for tests)">
    12   <!ENTITY urllib3-time          "less than 0.1 SBU (0.7 SBU for tests)">
     12  <!ENTITY urllib3-time          "less than 0.1 SBU (1.6 SBU for tests)">
    1313]>
    1414
     
    7373        <ulink url="https://pypi.org/project/mock/">mock</ulink>,
    7474        <ulink url="https://pypi.org/project/PySocks/">PySocks</ulink>,
    75         <ulink url="https://pypi.org/project/pytest-freezegun/">pytest-freezegun</ulink>,
     75       <!-- <ulink url="https://pypi.org/project/pytest-freezegun/">pytest-freezegun</ulink>,-->
    7676        <ulink url="https://pypi.org/project/pytest-timeout/">pytest-timeout</ulink>,
    7777        <ulink url="https://pypi.org/project/python-dateutil/">python-dateutil</ulink>,
     
    8585      <title>Installation of Urllib3</title>
    8686
     87    <para> If you want to run the tests, remove some that may hang: </para>
     88
     89<screen><userinput>rm -v test/test_retry.py \
     90      test/contrib/test_pyopenssl.py \
     91      test/contrib/test_securetransport.py \
     92      test/with_dummyserver/test_socketlevel.py</userinput></screen>
     93
    8794    <para> Build the module: </para>
    8895
     
    94101
    95102<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user urllib3</userinput></screen>
     103
     104    <note>
     105      <para>
     106        Running the tests may result in the procedure below hanging and are
     107        not recommended. 
     108      </para>
     109    </note>
    96110
    97111    <para>
     
    108122             mock            \
    109123             pysocks         \
    110              pytest-timeout  \
    111              pytest-freezegun                  &amp;&amp;
     124             pytest-timeout  &amp;&amp;
    112125python3 /usr/bin/pytest<!-- no && because of a possible error -->
    113126deactivate</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.