Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Dependency graph does not support setup.cfg for Python

It seems that when dependency-graph support for python was implemented it was missed to read existing PEPs and thus the most important place to store requirements was missing: setup.cfg file.

 

Example of complex requirements in setup.cfg:

https://github.com/ansible/molecule/blob/master/setup.cfg#L69-L136

https://github.com/pyscaffold/pyscaffold/blob/master/setup.cfg -- which happens to be a very good starting template for new python libraries.

 

The req.txt parser should easily be re-used because the syntax is kep compatible, the only difference being that now the lists are stores in that standardized ini file.

1 Reply
Community Manager
Message 2 of 2

Re: Dependency graph does not support setup.cfg for Python

Hello @ssbarnea,

Thanks for the feedback! I've taken your suggestion and passed it along to the appropriate teams.

I don't have an ETA on when or if this request will be implemented but this is in good hands.


Thank you for your perspective and your contribution!
All the Best

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!