Bug 1693485 - python-genshi FTBFS with Python 3.8
Summary: python-genshi FTBFS with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-genshi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Felix Schwarz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-03-28 00:14 UTC by Miro Hrončok
Modified: 2019-05-10 12:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-29 08:13:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from copr (1.20 MB, text/plain)
2019-03-28 00:14 UTC, Miro Hrončok
no flags Details
root.log from copr (33.21 KB, text/plain)
2019-03-28 00:15 UTC, Miro Hrončok
no flags Details
Full log from Copr (Python 3.8.0a4) (930.15 KB, text/plain)
2019-05-10 12:22 UTC, Miro Hrončok
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github edgewall genshi issues 18 0 None None None 2019-05-10 12:27:22 UTC

Description Miro Hrončok 2019-03-28 00:14:41 UTC
Created attachment 1548753 [details]
build.log from copr

There are test failures when building python-genshi-0.7.1-1.fc31 on Python 3.8.

Mostly caused by:

AttributeError: module '_ast' has no attribute 'Str'


Full log attached.

Comment 1 Miro Hrončok 2019-03-28 00:15:26 UTC
Created attachment 1548754 [details]
root.log from copr

Comment 2 Felix Schwarz 2019-03-28 07:40:24 UTC
This is an upstream bug. Let's see if we can get a fixed version from upstream.

Comment 3 Felix Schwarz 2019-04-29 07:54:24 UTC
Miro provided a patch upstream and a new upstream release 0.7.2 was published. I'll push that version to fedora in a minute.

Comment 4 Miro Hrončok 2019-05-10 12:22:35 UTC
Created attachment 1566652 [details]
Full log from Copr (Python 3.8.0a4)

I'm sorry but a4 broke this again :(

Lot of similar to those:

======================================================================
ERROR: test_def_some_defaults (genshi.template.tests.eval.SuiteTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-python-genshi-0.7.2-1.fc31/build/lib/genshi/template/tests/eval.py", line 545, in test_def_some_defaults
    suite = Suite("""
  File "/builddir/build/BUILD/python3-python-genshi-0.7.2-1.fc31/build/lib/genshi/template/eval.py", line 93, in __init__
    self.code = _compile(node, self.source, mode=self.mode,
  File "/builddir/build/BUILD/python3-python-genshi-0.7.2-1.fc31/build/lib/genshi/template/eval.py", line 470, in _compile
    return build_code_chunk(code, filename, name, lineno)
  File "/builddir/build/BUILD/python3-python-genshi-0.7.2-1.fc31/build/lib/genshi/compat.py", line 94, in build_code_chunk
    return CodeType(0, code.co_nlocals, code.co_kwonlyargcount,
TypeError: an integer is required (got type bytes)

Will report upstream.

Comment 5 Miro Hrončok 2019-05-10 12:27:22 UTC
https://github.com/edgewall/genshi/issues/18


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