requirements-parser icon indicating copy to clipboard operation
requirements-parser copied to clipboard

Library relies on deprecated pkg_resources

Open gotmax23 opened this issue 2 years ago • 2 comments

This package imports pkg_resources

https://github.com/madpah/requirements-parser/blob/1ce923617147dd984c280d56cb1f02fcd3589a7c/requirements/requirement.py#L24

which is deprecated. Simply importing the package raises a DeprecationWarning. The library should migrate to packaging.requirements.Requirement instead of pkg_resources.Requirement.

gotmax23 avatar Aug 15 '23 01:08 gotmax23

This is failing on Python 3.12: https://github.com/ansible-collections/community.docker/actions/runs/7513305230/job/20454910945?pr=754

felixfontein avatar Jan 13 '24 15:01 felixfontein

This is failing on Python 3.12: https://github.com/ansible-collections/community.docker/actions/runs/7513305230/job/20454910945?pr=754

That is because the package is missing an explicit dependency on setuptools, but it looks like that was fixed on main.

gotmax23 avatar Mar 28 '24 13:03 gotmax23