[config] Test dependency ruamel.yaml.clib needs to be updated for Python 3.10

Bug #1967308 reported by Dariusz Smigiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Dariusz Smigiel

Bug Description

When trying to run tests on Python 3.10, tox showed errors.

    Building wheels for collected packages: ruamel.yaml.clib
      Building wheel for ruamel.yaml.clib (setup.py): started
      Building wheel for ruamel.yaml.clib (setup.py): finished with status 'error'
      Running setup.py clean for ruamel.yaml.clib
    Failed to build ruamel.yaml.clib
 ...
    ERROR: Command errored out with exit status 1: /tmp/.venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7w80o_ed/ruamel-yaml-clib_8898227f428642abacf4e69ca73094ab/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7w80o_ed/ruamel-yaml-clib_8898227f428642abacf4e69ca73094ab/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-uej0f1dn/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/.venv/include/site/python3.10/ruamel.yaml.clib Check the logs for full command output.

I tracked them down to issues with pinned version of ruamel.yaml.clib

[dasm@fedora config]$ cat test-requirements.txt | grep ruamel
ruamel.yaml.clib==0.2.2

After swapping version to latest released one for ruamel.yaml.clib 0.2.6 it resolved issues.
The author of the package has been notified about the issue with compilation [1], and updated code to incorporate changes.
Additionally, the Author suggested use of newer version of ruamel.yaml altogether with ruamel.yaml.clib to support Python 3.10 [2]

[1]: https://sourceforge.net/p/ruamel-yaml-clib/tickets/5/
[2]: https://sourceforge.net/p/ruamel-yaml-clib/tickets/7/

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Dariusz Smigiel (smigiel-dariusz)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.