[Bug 1386563] Review Request: python-ruamel-yaml - YAML 1.2 loader/ dumper package for Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1386563

Jan Chaloupka <jchaloup@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jchaloup@xxxxxxxxxx



--- Comment #14 from Jan Chaloupka <jchaloup@xxxxxxxxxx> ---
F24 build fails on f24 with:

>>> import ruamel.yaml
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/ruamel/yaml/__init__.py", line 81,
in <module>
    from ruamel.yaml.main import *  # NOQA
  File "/usr/lib64/python2.7/site-packages/ruamel/yaml/main.py", line 21, in
<module>
    StreamType = Union[BinaryIO, IO[str], StringIO]
  File "/usr/lib/python2.7/site-packages/typing.py", line 549, in __getitem__
    dict(self.__dict__), parameters)
  File "/usr/lib/python2.7/site-packages/typing.py", line 479, in __new__
    params.append(_type_check(p, msg))
  File "/usr/lib/python2.7/site-packages/typing.py", line 298, in _type_check
    raise TypeError(msg + " Got %.100r." % (arg,))
TypeError: Union[arg, ...]: each arg must be a type. Got <class
StringIO.StringIO at 0x7f0026d6fae0>.

Installing the ruamel.yaml via pip the import works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]