Hi,

On Wed, Sep 7, 2022 at 9:50 PM Roger Oberholtzer
<roger.oberholt...@gmail.com> wrote:
>
> I have decided to try Trac 1.5 as the system on which this runs was
> forced to move to Python3. Or, one can say that Python2 is difficult
> to use on this system.
>
> Anyway, when I tried to install Trac 1.5x with this command:
>
>      pip install https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
>
> I get this:
>
> ---%<----
>
> Collecting https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
>  Downloading https://download.edgewall.org/trac/Trac-latest-dev.tar.gz (5.4 
> MB)
>     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 705.8 kB/s eta 0:00:00
>  Preparing metadata (setup.py) ... error
>  error: subprocess-exited-with-error
>
>  × python setup.py egg_info did not run successfully.
>  │ exit code: 1
>  ╰─> [8 lines of output]
>      Traceback (most recent call last):
>        File "<string>", line 2, in <module>
>        File "<pip-setuptools-caller>", line 34, in <module>
>        File "/tmp/pip-req-build-h350rf4p/setup.py", line 32, in <module>
>          from trac.dist import get_l10n_trac_cmdclass
>        File "/tmp/pip-req-build-h350rf4p/trac/dist.py", line 30, in <module>
>          from jinja2.ext import babel_extract as jinja2_extractor
>      ModuleNotFoundError: No module named 'jinja2'
>      [end of output]
>
>  note: This error originates from a subprocess, and is likely not a
> problem with pip.
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
>
> ---%<----
>
> I think Jinja should be installed as part of this. But something
> cannot be found.
>
> I'm using Python 3.10 for all this as it is the current default on my
> openSUSE Tumbleweed Linux system.

The issue is reproduced when installing Trac after Babel is installed.
Also, the same issue is raised even when installing trunk.

Could you please file the issue via trac.edgewall.org/newticket if possible?


$ /dev/shm/venv-py310/bin/pip install Babel
$ /dev/shm/venv-py310/bin/pip install
https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
Collecting https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
  Using cached https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
(5.4 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-h5htw5m0/setup.py", line 32, in <module>
          from trac.dist import get_l10n_trac_cmdclass
        File "/tmp/pip-req-build-h5htw5m0/trac/dist.py", line 30, in <module>
          from jinja2.ext import babel_extract as jinja2_extractor
      ModuleNotFoundError: No module named 'jinja2'
      [end of output]

  note: This error originates from a subprocess, and is likely not a
problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

$ /dev/shm/venv-py310/bin/pip install
svn+https://svn.edgewall.org/repos/trac/trunk
Collecting svn+https://svn.edgewall.org/repos/trac/trunk
  Checking out https://svn.edgewall.org/repos/trac/trunk to
/tmp/pip-req-build-yeed2fad
  Running command svn checkout --quiet --force-interactive
https://svn.edgewall.org/repos/trac/trunk /tmp/pip-req-build-yeed2fad
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-yeed2fad/setup.py", line 32, in <module>
          from trac.dist import get_l10n_trac_cmdclass
        File "/tmp/pip-req-build-yeed2fad/trac/dist.py", line 31, in <module>
          import jinja2
      ModuleNotFoundError: No module named 'jinja2'
      [end of output]

  note: This error originates from a subprocess, and is likely not a
problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

-- 
Jun Omae <jun6...@gmail.com> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMajwK9EpcCvPwqM_EeTEFAazw%3DZNC8R9H3YwASUbY-EB1Q%40mail.gmail.com.

Reply via email to