question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setup.cfg wrongly mentions setuptools in install_requires?

See original GitHub issue

cairocffi does not seem to be using setuptools at runtime, but it’s mentioned in install_requires in setup.cfg, so perhaps it should be removed from there

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
stephanschielkecommented, Dec 15, 2020

@liZe thanks for the quick reply. We now better understand the issue. In my opinion it is not necessary to explicitly point this out in the documentation. I believe most people use setuptools in a more up to date version. If not they will find this ticket 😃

1reaction
liZecommented, Dec 15, 2020

So some version requirement is necessary.

Adding the version requirement in the package doesn’t help, because when pip is launched, it installs setuptools as a dependency but keeps using the previous version while installing cairocffi.

We could add some information in the documentation, if you want.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference requirements.txt for the install_requires kwarg in ...
Since setuptools version 62.6 it is possible to write something like this in setup.cfg : [options] install_requires = file: requirements.txt.
Read more >
Dependency scanning fails for setuptools project that ... - GitLab
The author is mentioning either setup.py or setup.cfg AND pyproject.toml . We have setup.cfg AND pyproject.toml . Great question! The ...
Read more >
Configuring setuptools using setup.cfg files
Setuptools allows using configuration files (usually setup.cfg ) to define a package's metadata and other options that are normally supplied to the setup() ......
Read more >
2. Writing the Setup Script — Python 3.11.1 documentation
The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the...
Read more >
Project requirements are not detected from setup.cfg : PY-23007
Since setuptools 30.3.0 it's possible to specify semicolon separated requirements at setup.cfg: ... [options] setup_requires = ... install_requires ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found