kurtmckee/feedparser

feedparser=5.2.1 does not support the latest version of setuptools

LGDHuaOPER opened this issue · 1 comments

I have been trying to install gitsome using pipx and I kept running into this error.

$ pipx install gitsome
Fatal error from pip prevented installation. Full pip output in file:
    C:\Users\xxx\.local\pipx\logs\cmd_2023-03-07_14.53.57_pip_errors.log

pip seemed to fail to build package:
    feedparser<6.0.0,>=5.2.1

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: metadata-generation-failed

Error installing gitsome.
$ cat "C:\Users\xxx\.local\pipx\logs\cmd_2023-03-07_14.53.57_pip_errors.log"
PIP STDOUT
----------
Collecting gitsome
  Using cached gitsome-0.8.4.tar.gz (609 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting numpydoc<1.0,>=0.5
  Using cached numpydoc-0.9.2.tar.gz (27 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting ply<4.0,>=3.4
  Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting prompt_toolkit<2.1.0,>=2.0.0
  Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting requests<3.0.0,>=2.8.1
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting colorama<1.0.0,>=0.3.3
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting click<7.0,>=5.1
  Using cached click-6.7-py2.py3-none-any.whl (71 kB)
Collecting pygments<3.0.0,>=2.0.2
  Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB)
Collecting feedparser<6.0.0,>=5.2.1
  Using cached feedparser-5.2.1.zip (1.2 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'

PIP STDERR
----------
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in feedparser setup command: use_2to3 is invalid.
      [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.

see more donnemartin/gitsome#203

Thanks!

feedparser 5.2.1 is 8 years old. It doesn't support Python 3.6 or higher.

gitsome must upgrade to a newer version of feedparser.