Bug 1705263 - custodia FTBFS with pytest 4
Summary: custodia FTBFS with pytest 4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: custodia
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTEST4 PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-01 20:29 UTC by Miro Hrončok
Modified: 2019-07-10 15:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-10 15:12:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (171.16 KB, text/plain)
2019-05-01 20:29 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-05-01 20:29:47 UTC
Created attachment 1561128 [details]
Full log from Copr

custodia 0.6.0-7.fc31 FTBFS with pytest 4:

____________ ERROR at setup of ... ____________

item = <Function ...>

    def pytest_runtest_setup(item):
        skip_servertest = item.config.getoption(SKIP_SERVERTEST)
>       if skip_servertest and item.get_marker("servertest") is not None:
E       AttributeError: 'Function' object has no attribute 'get_marker'

tests/conftest.py:37: AttributeError

Full log attached.

This blocks the rebuild needed for Python 3.8.

Comment 1 Miro Hrončok 2019-07-10 10:03:01 UTC
Simo, please respond.

Comment 2 Simo Sorce 2019-07-10 11:36:54 UTC
Sorry Miro, had missed this one,
I will investigate.

Comment 3 Simo Sorce 2019-07-10 15:12:02 UTC
Created a patch (under review upstream) and added it to the Fedora custodia package.
Pushed and created build, hopefully it solves this issue.

Comment 4 Miro Hrončok 2019-07-10 15:23:08 UTC
Thank you.


Note You need to log in before you can comment on or make changes to this bug.