Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45162 - [flake8] pyflakes version up to 0.9.0 causes dependency break.

Attached to Project: Community Packages
Opened by philanecros (philanecros) - Monday, 01 June 2015, 03:21 GMT
Last edited by Felix Yan (felixonmars) - Monday, 01 June 2015, 08:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading pyflakes and python2-pyflakes version to 0.9.0-1 , flake8 and python2-flake8 of version 1:2.4.1-1 break because they require pyflakes version as pyflakes<0.9,>=0.8.1

Additional info:
* package version(s)

pyflakes, python2-pyflakes: 0.9.0-1
flake8, python2-flake8: 1:2.4.1-1

* config and/or log files etc.

The output of flake8 is like this:

$ flake8
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 645, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 946, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 838, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyflakes 0.9.0 (/usr/lib/python3.4/site-packages), Requirement.parse('pyflakes<0.9,>=0.8.1'), {'flake8'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/flake8", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3074, in <module>
@_call_aside
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3060, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3087, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 647, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 660, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 833, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyflakes<0.9,>=0.8.1' distribution was not found and is required by flake8

Steps to reproduce:

1. Do a full system upgrade with pacman -Syu
2. Run flake8 or flake8-python2 in shell
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 01 June 2015, 08:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.4.1-2

Loading...