Open arkarkark opened 3 months ago
Hmm, I'll take a look, hopefully tomorrow. Thanks.
(copied for convenience.)
Believe the error it's coming from this in setup.py:
install_requires = (
'colorama; os_name == "nt" and platform_version < "10.0.10586" ',
)
1) I checked on Win/Lin/Mac and only on Windows does platform.version()
return a version-like string. I think that's the root issue. A broken or at least inconsistent platform.version()
result. Other available environment selectors are not sufficient to do this job.
(The job being to install colorama if using an older Windows 10 that doesn't support ANSI escape chars.)
2) This environment selector selects os_name == "nt"
first, so on non-NT environments it should finish there and not go on. This is standard boolean logic, if it needs to run both tests when not necessary that's another bug/enhancement to be done.
3) Your pip/setuptools version parser can't handle real world output from platform.version. Setuptools shouldn't be strict here until platform or selectors can be fixed/redesigned.
I can remove this check, but it used to work. So in my opinion is a regression on their side.
when I update pip to 24.1.1 it doesn't like
console
anymore.pip says this is a valid warning
and you can no longer install
console