Project abandoned? pip install fails (Python 3.10.8)
- Dominant language
- Python
- Stars
- 319
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
pip does not install `git-deps` anymore, is the project abandoned completely?
```
$ pip3 install git-deps
Defaulting to user installation because normal site-packages is not writeable
Collecting git-deps
Downloading git-deps-1.1.0.zip (8.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.1/8.1 MB 4.0 MB/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
╰─> [105 lines of output]
/usr/lib64/python3/site-packages/setuptools/dist.py:756: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'author-email' will not be supported in future
versions. Please use the underscore name 'author_email' instead.
By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib64/python3/site-packages/setuptools/dist.py:756: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'home-page' will not be supported in future
versions. Please use the underscore name 'home_page' instead.
By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib64/python3/site-packages/setuptools/dist.py:756: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2023-Sep-26, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/lib64/python3/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
/usr/lib64/python3/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/usr/lib64/python3/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
long_description_markdown_filename: dist = ; attr = 'long_description_markdown_filename'; value = 'README.md'
markdown_filename = '/tmp/.private/vt1/pip-install-qtachtyj/git-deps_39aabcca6bef4101a693455f69230b30/README.md'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/.private/vt1/pip-install-qtachtyj/git-deps_39aabcca6bef4101a693455f69230b30/setup.py", line 30, in
setup_package()
File "/tmp/.private/vt1/pip-install-qtachtyj/git-deps_39aabcca6bef4101a693455f69230b30/setup.py", line 18, in setup_package
setup(
File "/usr/lib64/python3/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/usr/lib64/python3/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib64/python3/site-packages/setuptools/dist.py", line 497, in __init__
_Distribution.__init__(
File "/usr/lib64/python3/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
self.finalize_options()
File "/usr/lib64/python3/site-packages/setuptools/dist.py", line 936, in finalize_options
ep(self)
File "/usr/lib64/python3/site-packages/setuptools/dist.py", line 956, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "/tmp/.private/vt1/pip-install-qtachtyj/git-deps_39aabcca6bef4101a693455f69230b30/.eggs/setuptools_markdown-0.4.1-py3.10.egg/setuptools_markdown.py", line 43, in long_description_markdown_filename
output = pypandoc.convert(markdown_filename, 'rst', format='md')
AttributeError: module 'pypandoc' has no attribute 'convert'
[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.
```
Python 3.10.8
Contributor guide
Research direction
Start with setup.py and the metadata-generation path shown in the traceback, especially setuptools_markdown and pypandoc. Reproduce the failure with pip install git-deps on Python 3.10.8, then verify that package installation completes without the reported AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100