NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.21k stars 14.21k forks source link

Remove libraries relying on `use_2to3` #155516

Closed mweinelt closed 1 year ago

mweinelt commented 2 years ago

use_2to3 was an automatic translation feature provided by setuptoos to convert python2 to python3 by running 2to3 during the build phase. Projects using it are in fact python2 projects and are mostly unmaintained and should be removed.

The feature itself was removed from setuptools in version 58, which is currently on python-unstable.

Affected packages and their direct dependencies.

https://hydra.nixos.org/eval/1738807?filter=python39&compare=1738720&full=#tabs-now-fail

Check when removed or fixed.

jonringer commented 2 years ago

fail2ban was addressed in https://github.com/NixOS/nixpkgs/pull/154969/commits/df7d43efea558590230de77cf3ed0101a4006761

jonringer commented 2 years ago

clint: https://github.com/NixOS/nixpkgs/pull/154969/commits/da183ea690dd9995ab23213407b049cb2657df2a

jonringer commented 2 years ago

setuptools bump has been moved to https://github.com/NixOS/nixpkgs/pull/155531 from the python-unstable, so that python-unstable isn't blocked by so many hard failures

jonringer commented 2 years ago

parse_type has been resolved: https://github.com/behave/behave/issues/994

tjni commented 1 year ago

I think this issue can finally be closed 🎉 . For the unchecked boxes: