1

in this tutorial for python packaging tutorarial it is recommended to use setup.cfg over setup.py to declare dependencies. However on github under "Dependency graph", it is written that only dependencies declared under setup.py or pyproject.toml are read. Does that mean that it is not recommended to declare the dependencies in setup.cfg?

Or if it is recommended how can I tell dependabot to check for dependencies under setup.cfg?

Jimmy2027
  • 313
  • 3
  • 10

1 Answers1

1

Unfortunately it is yet not supported, see the discussion on Github where the issue is still open (the project is open source and waiting for devs to contribute - the project is in Ruby)

Beppe C
  • 11,256
  • 2
  • 19
  • 41
  • BTW it is possible (and acceptable) to put both `setup.cfg` and 'requirements.txt, since they have different purposes. The only headache is to keep them in sync – Beppe C Feb 20 '22 at 17:01