fix: revert back to old requirements file for sphinx docs (#3077)

### Summary

As seen in [this
job](https://github.com/Unstructured-IO/unstructured/actions/runs/9182534479/job/25251583102),
the build job for sphinx docs is failing, and has been failing for quite
some time. This PR reverts the requirements file back to a [previous
good
commit](91b892c79d)
for that job, and also moves the `build.in` file so the requirements
file doesn't get update on `make pip-compile.` This is fine since those
requirements don't get installed as part of the package, and we're
deprecated the `sphinx` docs in favor of https://docs.unstructured.io
anyway.

### Testing

Build was
[successful](https://github.com/Unstructured-IO/unstructured/actions/runs/9198605026/job/25301670934?pr=3077)
on the feature branch.

---------

Co-authored-by: Christine Straub <christinemstraub@gmail.com>
This commit is contained in:
Matt Robinson 2024-05-22 23:32:06 -04:00 committed by GitHub
parent b4ee019170
commit c9976760c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 41 additions and 164 deletions

View File

@ -2,7 +2,7 @@
# unstructured-the-library requirements # unstructured-the-library requirements
-c base.txt -c base.txt
-c ./deps/constraints.txt -c constraints.in
# NOTE(crag): pinning for consistency with CI, compat with below pins # NOTE(crag): pinning for consistency with CI, compat with below pins
sphinx==6.2.1 sphinx==6.2.1
@ -22,4 +22,4 @@ furo==2023.7.26
certifi>=2022.12.07 certifi>=2022.12.07
# NOTE(ronny) - Added to suppress Sphinx warnings # NOTE(ronny) - Added to suppress Sphinx warnings
myst-parser myst-parser

View File

@ -1,26 +1,26 @@
# #
# This file is autogenerated by pip-compile with Python 3.9 # This file is autogenerated by pip-compile with Python 3.8
# by the following command: # by the following command:
# #
# pip-compile ./build.in # pip-compile --output-file=build.txt build.in
# #
alabaster==0.7.16 alabaster==0.7.13
# via sphinx # via sphinx
babel==2.15.0 babel==2.13.1
# via sphinx # via sphinx
beautifulsoup4==4.12.3 beautifulsoup4==4.12.2
# via # via
# -c ./base.txt # -c base.txt
# furo # furo
certifi==2024.2.2 certifi==2023.11.17
# via # via
# -c ././deps/constraints.txt # -c base.txt
# -c ./base.txt # -c constraints.in
# -r ./build.in # -r build.in
# requests # requests
charset-normalizer==3.3.2 charset-normalizer==3.3.2
# via # via
# -c ./base.txt # -c base.txt
# requests # requests
docutils==0.18.1 docutils==0.18.1
# via # via
@ -29,16 +29,16 @@ docutils==0.18.1
# sphinx-rtd-theme # sphinx-rtd-theme
# sphinx-tabs # sphinx-tabs
furo==2023.7.26 furo==2023.7.26
# via -r ./build.in # via -r build.in
idna==3.7 idna==3.6
# via # via
# -c ./base.txt # -c base.txt
# requests # requests
imagesize==1.4.1 imagesize==1.4.1
# via sphinx # via sphinx
importlib-metadata==7.1.0 importlib-metadata==7.0.0
# via sphinx # via sphinx
jinja2==3.1.4 jinja2==3.1.2
# via # via
# myst-parser # myst-parser
# sphinx # sphinx
@ -46,39 +46,40 @@ markdown-it-py==3.0.0
# via # via
# mdit-py-plugins # mdit-py-plugins
# myst-parser # myst-parser
markupsafe==2.1.5 markupsafe==2.1.3
# via jinja2 # via jinja2
mdit-py-plugins==0.4.1 mdit-py-plugins==0.4.0
# via myst-parser # via myst-parser
mdurl==0.1.2 mdurl==0.1.2
# via markdown-it-py # via markdown-it-py
myst-parser==3.0.1 myst-parser==2.0.0
# via -r ./build.in # via -r build.in
packaging==23.2 packaging==23.2
# via # via
# -c ././deps/constraints.txt # -c base.txt
# -c ./base.txt
# sphinx # sphinx
pygments==2.18.0 pygments==2.17.2
# via # via
# furo # furo
# sphinx # sphinx
# sphinx-tabs # sphinx-tabs
pytz==2023.3.post1
# via babel
pyyaml==6.0.1 pyyaml==6.0.1
# via myst-parser # via myst-parser
requests==2.32.2 requests==2.31.0
# via # via
# -c ./base.txt # -c base.txt
# sphinx # sphinx
snowballstemmer==2.2.0 snowballstemmer==2.2.0
# via sphinx # via sphinx
soupsieve==2.5 soupsieve==2.5
# via # via
# -c ./base.txt # -c base.txt
# beautifulsoup4 # beautifulsoup4
sphinx==6.2.1 sphinx==6.2.1
# via # via
# -r ./build.in # -r build.in
# furo # furo
# myst-parser # myst-parser
# sphinx-basic-ng # sphinx-basic-ng
@ -88,20 +89,20 @@ sphinx==6.2.1
sphinx-basic-ng==1.0.0b2 sphinx-basic-ng==1.0.0b2
# via furo # via furo
sphinx-rtd-theme==1.2.2 sphinx-rtd-theme==1.2.2
# via -r ./build.in # via -r build.in
sphinx-tabs==3.4.5 sphinx-tabs==3.4.4
# via -r ./build.in # via -r build.in
sphinxcontrib-applehelp==1.0.4 sphinxcontrib-applehelp==1.0.4
# via # via
# -r ./build.in # -r build.in
# sphinx # sphinx
sphinxcontrib-devhelp==1.0.2 sphinxcontrib-devhelp==1.0.2
# via # via
# -r ./build.in # -r build.in
# sphinx # sphinx
sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-htmlhelp==2.0.1
# via # via
# -r ./build.in # -r build.in
# sphinx # sphinx
sphinxcontrib-jquery==4.1 sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme # via sphinx-rtd-theme
@ -109,16 +110,16 @@ sphinxcontrib-jsmath==1.0.1
# via sphinx # via sphinx
sphinxcontrib-qthelp==1.0.3 sphinxcontrib-qthelp==1.0.3
# via # via
# -r ./build.in # -r build.in
# sphinx # sphinx
sphinxcontrib-serializinghtml==1.1.5 sphinxcontrib-serializinghtml==1.1.5
# via # via
# -r ./build.in # -r build.in
# sphinx # sphinx
urllib3==1.26.18 urllib3==1.26.18
# via # via
# -c ././deps/constraints.txt # -c base.txt
# -c ./base.txt # -c constraints.in
# requests # requests
zipp==3.18.2 zipp==3.17.0
# via importlib-metadata # via importlib-metadata

View File

@ -1,124 +0,0 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile ./build.in
#
alabaster==0.7.16
# via sphinx
babel==2.15.0
# via sphinx
beautifulsoup4==4.12.3
# via
# -c ./base.txt
# furo
certifi==2024.2.2
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# -r ./build.in
# requests
charset-normalizer==3.3.2
# via
# -c ./base.txt
# requests
docutils==0.18.1
# via
# myst-parser
# sphinx
# sphinx-rtd-theme
# sphinx-tabs
furo==2023.7.26
# via -r ./build.in
idna==3.7
# via
# -c ./base.txt
# requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.1.0
# via sphinx
jinja2==3.1.4
# via
# myst-parser
# sphinx
markdown-it-py==3.0.0
# via
# mdit-py-plugins
# myst-parser
markupsafe==2.1.5
# via jinja2
mdit-py-plugins==0.4.1
# via myst-parser
mdurl==0.1.2
# via markdown-it-py
myst-parser==3.0.1
# via -r ./build.in
packaging==23.2
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# sphinx
pygments==2.18.0
# via
# furo
# sphinx
# sphinx-tabs
pyyaml==6.0.1
# via myst-parser
requests==2.32.2
# via
# -c ./base.txt
# sphinx
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
# via
# -c ./base.txt
# beautifulsoup4
sphinx==6.2.1
# via
# -r ./build.in
# furo
# myst-parser
# sphinx-basic-ng
# sphinx-rtd-theme
# sphinx-tabs
# sphinxcontrib-jquery
sphinx-basic-ng==1.0.0b2
# via furo
sphinx-rtd-theme==1.2.2
# via -r ./build.in
sphinx-tabs==3.4.5
# via -r ./build.in
sphinxcontrib-applehelp==1.0.4
# via
# -r ./build.in
# sphinx
sphinxcontrib-devhelp==1.0.2
# via
# -r ./build.in
# sphinx
sphinxcontrib-htmlhelp==2.0.1
# via
# -r ./build.in
# sphinx
sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
# via
# -r ./build.in
# sphinx
sphinxcontrib-serializinghtml==1.1.5
# via
# -r ./build.in
# sphinx
urllib3==1.26.18
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# requests
zipp==3.18.2
# via importlib-metadata