Changeset 4343801


Ignore:
Timestamp:
04/28/2019 05:59:09 PM (3 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 9.0, 9.1, lazarus, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
b290456
Parents:
2b007b6
Message:

Add a caution about updating pip2 in the Python2 page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21524 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python2.xml

    r2b007b6 r4343801  
    4141      compatibility with other dependent packages.
    4242    </para>
     43
     44    <note>
     45      <para>
     46        Python2 has been deprecated by the upstream developers. 
     47        Support for Python2 will be discontinued on January
     48        1st, 2020. 
     49      </para>
     50       
     51      <para>
     52        BLFS is attempting to use Python3 as much as possible, but some
     53        packages have not been updated to support Python3.
     54      </para>
     55    </note>
     56
    4357
    4458    &lfs84_checked;
     
    125139    <title>Installation of Python 2</title>
    126140
     141    <caution>
     142      <para>
     143        If updating <application>pip2</application> with the command
     144        <command>pip2 install --upgrade pip</command>, it will remove
     145        <application>pip3</application> and the symlink
     146        <application>pip</application> installed in LFS. To restore
     147        <application>pip</application> and <application>pip3</application>,
     148        run, as the <systemitem class="username">root</systemitem> user:
     149      </para>
     150
     151<screen role="nodump"><userinput>python3 -m pip install --force pip</userinput></screen>
     152    </caution>
     153
    127154    <para>
    128155      Install <application>Python 2</application> by running the following
     
    235262      <seglistitem>
    236263        <seg>
    237           2to3, pydoc, python (symlink), python-config (symlink),
     264          2to3, pip2, pydoc, python (symlink), python-config (symlink),
    238265          python2 (symlink), python2-config (symlink),
    239266          python&python2-majorver;, python&python2-majorver;-config,
     
    270297      </varlistentry>
    271298
     299      <varlistentry id="pip2">
     300        <term><command>pip2</command></term>
     301        <listitem>
     302          <para>
     303            is the package manager for <application>Python 2.x</application>.
     304            It is used to automate management of
     305            <application>Python 2.x</application> modules.
     306          </para>
     307          <indexterm zone="python2 pip2">
     308            <primary sortas="b-pip2">pip2</primary>
     309          </indexterm>
     310        </listitem>
     311      </varlistentry>
     312
    272313      <varlistentry id="idle">
    273314        <term><command>idle</command></term>
  • introduction/welcome/changelog.xml

    r2b007b6 r4343801  
    4646      <para>April 28th, 2019</para>
    4747      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Add a caution about updating pip2 in
     50          the Python2 page. Fixes
     51          <ulink url="&blfs-ticket-root;11998">#11998</ulink>.</para>
     52        </listitem>
    4853        <listitem>
    4954          <para>[bdubbs] - Update to qpdf-8.4.1. Fixes
Note: See TracChangeset for help on using the changeset viewer.