Thanks, that's similar to what I've been doing. First try to build, check with namcap. If it says that Dependency included, but may not be needed ('python-future') there are big chances that it can just be removed. Not foolproof, but worked for me in >95% cases for this particular issue.
That is not entirely true about __future__. There were 2 additions in 3.x series: https://docs.python.org/3/library/__future__.html#module-contents
Also because of the "nameclash" I've seen few cases like this where import __future__ was added and at the same time needlessly added future to install_requires.
Pinned Comments
micwoj92 commented on 2025-01-02 21:47 (UTC)
Do not post check errors here. Python-future package is not compatible with Python 3.13. If you use packages that depend on it, please contact maintainers and/or upstream of these packages and try to work out whether this dependency is really needed.