thesofproject / sof-docs

Documentation for SOF
Other
18 stars 73 forks source link

.github: upgrade LAX environment to Ubuntu 22.04 #413

Closed marc-hb closed 2 years ago

marc-hb commented 2 years ago

Unlike scripts/requirements.txt, the purpose of scripts/requirements-lax.txt is to run the latest and greatest.

Signed-off-by: Marc Herbert marc.herbert@intel.com

marc-hb commented 2 years ago

Maybe another time

marc-hb commented 2 years ago

With some luck the old errors in https://github.com/thesofproject/sof-docs/runs/6804592256 were caused by the very old 0.5 sphinxcontrib.plantuml which I just upgraded in #428... let's re-open and see.

EDIT: CORRECT! https://github.com/thesofproject/sof-docs/runs/7877235140 built fine on 22.04 with my latest "LAX" requirements. \o/

On Ubuntu 22.04:

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: breathe>=4.7.3 in /usr/lib/python3/dist-packages (from -r scripts/requirements-lax.txt (line 12)) (4.33.1)
Requirement already satisfied: sphinx>=1.6.7 in /usr/lib/python3/dist-packages (from -r scripts/requirements-lax.txt (line 13)) (4.3.2)
Requirement already satisfied: docutils>=0.14 in /usr/lib/python3/dist-packages (from -r scripts/requirements-lax.txt (line 14)) (0.17.1)
Requirement already satisfied: sphinx_rtd_theme>=0.2.4 in /usr/lib/python3/dist-packages (from -r scripts/requirements-lax.txt (line 15)) (1.0.0)
Collecting sphinxcontrib.plantuml<0.25,>=0.11
  Downloading sphinxcontrib-plantuml-0.24.tar.gz (12 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: sphinxcontrib.plantuml
  Building wheel for sphinxcontrib.plantuml (setup.py): started
  Building wheel for sphinxcontrib.plantuml (setup.py): finished with status 'done'
  Created wheel for sphinxcontrib.plantuml: filename=sphinxcontrib_plantuml-0.24-py3-none-any.whl size=110[8](https://github.com/thesofproject/sof-docs/runs/7877235140?check_suite_focus=true#step:7:9)2 sha256=0edbe42a420[9](https://github.com/thesofproject/sof-docs/runs/7877235140?check_suite_focus=true#step:7:10)[10](https://github.com/thesofproject/sof-docs/runs/7877235140?check_suite_focus=true#step:7:11)0b9f482ac2542f0aef45c2d73962ce182f[16](https://github.com/thesofproject/sof-docs/runs/7877235140?check_suite_focus=true#step:7:17)7255c8cb0885d9
  Stored in directory: /home/runner/.cache/pip/wheels/40/7b/04/2dbbe97fb71b78b3035df2ded1b35a3245b96ae2686a080bbf
Successfully built sphinxcontrib.plantuml
Installing collected packages: sphinxcontrib.plantuml
Successfully installed sphinxcontrib.plantuml-0.24

This PR does NOT modify the "official" (and obsolete) scripts/requirements.txt, still building on Ubuntu 20.04