Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4777 Python 3.x upgrade
  3. VOL-4778

repo:voltha-docs "make html" target fails with python v3.10

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: To Do (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
    • Story Points:
      0

      Description

      REPO: https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master

      Python deps: https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/requirements.txt

       

      % cd voltha-docs
      % make clean-all html

      ERROR: ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/_init_.py)

      Remove dependency on static /zdw/ python module sphinx-multiversion:

      git+https://github.com/zdw/sphinx-multiversion@ec7c01cdaf2f9241245e84483dfb9bc0d0dffc62

       

      Update requirements.txt / pip modules to use newer versions or better yet remove the version dependency altogether:

      • sphinx: 5.1.1+
      • robotframework 5.1.1+
      • doc8
      • [...]

       

      Python modules:

       

      Bug fix verify:

      • makefile targets run cleanly:
      • git clone
      • make clean-all
      • make html

       

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            joey Joey Armstrong
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes