Package: reserialize
Version: 20220929-1

toml2yaml doesn't work:

   $ toml2yaml /dev/null
   Traceback (most recent call last):
     File "/usr/bin/toml2yaml", line 87, in <module>
       data = fh_loaders[itype](ifh)
              ^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/bin/toml2yaml", line 29, in <lambda>
       "toml": lambda fh: toml.load(fh),
                          ^^^^^^^^^^^^^
     File "/usr/lib/python3.11/tomllib/_parser.py", line 63, in load
       raise TypeError(
   TypeError: File must be opened in binary mode, e.g. use `open('foo.toml', 
'rb')`


-- System Information:
Architecture: i386

Versions of packages reserialize depends on:
ii  python3-yaml  6.0-3+b2
ii  python3       3.11.2-1+b1

Versions of packages reserialize recommends:
un  python3-bson  <none>
ii  python3-toml  0.10.2-1

--
Jakub Wilk

Reply via email to