commit bb2aad01de1698d7cf2f4ef32ba6daa0f47104cf parent 38a774e604aba492a3a851ab64ade852d4a8a3d0 Author: Rob Wu <rob@robwu.nl> Date: Thu, 13 Nov 2025 06:31:49 +0000 Bug 1998780 - Restore Python 3.9 support in "mach doc" r=ahal Differential Revision: https://phabricator.services.mozilla.com/D271658 Diffstat:
| M | python/sites/docs.txt | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/python/sites/docs.txt b/python/sites/docs.txt @@ -1,9 +1,13 @@ -requires-python:>=3.10 +requires-python:>=3.9 # The following are only required by autodoc pth:python/mozpack/test pth:tools/lint/eslint/ pypi:Sphinx==7.4.7 -pypi:boto3==1.38.38 +# boto3 and types-requests have incompatible urllib3 requirements in Python 3.9 +# ( as explained in https://bugzilla.mozilla.org/show_bug.cgi?id=1998780#c4 ). +# "./mach doc --upload" requires boto3, but other "./mach doc" functionality +# does not. So to support common operations in Python 3.9, make it optional. +pypi:boto3==1.38.38 ; python_version >= "3.10" pypi:fluent.pygments==1.0 pypi:livereload==2.6.3 pypi:mots==0.13.1