#1057968 python3-flake8: cannot import name 'missing_whitespace_around_operator' from 'pycodestyle'

#1057968#5
Date:
2023-12-11 02:57:49 UTC
From:
To:
flake8 is today broken ($subj) in Debian testing because pycodestyle
2.11 isn't API-compatible with 2.10 and python3-pycodestyle 2.11.1-1
migrated to testing before python3-flake8 6.1.0-1 did. The relevant
upstream change is this one:

https://github.com/PyCQA/flake8/commit/9786562feb573d30c73f18e1a0a6685c8584e9b5

Note that upstream does specify an upper bound on pycodestyle, but the
Debian python3-flake8 package does not. If it had, it would probably
prevent this scenario where one package migrated to testing and the
other didn't. (Well, I hope it would, but I don't know enough about
Debian to be sure.)

(Feel free to close this but please do consider whether that upper bound
would be appropriate. Presumably a similar problem might affect
python3-pyflakes but that didn't migrate yet.)

#1057968#10
Date:
2023-12-14 14:12:31 UTC
From:
To:
This problem makes flake8 completely broken.  The version in unstable
fixes that.  I've fixed both the severity and the version information.

Bastian

#1057968#19
Date:
2024-02-29 13:45:12 UTC
From:
To:
Hello,

Bug #1057968 in python-flake8 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-flake8/-/commit/762a0ae053e83aab9e684f4177555448326b5ae3
------------------------------------------------------------------------
Set upper bound on mccabe, pycodestyle, and pyflakes

Set upper bound on mccabe, pycodestyle, and pyflakes because those
projects are tightly coupled.

Closes: #1057968
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1057968

#1057968#26
Date:
2024-02-29 15:21:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-flake8, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1057968@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <bdrung@debian.org> (supplier of updated python-flake8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 29 Feb 2024 14:38:44 +0100
Source: python-flake8
Built-For-Profiles: noudeb
Architecture: source
Version: 7.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Benjamin Drung <bdrung@debian.org>
Closes: 1057968
Changes:
 python-flake8 (7.0.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * Bump required library version to upstream's minimums
   * Set upper bound on mccabe, pycodestyle, and pyflakes (Closes: #1057968)
Checksums-Sha1:
 67506945fb27bbe999032cb4753b437913822033 2419 python-flake8_7.0.0-1.dsc
 c144e1ec8f78f72b5a1ad263df423a33597cf1bd 138414 python-flake8_7.0.0.orig.tar.gz
 91eda6bb066d9df64867b8a4a426af52f78e26d3 8648 python-flake8_7.0.0-1.debian.tar.xz
 a5e10262f4d75767e9e13d39a5f7dfcaffd2bb45 7959 python-flake8_7.0.0-1_source.buildinfo
Checksums-Sha256:
 2944f2c1d4b6bc146f2c2a34f2bb5dd97cf743d3973296801c1e7ef0abf392df 2419 python-flake8_7.0.0-1.dsc
 b64ca65523c94b04cc9c0c53bc029a0fc663ee5f6fc4900e2e05ca0f223cb81d 138414 python-flake8_7.0.0.orig.tar.gz
 f6dd68ca4f1391b5ab2a0157468112c16338a312a0c845a9666837f8809737a5 8648 python-flake8_7.0.0-1.debian.tar.xz
 6b1a6a15dba8b8de47505b1783350e40855dc2c999f87ed0a91bf2ecc4f6be09 7959 python-flake8_7.0.0-1_source.buildinfo
Files:
 46ec0afefeeef9dd76c96202a9a40a9c 2419 python optional python-flake8_7.0.0-1.dsc
 89584bc76a331c15f72be706deb1e54f 138414 python optional python-flake8_7.0.0.orig.tar.gz
 93b2838d34d07e5f6edc32f0c8eee218 8648 python optional python-flake8_7.0.0-1.debian.tar.xz
 2399ea13088dad2d157390f84e7d93f1 7959 python optional python-flake8_7.0.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpi0s+9ULm1vzYNVLFZ61xO/Id0wFAmXgie8ACgkQFZ61xO/I
d0z0MxAAnEMi+179+QFPd8tMz1+JHGcw5k/kcTgfzEXxqZYC+4W7gGGMRcs+2w7h
dOcxPS8sdMuRuCelZV7+o3RIbBkjxTJN7SJTc12cuUwFY0KI0SgfQTy6IyMKIj23
ntEXjSYGdz/SmyMNMCqyL5xivPATcSCWmL2kP3oaxzq2vKvN9lwjvorAazdaMecM
uqi1GMHE/hQvt0yMAYmFp2m9mEae072+tfrR0Z+H5zVBIgFdmUZb8mo2mxNZ49uR
yS5+mmWWL/lFBRMYQr+Jf5o4NRLLDjmaYjuT8bcWqpNgfCLmM0nFOALDoXvW64Ja
kU5fGP+2asszjetKvpkdmFUjiOxX788gWGd3CV15oHTZHdaNXS35XW2rV3NnjrQ1
WEEILuYTNoopqtwQLMJ2WQvseT/N6KfVXt65UmSPprtqkri+3NU+0jeBpjiJVMTx
7rAunkAJTrQz3JO369ylk3RFF1DLShYvH6g/sfpXP2dTsW8kgSJFQ91e7OPtwAaq
uV4QgvSPzQHeGxZcUwTyMfQn8LX6UHjyjperTtnyiSuAbX2EL948IBDXOgIbEoL2
ivdrdf1mgQPBJI8Mx+cmzQ7LjEf9f9ArJplQZSa6kZHQ6gzGQYY6y1t1FYfTTHv/
wBzdeb5GPEfiabmwYBeJwpjUGb0+LNPWbOHbaXl4MLOJ6hgFBFs=
=Q8pX
-----END PGP SIGNATURE-----