Bug 1706207

Summary: libpreludedb FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: libpreludedbAssignee: Thomas Andrejak <thomas.andrejak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mail, mhroncok, thomas.andrejak, tscherf
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-07-13 12:09:18 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: 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Charalampos Stratakis 2019-05-03 19:27:53 UTC
Created attachment 1562702 [details]
Full log from Copr

libpreludedb fails to build with Python 3.8 with:

setup.py:34: SyntaxWarning: invalid escape sequence \s
  return re.split("\s+", s.strip())

which is this [0] line in the upstream template for setup.py

This is due to this [1] which makes the invalid escape sequences (the \s in this case) a syntax warning.

[0] https://www.prelude-siem.org/projects/libpreludedb/repository/revisions/master/entry/bindings/python/setup.py.in#L34

[1] https://bugs.python.org/issue32912

Full log attached

Comment 1 Miro Hrončok 2019-07-10 11:10:01 UTC
Thomas, please also look at this one.

Comment 2 Thomas Andrejak 2019-07-10 11:22:52 UTC
OK, noted

Comment 3 Thomas Andrejak 2019-07-13 09:22:52 UTC
Hello

This should now be OK : https://koji.fedoraproject.org/koji/taskinfo?taskID=36220724

Regards

Comment 4 Miro Hrončok 2019-07-13 12:09:18 UTC
Thanks