Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python-flake8-polyfill): New variable. Applied, thanks! I moved this closer to the "python-flake8" expression so it's easier to locate in the source code. Also added the python2 variant on this and others where applicable. I did remove python-flake8 from propagated-inputs too. While required by this package, AFAIU from the description, it's designed to be used with different flake versions, so propagating one may cause conflicts. > --- > gnu/packages/python.scm | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 61b34bf..6b56312 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12559,3 +12559,24 @@ faster ones are not available.") > "Python module dedicated to rendering RST (reStructuredText) documents to > ansi-escaped strings suitable for display in a terminal.") > (license license:expat))) > + > +(define-public python-flake8-polyfill > + (package > + (name "python-flake8-polyfill") > + (version "1.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "flake8-polyfill" version)) > + (sha256 > + (base32 > + "02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-flake8" ,python-flake8))) > + (home-page "https://gitlab.com/pycqa/flake8-polyfill") > + (synopsis "Polyfill package for Flake8 plugins") > + (description > + "This package that provides some compatibility helpers for Flake8 plugins that > + intend to support Flake8 2.x and 3.x simultaneously.") > + (license license:expat))) > -- > 2.10.2