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#62581 - [pytest] community/pytest requires community-testing/pluggy

Attached to Project: Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Thursday, 09 May 2019, 11:55 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 09 May 2019, 12:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

pytest 4.4.2 is moved to community, and it wants pluggy>=0.11, which is only available from [community-testing]. As a result I cannot build packages that depend on pytest with extra-x86_64-build.

$ pytest --version
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pluggy 0.9.0 (/usr/lib/python3.7/site-packages), Requirement.parse('pluggy>=0.11'), {'pytest'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/pytest", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pluggy>=0.11' distribution was not found and is required by pytest

Additional info:
community/python-pluggy 0.9.0-1
community/python-pytest 4.4.2-1

Steps to reproduce:
1. Disable *testing repos
2. Install pytest
3. Run pytest
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 09 May 2019, 12:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-pluggy 0.11.0 moved to [community].

Loading...