From fbb3dfb91e529c5e250c9c604797fe50f7470b79 Mon Sep 17 00:00:00 2001 From: Kazuya Takei Date: Wed, 1 May 2024 23:21:03 +0900 Subject: [PATCH] build: Define optional-dependencies for sphinx-extension - Currently, support only Sphinx 7.x - I will add old versions --- pyproject.toml | 5 +++++ requirements-dev.lock | 3 ++- requirements.lock | 43 ++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6172ced..ca2720f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,11 @@ Issues = "https://github.com/attakei-lab/rst-budoux/issues" "rst-budoux2html" = "rst_budoux.cli.html:main" "rst-budoux2pseudoxml" = "rst_budoux.cli.psuedoxml:main" +[project.optional-dependencies] +sphinx = [ + "sphinx==7.*", +] + [build-system] requires = ["hatchling"] build-backend = "hatchling.build" diff --git a/requirements-dev.lock b/requirements-dev.lock index 6541703..a68c023 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -4,7 +4,7 @@ # last locked with the following flags: # pre: false # features: [] -# all-features: false +# all-features: true # with-sources: false -e file:. @@ -66,6 +66,7 @@ snowballstemmer==2.2.0 # via sphinx sphinx==7.3.7 # via esbonio + # via rst-budoux sphinxcontrib-applehelp==1.0.8 # via sphinx sphinxcontrib-devhelp==1.0.6 diff --git a/requirements.lock b/requirements.lock index d0b3689..c592ce4 100644 --- a/requirements.lock +++ b/requirements.lock @@ -4,11 +4,52 @@ # last locked with the following flags: # pre: false # features: [] -# all-features: false +# all-features: true # with-sources: false -e file:. +alabaster==0.7.16 + # via sphinx +babel==2.14.0 + # via sphinx budoux==0.6.2 # via rst-budoux +certifi==2024.2.2 + # via requests +charset-normalizer==3.3.2 + # via requests docutils==0.21.2 # via rst-budoux + # via sphinx +idna==3.7 + # via requests +imagesize==1.4.1 + # via sphinx +jinja2==3.1.3 + # via sphinx +markupsafe==2.1.5 + # via jinja2 +packaging==24.0 + # via sphinx +pygments==2.17.2 + # via sphinx +requests==2.31.0 + # via sphinx +snowballstemmer==2.2.0 + # via sphinx +sphinx==7.3.7 + # via rst-budoux +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 +urllib3==2.2.1 + # via requests