As a smoke test we run the tox environment cpython-apidocs.
This task pulls the latest CPython an run pydoctor on it. The trick is that is't set-up to unconditionally run with python 3.8 in the Github CI. All files that uses syntax introduced after python 3.8 (like the match statement or exception groups) are not being analyzed because the parser fails to produce the AST for these files.
We should pull a specific version of python, and run pydoctor with the corresponding python version instead.
As a smoke test we run the tox environment
cpython-apidocs
.This task pulls the latest CPython an run pydoctor on it. The trick is that is't set-up to unconditionally run with python 3.8 in the Github CI. All files that uses syntax introduced after python 3.8 (like the match statement or exception groups) are not being analyzed because the parser fails to produce the AST for these files.
We should pull a specific version of python, and run pydoctor with the corresponding python version instead.