Ignore:
Timestamp:
08/10/2022 11:41:19 PM (21 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
9d17582
Parents:
98d1bf9c
Message:

Update to Python-3.10.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python3.xml

    r98d1bf9c r3df4c93  
    88           "https://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz">
    99  <!ENTITY python3-download-ftp  " ">
    10   <!ENTITY python3-md5sum        "f05727cb3489aa93cd57eb561c16747b">
    11   <!ENTITY python3-size          "18 MB">
    12   <!ENTITY python3-buildsize     "202 MB (add 38 MB for tests)">
     10  <!ENTITY python3-md5sum        "afc7e14f7118d10d1ba95ae8e2134bf0">
     11  <!ENTITY python3-size          "19 MB">
     12  <!ENTITY python3-buildsize     "202 MB (add 39 MB for tests)">
    1313  <!ENTITY python3-time          "2.4 SBU (using parallelism=4; add 1.6 SBU for tests)">
    1414  <!--
    1515  Note: Size does not reflect docs that were install in LFS.
    16 
     16  -->
    1717  <!ENTITY python3htmldoc-download-http
    18   "https://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2"> -->
     18  "https://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2">
     19  <!ENTITY python3-docs-md5sum "8f32c4f4f0b18ec56e8b3822bbaeb017" >
    1920]>
    2021
     
    8687    </itemizedlist>
    8788
     89    <bridgehead renderas="sect3">Additional Optional Download</bridgehead>
     90    <itemizedlist spacing="compact">
     91      <listitem>
     92        <para>
     93          Download (HTTP): <ulink url="&python3htmldoc-download-http;"/>
     94        </para>
     95      </listitem>
     96      <listitem>
     97        <para>
     98          Download MD5 sum: &python3-docs-md5sum;
     99        </para>
     100      </listitem>
     101    </itemizedlist>
     102
    88103    <bridgehead renderas="sect3">Python 3 Dependencies</bridgehead>
    89104
     
    131146    <para>
    132147      To test the result, issue <command>make test</command>.
    133       Some tests may need an Internet connection.
     148      Some tests may need an Internet connection. One test, test_curses,
     149      is known to fail.
    134150    </para>
    135151
     
    138154    </para>
    139155
    140 <screen role="root"><userinput>make install &amp;&amp;
    141 sed -e '/def warn_if_run_as_root/a\    return' \
    142     -i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py</userinput></screen>
     156<screen role="root"><userinput>make install</userinput></screen>
     157
     158    <para>
     159      If upgrading and the documentation has been downloaded, optionally install
     160      it as the &root; user:
     161    </para>
     162
     163<screen role="root"><userinput>tar --strip-components=1  \
     164    --no-same-owner       \
     165    --no-same-permissions \
     166    -C /usr/share/doc/python-&python3-version;/html \
     167    -xvf ../python-&python3-version;-docs-html.tar.bz2</userinput></screen>
    143168
    144169  </sect2>
     
    189214      any benefit from doing this.
    190215    </para>
    191     <!--
    192     <para>
    193       <command>ln -sfv ...</command>: When upgrading to Python-3.8, it was
    194       discovered that the symlink to pip3 is sometimes not created. Create
    195       the symlink so that pip3 can be used as described in the book.
    196     </para>
    197     -->
    198216
    199217  </sect2>
Note: See TracChangeset for help on using the changeset viewer.