From feba1c81cd98cd03d692c0545176b076883b414c Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Thu, 4 Jan 2024 14:37:29 +0100 Subject: [PATCH 1/8] remove bound on documentation build --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index cdebd7b39..21a86175a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -98,10 +98,10 @@ all = PyOpenGL-accelerate>=3.1.5 PyQt5!=5.15.0,>=5.12.3 docs = - autodoc-pydantic==1.7.2 + autodoc-pydantic sphinx!=3.0.0,!=3.5.0 - sphinx-autodoc-typehints==1.18.3 - sphinx-qt-documentation==0.4 + sphinx-autodoc-typehints + sphinx-qt-documentation pyinstaller = %(all)s PyInstaller From 98eb8be597c9ccb5f2bbf5a4479f0a3bbe560b6d Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 15:36:44 +0100 Subject: [PATCH 2/8] bump readthedocs config --- .readthedocs.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 07f499679..e08ac4bbc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -17,15 +17,16 @@ sphinx: formats: all build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.9" + python: "3.11" # Optionally set the version of Python and requirements required to build your docs python: install: - - requirements: requirements/constraints_py3.9.txt - - requirements: requirements/requirements_dev.txt + - requirements: requirements/constraints_py3.11.txt - method: pip - path: .[docs] + path: . + extra_requirements: + - docs From 904dd6378a3d200582d7bfecc6d7a71e107d7396 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 16:46:18 +0100 Subject: [PATCH 3/8] pin docs --- .github/workflows/upgrade-dependencies.yml | 1 + .readthedocs.yml | 2 +- requirements/constraints_py3.11_docs.txt | 481 +++++++++++++++++++++ 3 files changed, 483 insertions(+), 1 deletion(-) create mode 100644 requirements/constraints_py3.11_docs.txt diff --git a/.github/workflows/upgrade-dependencies.yml b/.github/workflows/upgrade-dependencies.yml index a5dbd8658..3e8ba7541 100644 --- a/.github/workflows/upgrade-dependencies.yml +++ b/.github/workflows/upgrade-dependencies.yml @@ -53,6 +53,7 @@ jobs: python${pyv} -m pip install -U pip pip-tools python${pyv} -m piptools compile --upgrade -o requirements/constraints_py${pyv}.txt setup.cfg requirements/version_denylist.txt ${flags} done + python3.11 -m piptools compile --upgrade -o requirements/constraints_py3.11_docs.txt setup.cfg requirements/version_denylist.txt --allow-unsafe --strip-extras --extra docs --extra pyqt6 # END PYTHON DEPENDENCIES - name: Check updated packages diff --git a/.readthedocs.yml b/.readthedocs.yml index e08ac4bbc..3c20789fb 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -25,7 +25,7 @@ build: # Optionally set the version of Python and requirements required to build your docs python: install: - - requirements: requirements/constraints_py3.11.txt + - requirements: requirements/constraints_py3.11_docs.txt - method: pip path: . extra_requirements: diff --git a/requirements/constraints_py3.11_docs.txt b/requirements/constraints_py3.11_docs.txt new file mode 100644 index 000000000..59422e611 --- /dev/null +++ b/requirements/constraints_py3.11_docs.txt @@ -0,0 +1,481 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile --allow-unsafe --extra=docs --extra=pyqt6 --output-file=requirements/constraints_py3.11_docs.txt --strip-extras requirements/version_denylist.txt setup.cfg +# +alabaster==0.7.16 + # via sphinx +app-model==0.2.4 + # via napari +appdirs==1.4.4 + # via + # PartSeg (setup.cfg) + # napari + # npe2 +asttokens==2.4.1 + # via stack-data +attrs==23.2.0 + # via + # jsonschema + # referencing +autodoc-pydantic==1.9.0 + # via PartSeg (setup.cfg) +babel==2.14.0 + # via sphinx +build==1.0.3 + # via npe2 +cachey==0.2.1 + # via napari +certifi==2023.11.17 + # via + # napari + # requests + # sentry-sdk +charset-normalizer==3.3.2 + # via requests +click==8.1.7 + # via + # dask + # typer +cloudpickle==3.0.0 + # via dask +comm==0.2.1 + # via ipykernel +czifile==2019.7.2 + # via PartSeg (setup.cfg) +dask==2024.1.0 + # via + # dask + # napari +debugpy==1.8.0 + # via ipykernel +decorator==5.1.1 + # via ipython +defusedxml==0.7.1 + # via PartSeg (setup.cfg) +docstring-parser==0.15 + # via magicgui +docutils==0.17.1 + # via + # sphinx + # sphinx-qt-documentation +et-xmlfile==1.1.0 + # via openpyxl +executing==2.0.1 + # via stack-data +fonticon-fontawesome6==6.4.0 + # via PartSeg (setup.cfg) +freetype-py==2.4.0 + # via vispy +fsspec==2023.12.2 + # via dask +h5py==3.10.0 + # via PartSeg (setup.cfg) +heapdict==1.0.1 + # via cachey +hsluv==5.0.4 + # via vispy +idna==3.6 + # via requests +imagecodecs==2024.1.1 + # via PartSeg (setup.cfg) +imageio==2.33.1 + # via + # -r requirements/version_denylist.txt + # PartSeg (setup.cfg) + # napari + # napari-svg + # scikit-image +imagesize==1.4.1 + # via sphinx +importlib-metadata==7.0.1 + # via dask +in-n-out==0.1.9 + # via app-model +ipykernel==6.29.0 + # via + # PartSeg (setup.cfg) + # napari-console + # qtconsole +ipython==8.20.0 + # via + # PartSeg (setup.cfg) + # ipykernel + # napari-console +jedi==0.19.1 + # via ipython +jinja2==3.1.3 + # via + # numpydoc + # sphinx +jsonschema==4.21.1 + # via napari +jsonschema-specifications==2023.12.1 + # via jsonschema +jupyter-client==8.6.0 + # via + # ipykernel + # qtconsole +jupyter-core==5.7.1 + # via + # ipykernel + # jupyter-client + # qtconsole +kiwisolver==1.4.5 + # via vispy +lazy-loader==0.3 + # via + # napari + # scikit-image +local-migrator==0.1.9 + # via + # PartSeg (setup.cfg) + # nme +locket==1.0.0 + # via partd +magicgui==0.8.1 + # via + # PartSeg (setup.cfg) + # napari +mahotas==1.4.13 + # via PartSeg (setup.cfg) +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.4 + # via jinja2 +matplotlib-inline==0.1.6 + # via + # ipykernel + # ipython +mdurl==0.1.2 + # via markdown-it-py +mpmath==1.3.0 + # via sympy +mypy-extensions==1.0.0 + # via psygnal +napari==0.4.18 + # via PartSeg (setup.cfg) +napari-console==0.0.9 + # via napari +napari-plugin-engine==0.2.0 + # via + # napari + # napari-svg +napari-svg==0.1.10 + # via napari +nest-asyncio==1.6.0 + # via ipykernel +networkx==3.2.1 + # via scikit-image +nme==0.1.8 + # via PartSeg (setup.cfg) +npe2==0.7.3 + # via + # -r requirements/version_denylist.txt + # napari +numpy==1.26.3 + # via + # PartSeg (setup.cfg) + # czifile + # dask + # h5py + # imagecodecs + # imageio + # mahotas + # napari + # napari-svg + # oiffile + # pandas + # partsegcore-compiled-backend + # scikit-image + # scipy + # tifffile + # vispy +numpydoc==1.5.0 + # via napari +oiffile==2023.8.30 + # via PartSeg (setup.cfg) +openpyxl==3.1.2 + # via PartSeg (setup.cfg) +packaging==23.2 + # via + # PartSeg (setup.cfg) + # build + # dask + # ipykernel + # local-migrator + # pooch + # qtconsole + # qtpy + # scikit-image + # sphinx + # superqt + # vispy +pandas==2.2.0 + # via + # PartSeg (setup.cfg) + # napari +parso==0.8.3 + # via jedi +partd==1.4.1 + # via dask +partsegcore-compiled-backend==0.15.2 + # via PartSeg (setup.cfg) +partsegdata==0.10.0 + # via PartSeg (setup.cfg) +pexpect==4.9.0 + # via ipython +pillow==10.2.0 + # via + # imageio + # napari + # scikit-image +pint==0.23 + # via napari +platformdirs==4.1.0 + # via + # jupyter-core + # pooch +pooch==1.8.0 + # via scikit-image +prompt-toolkit==3.0.43 + # via ipython +psutil==5.9.8 + # via + # ipykernel + # napari +psygnal==0.9.5 + # via + # PartSeg (setup.cfg) + # app-model + # magicgui + # napari + # npe2 +ptyprocess==0.7.0 + # via pexpect +pure-eval==0.2.2 + # via stack-data +pyconify==0.1.6 + # via superqt +pydantic==1.10.14 + # via + # -r requirements/version_denylist.txt + # PartSeg (setup.cfg) + # app-model + # autodoc-pydantic + # napari + # npe2 + # pydantic-compat +pydantic-compat==0.1.2 + # via app-model +pygments==2.17.2 + # via + # PartSeg (setup.cfg) + # ipython + # napari + # qtconsole + # rich + # sphinx + # superqt +pyopengl==3.1.7 + # via napari +pyproject-hooks==1.0.0 + # via build +pyqt5==5.15.10 + # via -r requirements/version_denylist.txt +pyqt5-qt5==5.15.2 + # via pyqt5 +pyqt5-sip==12.13.0 + # via + # -r requirements/version_denylist.txt + # pyqt5 +pyqt6==6.6.1 + # via PartSeg (setup.cfg) +pyqt6-qt6==6.6.1 + # via pyqt6 +pyqt6-sip==13.6.0 + # via pyqt6 +pyside2==5.13.2 + # via -r requirements/version_denylist.txt +pyside6==6.6.1 ; python_version >= "3.10" + # via -r requirements/version_denylist.txt +pyside6-addons==6.6.1 + # via pyside6 +pyside6-essentials==6.6.1 + # via + # pyside6 + # pyside6-addons +python-dateutil==2.8.2 + # via + # jupyter-client + # pandas +pytz==2023.3.post1 + # via pandas +pyyaml==6.0.1 + # via + # dask + # napari + # npe2 +pyzmq==25.1.2 + # via + # ipykernel + # jupyter-client + # qtconsole +qtawesome==1.3.0 + # via PartSeg (setup.cfg) +qtconsole==5.5.1 + # via + # PartSeg (setup.cfg) + # napari-console +qtpy==2.4.1 + # via + # PartSeg (setup.cfg) + # magicgui + # napari + # napari-console + # qtawesome + # qtconsole + # superqt +referencing==0.32.1 + # via + # jsonschema + # jsonschema-specifications +requests==2.31.0 + # via + # PartSeg (setup.cfg) + # pooch + # pyconify + # sphinx +rich==13.7.0 + # via npe2 +rpds-py==0.17.1 + # via + # jsonschema + # referencing +scikit-image==0.22.0 + # via + # napari + # scikit-image +scipy==1.12.0 + # via + # PartSeg (setup.cfg) + # napari + # scikit-image +sentry-sdk==1.39.2 + # via + # -r requirements/version_denylist.txt + # PartSeg (setup.cfg) +shiboken2==5.13.2 + # via pyside2 +shiboken6==6.6.1 + # via + # pyside6 + # pyside6-addons + # pyside6-essentials +simpleitk==2.3.1 + # via PartSeg (setup.cfg) +six==1.16.0 + # via + # PartSeg (setup.cfg) + # asttokens + # python-dateutil +snowballstemmer==2.2.0 + # via sphinx +sphinx==4.5.0 + # via + # PartSeg (setup.cfg) + # autodoc-pydantic + # napari + # numpydoc + # sphinx-autodoc-typehints + # sphinx-qt-documentation +sphinx-autodoc-typehints==1.19.1 + # via PartSeg (setup.cfg) +sphinx-qt-documentation==0.4.1 + # via PartSeg (setup.cfg) +sphinxcontrib-applehelp==1.0.8 + # via sphinx +sphinxcontrib-devhelp==1.0.6 + # via sphinx +sphinxcontrib-htmlhelp==2.0.5 + # via sphinx +sphinxcontrib-jsmath==1.0.1 + # via sphinx +sphinxcontrib-qthelp==1.0.7 + # via sphinx +sphinxcontrib-serializinghtml==1.1.10 + # via sphinx +stack-data==0.6.3 + # via ipython +superqt==0.6.1 + # via + # PartSeg (setup.cfg) + # magicgui + # napari +sympy==1.12 + # via PartSeg (setup.cfg) +tifffile==2023.12.9 + # via + # PartSeg (setup.cfg) + # czifile + # napari + # oiffile + # scikit-image +tomli-w==1.0.0 + # via npe2 +toolz==0.12.0 + # via + # dask + # napari + # partd +tornado==6.4 + # via + # ipykernel + # jupyter-client +tqdm==4.66.1 + # via napari +traceback-with-variables==2.0.4 + # via PartSeg (setup.cfg) +traitlets==5.14.1 + # via + # comm + # ipykernel + # ipython + # jupyter-client + # jupyter-core + # matplotlib-inline + # qtconsole +typer==0.9.0 + # via npe2 +typing-extensions==4.9.0 + # via + # app-model + # magicgui + # napari + # pint + # psygnal + # pydantic + # superqt + # typer +tzdata==2023.4 + # via pandas +urllib3==2.1.0 + # via + # requests + # sentry-sdk +vispy==0.12.2 + # via + # PartSeg (setup.cfg) + # napari + # napari-svg +wcwidth==0.2.13 + # via prompt-toolkit +wrapt==1.16.0 + # via napari +xlrd==2.0.1 + # via PartSeg (setup.cfg) +xlsxwriter==3.1.9 + # via PartSeg (setup.cfg) +zipp==3.17.0 + # via importlib-metadata From 0bfb44df92bdc2fb7a64250d749ddba1cc79322a Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 16:56:01 +0100 Subject: [PATCH 4/8] downgrade sphinxcontrib-applehelp --- requirements/constraints_py3.11_docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/constraints_py3.11_docs.txt b/requirements/constraints_py3.11_docs.txt index 59422e611..1e7b609b8 100644 --- a/requirements/constraints_py3.11_docs.txt +++ b/requirements/constraints_py3.11_docs.txt @@ -394,7 +394,7 @@ sphinx-autodoc-typehints==1.19.1 # via PartSeg (setup.cfg) sphinx-qt-documentation==0.4.1 # via PartSeg (setup.cfg) -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==1.0.7 # via sphinx sphinxcontrib-devhelp==1.0.6 # via sphinx From 418a59b18caaebc915fd18d7398aeb1a3a681258 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 17:01:09 +0100 Subject: [PATCH 5/8] again resolve sphinxcontrib-applehelp constraints --- requirements/constraints_py3.11_docs.txt | 6 ++++-- requirements/version_denylist.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/requirements/constraints_py3.11_docs.txt b/requirements/constraints_py3.11_docs.txt index 1e7b609b8..75acf41f7 100644 --- a/requirements/constraints_py3.11_docs.txt +++ b/requirements/constraints_py3.11_docs.txt @@ -394,8 +394,10 @@ sphinx-autodoc-typehints==1.19.1 # via PartSeg (setup.cfg) sphinx-qt-documentation==0.4.1 # via PartSeg (setup.cfg) -sphinxcontrib-applehelp==1.0.7 - # via sphinx +sphinxcontrib-applehelp==1.0.4 + # via + # -r requirements/version_denylist.txt + # sphinx sphinxcontrib-devhelp==1.0.6 # via sphinx sphinxcontrib-htmlhelp==2.0.5 diff --git a/requirements/version_denylist.txt b/requirements/version_denylist.txt index 7033d4cb9..8fbab0e14 100644 --- a/requirements/version_denylist.txt +++ b/requirements/version_denylist.txt @@ -8,3 +8,4 @@ npe2!=0.2.2 imageio != 2.22.1 pydantic<2.0 sentry-sdk!=1.29.0 +sphinxcontrib-applehelp!=1.0.8 From 244ee44177a19d7afb0c96b4f0078fa5973ab057 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 17:12:18 +0100 Subject: [PATCH 6/8] pin deps for napari compat --- requirements/constraints_py3.11_docs.txt | 24 ++++++++++++++++-------- requirements/version_denylist.txt | 4 ++++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/requirements/constraints_py3.11_docs.txt b/requirements/constraints_py3.11_docs.txt index 75acf41f7..e82a0063c 100644 --- a/requirements/constraints_py3.11_docs.txt +++ b/requirements/constraints_py3.11_docs.txt @@ -398,16 +398,24 @@ sphinxcontrib-applehelp==1.0.4 # via # -r requirements/version_denylist.txt # sphinx -sphinxcontrib-devhelp==1.0.6 - # via sphinx -sphinxcontrib-htmlhelp==2.0.5 - # via sphinx +sphinxcontrib-devhelp==1.0.2 + # via + # -r requirements/version_denylist.txt + # sphinx +sphinxcontrib-htmlhelp==2.0.1 + # via + # -r requirements/version_denylist.txt + # sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.7 - # via sphinx -sphinxcontrib-serializinghtml==1.1.10 - # via sphinx +sphinxcontrib-qthelp==1.0.3 + # via + # -r requirements/version_denylist.txt + # sphinx +sphinxcontrib-serializinghtml==1.1.5 + # via + # -r requirements/version_denylist.txt + # sphinx stack-data==0.6.3 # via ipython superqt==0.6.1 diff --git a/requirements/version_denylist.txt b/requirements/version_denylist.txt index 8fbab0e14..192861ed7 100644 --- a/requirements/version_denylist.txt +++ b/requirements/version_denylist.txt @@ -9,3 +9,7 @@ imageio != 2.22.1 pydantic<2.0 sentry-sdk!=1.29.0 sphinxcontrib-applehelp!=1.0.8 +sphinxcontrib-devhelp!=1.0.6 +sphinxcontrib-htmlhelp!=2.0.5 +sphinxcontrib-qthelp!=1.0.7 +sphinxcontrib-serializinghtml!=1.1.10 From 554a1625a06870ecba9dc9f08a08f6843e4da9cc Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 17:56:15 +0100 Subject: [PATCH 7/8] remove problematic type annotation --- .../PartSeg/common_gui/universal_gui_part.py | 2 +- requirements/constraints_py3.11_docs.txt | 45 ++++++++----------- requirements/version_denylist.txt | 5 --- tox.ini | 2 +- 4 files changed, 20 insertions(+), 34 deletions(-) diff --git a/package/PartSeg/common_gui/universal_gui_part.py b/package/PartSeg/common_gui/universal_gui_part.py index 3c012db23..4de04142b 100644 --- a/package/PartSeg/common_gui/universal_gui_part.py +++ b/package/PartSeg/common_gui/universal_gui_part.py @@ -83,7 +83,7 @@ class EnumComboBox(QEnumComboBox): For proper showing labels overload the ``__str__`` function of given :py:class:`enum.Enum` """ - def __init__(self, enum: type(EnumType), parent=None): + def __init__(self, enum, parent=None): warnings.warn( "EnumComboBox is deprecated, use superqt.QEnumComboBox instead", category=DeprecationWarning, stacklevel=2 ) diff --git a/requirements/constraints_py3.11_docs.txt b/requirements/constraints_py3.11_docs.txt index e82a0063c..7b6519e7e 100644 --- a/requirements/constraints_py3.11_docs.txt +++ b/requirements/constraints_py3.11_docs.txt @@ -56,7 +56,7 @@ defusedxml==0.7.1 # via PartSeg (setup.cfg) docstring-parser==0.15 # via magicgui -docutils==0.17.1 +docutils==0.20.1 # via # sphinx # sphinx-qt-documentation @@ -154,7 +154,7 @@ mpmath==1.3.0 # via sympy mypy-extensions==1.0.0 # via psygnal -napari==0.4.18 +napari==0.4.19rc3 # via PartSeg (setup.cfg) napari-console==0.0.9 # via napari @@ -192,7 +192,7 @@ numpy==1.26.3 # scipy # tifffile # vispy -numpydoc==1.5.0 +numpydoc==1.6.0 # via napari oiffile==2023.8.30 # via PartSeg (setup.cfg) @@ -382,40 +382,29 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via sphinx -sphinx==4.5.0 +sphinx==7.2.6 # via # PartSeg (setup.cfg) # autodoc-pydantic - # napari # numpydoc # sphinx-autodoc-typehints # sphinx-qt-documentation -sphinx-autodoc-typehints==1.19.1 +sphinx-autodoc-typehints==1.25.2 # via PartSeg (setup.cfg) sphinx-qt-documentation==0.4.1 # via PartSeg (setup.cfg) -sphinxcontrib-applehelp==1.0.4 - # via - # -r requirements/version_denylist.txt - # sphinx -sphinxcontrib-devhelp==1.0.2 - # via - # -r requirements/version_denylist.txt - # sphinx -sphinxcontrib-htmlhelp==2.0.1 - # via - # -r requirements/version_denylist.txt - # sphinx +sphinxcontrib-applehelp==1.0.8 + # via sphinx +sphinxcontrib-devhelp==1.0.6 + # via sphinx +sphinxcontrib-htmlhelp==2.0.5 + # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 - # via - # -r requirements/version_denylist.txt - # sphinx -sphinxcontrib-serializinghtml==1.1.5 - # via - # -r requirements/version_denylist.txt - # sphinx +sphinxcontrib-qthelp==1.0.7 + # via sphinx +sphinxcontrib-serializinghtml==1.1.10 + # via sphinx stack-data==0.6.3 # via ipython superqt==0.6.1 @@ -425,6 +414,8 @@ superqt==0.6.1 # napari sympy==1.12 # via PartSeg (setup.cfg) +tabulate==0.9.0 + # via numpydoc tifffile==2023.12.9 # via # PartSeg (setup.cfg) @@ -474,7 +465,7 @@ urllib3==2.1.0 # via # requests # sentry-sdk -vispy==0.12.2 +vispy==0.14.1 # via # PartSeg (setup.cfg) # napari diff --git a/requirements/version_denylist.txt b/requirements/version_denylist.txt index 192861ed7..7033d4cb9 100644 --- a/requirements/version_denylist.txt +++ b/requirements/version_denylist.txt @@ -8,8 +8,3 @@ npe2!=0.2.2 imageio != 2.22.1 pydantic<2.0 sentry-sdk!=1.29.0 -sphinxcontrib-applehelp!=1.0.8 -sphinxcontrib-devhelp!=1.0.6 -sphinxcontrib-htmlhelp!=2.0.5 -sphinxcontrib-qthelp!=1.0.7 -sphinxcontrib-serializinghtml!=1.1.10 diff --git a/tox.ini b/tox.ini index aa65f5893..8daedc412 100644 --- a/tox.ini +++ b/tox.ini @@ -122,7 +122,7 @@ commands = [testenv:docs] deps = {[testenv]deps} - -rrequirements/constraints_py3.9.txt + -rrequirements/constraints_py3.11_docs.txt allowlist_externals = make tar From abb8901c205a383a4627cab28f78a2559d27dee1 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 22 Jan 2024 18:02:03 +0100 Subject: [PATCH 8/8] bump python to 3.11 in azure pipelines Documentation_check steep --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44c68fdca..eb9d61640 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,7 +74,7 @@ stages: variables: pip_cache_dir: $(Pipeline.Workspace)/.pip steps: - - {task: UsePythonVersion@0, inputs: {versionSpec: '3.9', architecture: x64}} + - {task: UsePythonVersion@0, inputs: {versionSpec: '3.11', architecture: x64}} - template: .azure-pipelines/pip_cache.yaml parameters: key: doc | requirements/constraints_py3.9.txt | "$(PY)"