Open natescherer opened 1 year ago
Adding this mainly as doc in case anyone else runs into the issue: the docs-build nox session fails with the below error on Ubuntu:
docs-build
ValueError: ZoneInfo keys may not be absolute paths, got: /UTC
I ran it down, and this is because of https://github.com/python-babel/babel/issues/990
As a workaround in the meantime, you can change line 208 in noxfile.py to the below, which will pin doc build to Python 3.8, which is unaffected by the linked babel bug:
noxfile.py
@session(name="docs-build", python=python_version"3.8")
Note that if you are running nox locally, you'll need to run without -r in order for the docs-build session to have its venv rebuilt.
If anyone is running into this issue, there's a temporary kludge-y fix here until babel can be updated: https://github.com/python-babel/babel/issues/990#issuecomment-1760326334
Adding this mainly as doc in case anyone else runs into the issue: the
docs-build
nox session fails with the below error on Ubuntu:I ran it down, and this is because of https://github.com/python-babel/babel/issues/990
As a workaround in the meantime, you can change line 208 in
noxfile.py
to the below, which will pin doc build to Python 3.8, which is unaffected by the linked babel bug:Note that if you are running nox locally, you'll need to run without -r in order for the docs-build session to have its venv rebuilt.