<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>thank you so much for your help.</p>
    <p>I had <font size="-2" face="Courier New, Courier, monospace">install
        --update setuptools <br>
      </font></p>
    <p>which raised the version from 39.2.0 to 58.0.4</p>
    <p>here is the complete error message:</p>
    <p>
      <blockquote type="cite">Collecting FormEncode<1.4,>=1.3.1<br>
          Downloading FormEncode-1.3.1.tar.gz (197 kB)<br>
            ERROR: Command errored out with exit status 1:<br>
             command: /opt/kallithea/venv/bin/python3 -c 'import io, os,
        sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-v81k9zcv/formencode_835feceb887f4a1989cbd3d85d056740/setup.py'"'"';
__file__='"'"'/tmp/pip-install-v81k9zcv/formencode_835feceb887f4a1989cbd3d85d056740/setup.py'"'"';f
        = getattr(tokenize, '"'"'open'"'"', open)(__file__) if
        os.path.exists(__file__) else io.StringIO('"'"'from setuptools
        import setup; setup()'"'"');code =
        f.read().replace('"'"'\r\n'"'"',
        '"'"'\n'"'"');f.close();exec(compile(code, __file__,
        '"'"'exec'"'"'))' egg_info --egg-base
        /tmp/pip-pip-egg-info-b2h_0m66<br>
                 cwd:
        /tmp/pip-install-v81k9zcv/formencode_835feceb887f4a1989cbd3d85d056740/<br>
            Complete output (3 lines):<br>
            /usr/lib64/python3.6/distutils/dist.py:261: UserWarning:
        Unknown distribution option: 'convert_2to3_doctests'<br>
              warnings.warn(msg)<br>
            error in FormEncode setup command: use_2to3 is invalid.<br>
            ----------------------------------------<br>
        WARNING: Discarding
<a class="moz-txt-link-freetext" href="https://files.pythonhosted.org/packages/2f/53/707c2b9b65ea6bedde67c21cbf7c71394f4a198620d4e9c1771214b91dcc/FormEncode-1.3.1.tar.gz#sha256=ada2f51792b1b484e5bb7b6cc14acfc1bc11fafc967cf015cd57e856053ca7f6">https://files.pythonhosted.org/packages/2f/53/707c2b9b65ea6bedde67c21cbf7c71394f4a198620d4e9c1771214b91dcc/FormEncode-1.3.1.tar.gz#sha256=ada2f51792b1b484e5bb7b6cc14acfc1bc11fafc967cf015cd57e856053ca7f6</a>
        (from <a class="moz-txt-link-freetext" href="https://pypi.org/simple/formencode/">https://pypi.org/simple/formencode/</a>). Command errored out
        with exit status 1: python setup.py egg_info Check the logs for
        full command output.<br>
        ERROR: Could not find a version that satisfies the requirement
        FormEncode<1.4,>=1.3.1 (from kallithea) (from versions:
        0.2, 0.2.1, 0.2.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.7, 0.7.1, 0.9,
        1.0, 1.0.1, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3.dev0, 1.2.4, 1.2.5,
        1.2.6, 1.3.0a1, 1.3.0, 1.3.1, 2.0.0a1, 2.0.0)</blockquote>
    </p>
    <p>The solution is to fix the setuptools version < 58.0.0,
      >=36</p>
    <h2 style="font-size: 1.75rem; margin-bottom: 0.75rem; margin-top:
      1.5rem; color: rgb(0, 0, 0); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji"; font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; letter-spacing: normal; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial;"> <span style="font-weight: normal;"><font size="-1"><a class="moz-txt-link-freetext" href="https://setuptools.readthedocs.io/en/latest/history.html">https://setuptools.readthedocs.io/en/latest/history.html</a></font></span></h2>
    <h2 style="font-size: 1.75rem; margin-bottom: 0.75rem; margin-top:
      1.5rem; color: rgb(0, 0, 0); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji"; font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; letter-spacing: normal; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial;"><font size="-1">v58.0.0 04 Sep 2021 Breaking Changes<a
          class="headerlink"
href="https://setuptools.readthedocs.io/en/latest/history.html#breaking-changes"
          title="Permalink to this headline" style="background-color:
          transparent; text-decoration: none; color: var(--color-link);
          margin-left: 0.5rem; visibility: visible;">¶</a></font></h2>
    <section id="breaking-changes" style="color: rgb(0, 0, 0);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe
      UI", Helvetica, Arial, sans-serif, "Apple Color
      Emoji", "Segoe UI Emoji"; font-size: 17.6px;
      font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; font-weight: 400; letter-spacing:
      normal; orphans: 2; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial;">
      <ul class="simple" style="padding-left: 1.2rem; margin-top: 1rem;
        margin-bottom: 1rem;">
        <li>
          <p><font size="-2"><a class="reference external"
                href="https://github.com/pypa/setuptools/issues/2086"
                style="background-color: transparent;
                text-decoration-line: underline;
                text-decoration-thickness: initial;
                text-decoration-style: initial; color:
                var(--color-link); text-decoration-color:
                var(--color-link-underline);">#2086</a>:</font><span></span><font
              size="-2" face="Courier New, Courier, monospace"><span
                style="color: rgb(0, 0, 0); font-size: 17.6px;
                font-style: normal; font-variant-ligatures: normal;
                font-variant-caps: normal; font-weight: 400;
                letter-spacing: normal; text-align: left; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                background-color: rgb(255, 255, 255);
                text-decoration-thickness: initial;
                text-decoration-style: initial; text-decoration-color:
                initial; display: inline !important; float: none;">
                Removed support for 2to3 during builds. Projects should
                port to a unified codebase or pin to an older version of
                Setuptools using<span> </span></span><a class="reference
                external"
                href="https://www.python.org/dev/peps/pep-0518/"
                style="background-color: rgb(255, 255, 255);
                text-decoration-line: underline;
                text-decoration-thickness: initial;
                text-decoration-style: initial; color:
                var(--color-link); text-decoration-color:
                var(--color-link-underline); font-size: 17.6px;
                font-style: normal; font-variant-ligatures: normal;
                font-variant-caps: normal; font-weight: 400;
                letter-spacing: normal; text-align: left; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;">PEP
                518</a><span style="color: rgb(0, 0, 0); font-size:
                17.6px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: 400;
                letter-spacing: normal; text-align: left; text-indent:
                0px; text-transform: none; white-space: normal;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;
                background-color: rgb(255, 255, 255);
                text-decoration-thickness: initial;
                text-decoration-style: initial; text-decoration-color:
                initial; display: inline !important; float: none;"><span> </span>build-requires.</span>"</font>
            <br>
          </p>
        </li>
      </ul>
    </section>
    <br>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 15.09.2021 14:18, toras wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:b48bd177-dda9-947d-f0a9-f23b3a7762c4@gmail.com">Hello
      <br>
      <br>
      I'm not familiar with this issue, but I'm posting this for your
      information.
      <br>
      I encountered a similar problem with docker ubuntu image (Install
      pip with get-pip.py).
      <br>
      <br>
      In the error log,
      <br>
      "Unknown distribution option: 'convert_2to3_doctests'"
      <br>
      and
      <br>
      "error in FormEncode setup command: use_2to3 is invalid."
      <br>
      message is included.
      <br>
      <br>
      Maybe this has something to do with it.
      <br>
      <a class="moz-txt-link-freetext" href="https://github.com/pypa/setuptools/issues/1120">https://github.com/pypa/setuptools/issues/1120</a>
      <br>
      <br>
      Apparently, it means that 2to3 is no longer available in
      setuptools 58?
      <br>
      <br>
      ----
      <br>
      <br>
      On 2021/09/15 18:23, Thomas De Schampheleire wrote:
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        El mié, 15 sept 2021 a las 10:57, Tom Gelsthorpe
        <br>
        (<a class="moz-txt-link-rfc2396E" href="mailto:tom.gelsthorpe@2e-systems.com"><tom.gelsthorpe@2e-systems.com></a>) escribió:
        <br>
        <blockquote type="cite">
          <br>
          Hi,
          <br>
          <br>
          please have a look at this, it was working until about 10 days
          ago
          <br>
          <br>
             pip install --upgrade kallithea==0.7.0
          <br>
          <br>
          but now I get
          <br>
          <br>
          ERROR: Could not find a version that satisfies the requirement
          <br>
          FormEncode<1.4,>=1.3.1 (from kallithea) (from versions:
          0.2, 0.2.1,
          <br>
          0.2.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.7, 0.7.1, 0.9, 1.0, 1.0.1,
          1.1, 1.2,
          <br>
          1.2.1, 1.2.2, 1.2.3.dev0, 1.2.4, 1.2.5, 1.2.6, 1.3.0a1, 1.3.0,
          1.3.1,
          <br>
          2.0.0a1, 2.0.0)
          <br>
          ERROR: No matching distribution found for
          FormEncode<1.4,>=1.3.1
          <br>
          <br>
          so FormEncode went from 1.3.1 to 2.0.0
          <br>
          <br>
          the version check in setup.py at line 53 fails:
          <br>
          <br>
          "FormEncode >= 1.3.1, < 1.4",
          <br>
          <br>
        </blockquote>
        <br>
        I don't see this problem.
        <br>
        I created a fresh virtualenv and ran the command you showed.
        <br>
        I get following set of packages:
        <br>
        <br>
        pip freeze
        <br>
        alembic==1.4.3
        <br>
        amqp==5.0.6
        <br>
        Babel==2.8.1
        <br>
        backlash==0.3.1
        <br>
        bcrypt==3.1.7
        <br>
        Beaker==1.11.0
        <br>
        billiard==3.6.4.0
        <br>
        bleach==3.1.3
        <br>
        celery==5.0.5
        <br>
        certifi==2021.5.30
        <br>
        cffi==1.14.6
        <br>
        chardet==4.0.0
        <br>
        click==7.1.2
        <br>
        click-didyoumean==0.0.3
        <br>
        click-plugins==1.1.1
        <br>
        click-repl==0.2.0
        <br>
        crank==0.8.1
        <br>
        decorator==4.4.2
        <br>
        docutils==0.16
        <br>
        dulwich==0.19.16
        <br>
        FormEncode==1.3.1
        <br>
        gearbox==0.2.1
        <br>
        hupper==1.10.3
        <br>
        ipaddr==2.2.0
        <br>
        Kallithea==0.7.0
        <br>
        kombu==5.1.0
        <br>
        Mako==1.1.5
        <br>
        Markdown==3.1.1
        <br>
        MarkupSafe==2.0.1
        <br>
        mercurial==5.8.1
        <br>
        paginate==0.5.6
        <br>
        paginate-sqlalchemy==0.3.1
        <br>
        Paste==3.4.6
        <br>
        PasteDeploy==2.1.1
        <br>
        prompt-toolkit==3.0.20
        <br>
        pycparser==2.20
        <br>
        Pygments==2.6.1
        <br>
        python-dateutil==2.8.2
        <br>
        python-editor==1.0.4
        <br>
        pytz==2021.1
        <br>
        repoze.lru==0.7
        <br>
        Routes==2.4.1
        <br>
        six==1.16.0
        <br>
        SQLAlchemy==1.3.24
        <br>
        Tempita==0.5.2
        <br>
        tgext.routes==0.2.1
        <br>
        TurboGears2==2.4.3
        <br>
        urllib3==1.26.6
        <br>
        URLObject==2.4.3
        <br>
        vine==5.0.0
        <br>
        waitress==1.4.4
        <br>
        wcwidth==0.2.5
        <br>
        webencodings==0.5.1
        <br>
        WebHelpers2==2.0
        <br>
        WebOb==1.8.7
        <br>
        Whoosh==2.7.4
        <br>
        <br>
        <br>
        <br>
        Note that in the list in your output, FormEncode 1.3.1 is still
        <br>
        present and is the intended version.
        <br>
        <br>
        It looks to me as if there is another package in your virtualenv
        that
        <br>
        explicitly expects another version.
        <br>
        Do you get the same problem from a fresh virtualenv?
        <br>
        <br>
        I think it must be possible to let pip give more verbose output
        about
        <br>
        why it did not consider FormEncode 1.3.1.
        <br>
        <br>
        Best regards,
        <br>
        Thomas
        <br>
        _______________________________________________
        <br>
        kallithea-general mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:kallithea-general@sfconservancy.org">kallithea-general@sfconservancy.org</a>
        <br>
<a class="moz-txt-link-freetext" href="https://lists.sfconservancy.org/mailman/listinfo/kallithea-general">https://lists.sfconservancy.org/mailman/listinfo/kallithea-general</a>
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      kallithea-general mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:kallithea-general@sfconservancy.org">kallithea-general@sfconservancy.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.sfconservancy.org/mailman/listinfo/kallithea-general">https://lists.sfconservancy.org/mailman/listinfo/kallithea-general</a>
      <br>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Tom Gelsthorpe
Technical Support Analyst
2e Systems
Tel:  +49 6196 - 950 58 28
Fax:  +49 6196 - 950 58 94
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:tom.gelsthorpe@2e-systems.com">tom.gelsthorpe@2e-systems.com</a>

Address: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am Taunus
Company registration: Amtsgericht Koenigstein (Germany), HRB 7303
Director: Philip Douglas

<a class="moz-txt-link-freetext" href="http://www.2e-systems.com">http://www.2e-systems.com</a> - making your business fly!</pre>
  </body>
</html>