[x] I have searched the issue tracker and believe that this is not a duplicate.
Make sure you run commands with -v flag before pasting the output.
Steps to reproduce
Check out any project that does not use PEP 621-compliant metadata, for example, liquidctl/liquidctl
Attempt to run pdm install
Agree to import from setup.cfg using "setuppy"
Actual behavior
pdm generates a massive amount of dependency resolution failure messages reporting absence of required-python configuration, ending up in a failure to import the project:
<...>
/home/intelfx/devel/ext/pdm/src/pdm/resolver/providers.py:202: PackageWarning: Skipping colorlog@6.8.2 because it requires Python>=3.6 but the project claims to work with all Python versions. Instead, another
version of colorlog that supports all Python versions will be used.
If you want to install colorlog@6.8.2, narrow down the `requires-python` range to include this version. For example, ">=3.6" should work.
return self.repository.find_candidates(
<...>
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm install
Actual behavior
pdm generates a massive amount of dependency resolution failure messages reporting absence of
required-python
configuration, ending up in a failure to import the project:Full
pdm install -vv
logExpected behavior
Project successfully imported, taking into account the
python_requires
option set in setup.cfg.Environment Information