Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings for pkg_resources in setup.py and dash-separated options in setup.cfg #39

Open
zcernigoj opened this issue Sep 13, 2023 · 0 comments

Comments

@zcernigoj
Copy link

When installing openeo-pg-parser-python, I encounter these deprecation warnings

[pipenv.exceptions.InstallError]:   × python setup.py egg_info did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [78 lines of output]
[pipenv.exceptions.InstallError]:       /tmp/pip-install-2jvyexwz/openeo-pg-parser_51e94a2d9f0f4fa89d9e5a06eca60a06/setup.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
[pipenv.exceptions.InstallError]:         from pkg_resources import require, VersionConflict
[pipenv.exceptions.InstallError]:       /home/<username>/.local/share/virtualenvs/rest-2FLE_efx/lib/python3.9/site-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:               Usage of dash-separated 'author-email' will not be supported in future
[pipenv.exceptions.InstallError]:               versions. Please use the underscore name 'author_email' instead.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               By 2023-Sep-26, you need to update your project and remove deprecated calls
[pipenv.exceptions.InstallError]:               or your builds will no longer be supported.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:         opt = self.warn_dash_deprecation(opt, section)
[pipenv.exceptions.InstallError]:       /home/<username>/.local/share/virtualenvs/rest-2FLE_efx/lib/python3.9/site-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:               Usage of dash-separated 'long-description' will not be supported in future
[pipenv.exceptions.InstallError]:               versions. Please use the underscore name 'long_description' instead.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               By 2023-Sep-26, you need to update your project and remove deprecated calls
[pipenv.exceptions.InstallError]:               or your builds will no longer be supported.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:         opt = self.warn_dash_deprecation(opt, section)
[pipenv.exceptions.InstallError]:       /home/<username>/.local/share/virtualenvs/rest-2FLE_efx/lib/python3.9/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:               Requirements should be satisfied by a PEP 517 installer.
[pipenv.exceptions.InstallError]:               If you are using pip, you can try `pip install --use-pep517`.
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:         dist.fetch_build_eggs(dist.setup_requires)
[pipenv.exceptions.InstallError]:       /home/<username>/.local/share/virtualenvs/rest-2FLE_efx/lib/python3.9/site-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:               Usage of dash-separated 'author-email' will not be supported in future
[pipenv.exceptions.InstallError]:               versions. Please use the underscore name 'author_email' instead.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               By 2023-Sep-26, you need to update your project and remove deprecated calls
[pipenv.exceptions.InstallError]:               or your builds will no longer be supported.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:         opt = self.warn_dash_deprecation(opt, section)
[pipenv.exceptions.InstallError]:       /home/<username>/.local/share/virtualenvs/rest-2FLE_efx/lib/python3.9/site-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
[pipenv.exceptions.InstallError]:       !!
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:               Usage of dash-separated 'long-description' will not be supported in future
[pipenv.exceptions.InstallError]:               versions. Please use the underscore name 'long_description' instead.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               By 2023-Sep-26, you need to update your project and remove deprecated calls
[pipenv.exceptions.InstallError]:               or your builds will no longer be supported.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[pipenv.exceptions.InstallError]:               ********************************************************************************
[pipenv.exceptions.InstallError]:           
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant