[PKG-Openstack-devel] Bug#837100: python-hacking dependency versions are pinned by upstream, package doesn't work with Debian ones

Víctor Cuadrado Juan me at viccuad.me
Thu Sep 8 19:13:07 UTC 2016


Package: python-hacking
Version: 0.10.2-4
Severity: grave
Justification: renders package unusable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Upstream for python-hacking hardpins the dependecies: [1]
> Hacking pins its dependencies, as a new release of some dependency
> can break hacking based gating jobs. This is because new versions of
> dependencies can introduce new rules, or make existing rules stricter.

Currently we have python-hacking 0.10.2, which depends on: [2]
    pbr (>=0.11,<2.0)
    pep8 (==1.5.7)
    pyflakes (==0.8.1)
    flake8 (==2.2.4)
    mccabe (==0.2.1)
    six (>=1.7.0)

Even the newly released upstream version, 0.11.0, depends on: [3]
    flake8 (>=2.5.4,<2.6.0)
    mccabe (==0.2.1)
    pbr (>=1.6)
    pep8 (==1.5.7)
    pyflakes (==0.8.1)
    six (>=1.9.0)

Neither can be satisfaced on Testing nor Unstable (eg: we have
flake8 3.0.4 already), and this renders the package unusable. See
for example the following traceback from flake8:

    Traceback (most recent call last):
      File "/usr/bin/flake8", line 9, in <module>
        load_entry_point('flake8==3.0.4', 'console_scripts', 'flake8')()
      File "/usr/lib/python3/dist-packages/flake8/main/cli.py", line 16, in
main
        app.run(argv)
      File "/usr/lib/python3/dist-packages/flake8/main/application.py", line
316, in run
        self._run(argv)
      File "/usr/lib/python3/dist-packages/flake8/main/application.py", line
300, in _run
        self.run_checks()
      File "/usr/lib/python3/dist-packages/flake8/main/application.py", line
238, in run_checks
        self.file_checker_manager.run()
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 343, in run
        self.run_serial()
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 327, in
run_serial
        checker.run_checks(self.results_queue, self.statistics_queue)
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 568, in
run_checks
        self.process_tokens()
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 552, in
process_tokens
        self.handle_newline(token_type)
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 595, in
handle_newline
        self.run_logical_checks()
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 503, in
run_logical_checks
        results = self.run_check(plugin, logical_line=logical_line) or ()
      File "/usr/lib/python3/dist-packages/flake8/checker.py", line 455, in
run_check
        exception=ae,
    flake8.exceptions.PluginRequestedUnknownParameters: "hacking.core"
requested unknown parameters causing 'FileProcessor' object has no attribute
'physical_line'

We either need to fix this, or remove the package.

Cheers,


[1]: https://github.com/openstack-dev/hacking
[2]: https://pypi.python.org/pypi/hacking/0.10.2
[3]: https://pypi.python.org/pypi/hacking/0.11.0



- -- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-hacking depends on:
ii  pep8           1.7.0-4
ii  pyflakes       1.2.3-1
ii  python-flake8  3.0.4+dfsg1-1
ii  python-mccabe  0.5.2-2
ii  python-pbr     1.8.0-4.1
ii  python-six     1.10.0-3
pn  python:any     <none>

python-hacking recommends no packages.

python-hacking suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJX0bg9AAoJECI/Fcparw549x8IAMJXAs8GzVspdkN15JiyD8sz
F9Mhhwy6YTyaOwqDcxLxEoocAudhBFQ5YT8qpyz6itqFp5zU0Z+8FnCzZggTkat5
irXdNz7LRMtDzJW0Yx6uGS338/hE2eRLxKyHWvLMlPhwC2SHwuMqagk5GWFZYHz8
iBp7rbSsW65wz5rMYURLyBKc6P6TCxfCK/0Uq3FMPCsPgGy7t8XYXshBco3b+okM
PcPRIDJ92+TJI9OBmwqdVKGUTR2N8vSZT4luxJHsc1U+frzVGElACw75MGbDNbsh
MiNHldGsGi15SkviKbkvzt7gM/cSpzfnvmATj3CvNksXImyMdhENWxOiSNTPErI=
=JGym
-----END PGP SIGNATURE-----



More information about the Openstack-devel mailing list