Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1696376

Summary: python-hamcrest-1.9.0-8.fc31 FTBFS with pytest 4
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-hamcrestAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-04 16:58:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1671167, 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Miro Hrončok 2019-04-04 16:34:43 UTC
Created attachment 1552026 [details]
Full log from Copr

Tests fail with:

E   TypeError: object of type 'MarkDecorator' has no len()

full log attached.

This is because:

https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize

Comment 2 Miro Hrončok 2019-04-04 16:46:59 UTC
That is only partial fix however.

Comment 3 Miro Hrončok 2019-04-04 16:58:06 UTC
I've pushed the fix to git. Seems upstream master is different now so I'm not sending that upstream. If you wish to, you can always do that.