DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.75k stars 1.12k forks source link

use_2to3 in setup.py is no longer supported by setuptools v58.0.0 (04 Sep 2021) #639

Open anilbey opened 2 years ago

anilbey commented 2 years ago

setuptools dropped the support [1] for the use_2to3. However deap is still using it.

Could you either remove it or pin the setuptools version to be less than 58.0.0?

https://github.com/DEAP/deap/blob/b8513fc16fa05b2fe6b740488114a7f0c5a1dd06/setup.py#L90

  1. https://setuptools.pypa.io/en/latest/history.html#v58-0-0

Thanks!

Julian commented 2 years ago

This is a dupe of #595.

aabmets commented 2 years ago

@anilbey I've created a Python 3.10 port of the DEAP library called DEAP-er. It's currently in beta, but you could check it out and provide feedback about any bugs.

anilbey commented 2 years ago

Thanks @aabmets but the git history is lost in DEAP-er. Can you rebase and preserve the git history?