From ab5d4e513c7f9d388fdadd218ad6abb9a8b061c5 Mon Sep 17 00:00:00 2001 From: Erik Heeren Date: Mon, 5 Feb 2024 17:26:14 +0100 Subject: [PATCH] pin packaging to keep LegacyVersion support (#2706) * readthedocs: update config * pin packaging==21.3 - 22.0 dropped LegacyVersion: https://github.com/pypa/packaging/pull/407 - This makes it so our branches can no longer be parsed as versions --- docs/conda_environment.yml | 1 + docs/docs_requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/conda_environment.yml b/docs/conda_environment.yml index f22bf80040..d13bdc8775 100644 --- a/docs/conda_environment.yml +++ b/docs/conda_environment.yml @@ -3,6 +3,7 @@ channels: - conda-forge - defaults dependencies: + - packaging=21.3 - python=3.11 - bison - cmake diff --git a/docs/docs_requirements.txt b/docs/docs_requirements.txt index b6639c9680..7a4ea6dd3f 100644 --- a/docs/docs_requirements.txt +++ b/docs/docs_requirements.txt @@ -15,3 +15,4 @@ plotly nbsphinx jinja2 sphinx-design +packaging==21.3