Skip to content

Commit

Permalink
Updated Sphinx to 7.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-joshi committed Feb 18, 2025
1 parent 35d6277 commit 84a5467
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 23 deletions.
3 changes: 1 addition & 2 deletions pkg/mac/build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ _build_docs() {
source "${BUILD_ROOT}/venv/bin/activate"
pip3 install --upgrade pip
pip3 install -r "${SOURCE_DIR}/requirements.txt"
# Due to issue https://github.com/sphinx-doc/sphinx/issues/11739, we have pinned the Sphinx version to 6.1.3.
pip3 install sphinx==6.1.3
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube

cd "${SOURCE_DIR}" || exit
Expand Down
9 changes: 3 additions & 6 deletions pkg/redhat/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,15 @@ yum groupinstall -y "Development Tools"

if [ "${OS_VERSION}" == "8" ]; then
yum install -y expect fakeroot postgresql15-devel python3.9-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
# Due to issue https://github.com/sphinx-doc/sphinx/issues/11739, we have pinned the Sphinx version to 6.1.3.
pip3.9 install sphinx==6.1.3
pip3.9 install sphinx==7.4.7
pip3.9 install sphinxcontrib-youtube
elif [ "${OS_VERSION}" == "9" ]; then
yum install -y expect libpq5-devel postgresql15-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
# Due to issue https://github.com/sphinx-doc/sphinx/issues/11739, we have pinned the Sphinx version to 6.1.3.
pip3 install sphinx==6.1.3
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube
else
yum install -y expect fakeroot postgresql15-devel python3-devel nodejs yarn rpm-build rpm-sign yum-utils krb5-devel
# Due to issue https://github.com/sphinx-doc/sphinx/issues/11739, we have pinned the Sphinx version to 6.1.3.
pip3 install sphinx==6.1.3
pip3 install sphinx==7.4.7
pip3 install sphinxcontrib-youtube
fi

Expand Down
3 changes: 1 addition & 2 deletions tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
requests>=2.21.0
requests[security]>=2.21.0
safety>=1.9.0
# Due to issue https://github.com/sphinx-doc/sphinx/issues/11739, we have pinned the Sphinx version to 6.1.3.
Sphinx==6.1.3
Sphinx==7.4.7
sphinxcontrib-youtube==1.4.1
4 changes: 2 additions & 2 deletions tools/setup-python-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pip install --upgrade pip
if [ ${TEST} -eq 1 ];
then
echo Installing requirements for running Python tests...
pip install --no-cache-dir wheel sphinx==6.1.3 sphinxcontrib-youtube -r web/regression/requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
pip install --no-cache-dir wheel sphinx==7.4.7 sphinxcontrib-youtube -r web/regression/requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
else
echo Installing requirements for executing and building only...
pip install --no-cache-dir wheel sphinx==6.1.3 sphinxcontrib-youtube -r requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
pip install --no-cache-dir wheel sphinx==7.4.7 sphinxcontrib-youtube -r requirements.txt || { echo 'ERROR: Failed to install Python requirements.' ; exit 1; }
fi
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@projectstorm/react-diagrams": "^7.0.4",
"@simonwep/pickr": "^1.5.1",
"@szhsin/react-menu": "^4.2.2",
"@tanstack/react-query": "5.66.3",
"@tanstack/react-query": "5.66.4",
"@tanstack/react-table": "^8.16.0",
"@tanstack/react-virtual": "^3.12.0",
"@types/classnames": "^2.3.4",
Expand Down
20 changes: 10 additions & 10 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3043,21 +3043,21 @@ __metadata:
languageName: node
linkType: hard

"@tanstack/query-core@npm:5.66.3":
version: 5.66.3
resolution: "@tanstack/query-core@npm:5.66.3"
checksum: 19187925b6ac58893557f00ed4d6deef1cb88b1cf6bfa5736214d2244cd97a05afbd6e6cb6b4272dab39401d86f27206b0040e609ef1e47ada84467768b74598
"@tanstack/query-core@npm:5.66.4":
version: 5.66.4
resolution: "@tanstack/query-core@npm:5.66.4"
checksum: 947d89e844e46d8a13f2ba412227f534ab2d3c7a2f8c09ea3f00b5962ad0eadef94eeec67f61269990a0db23ce13d89df8f62de8bf98976ebda51e014ecbf811
languageName: node
linkType: hard

"@tanstack/react-query@npm:5.66.3":
version: 5.66.3
resolution: "@tanstack/react-query@npm:5.66.3"
"@tanstack/react-query@npm:5.66.4":
version: 5.66.4
resolution: "@tanstack/react-query@npm:5.66.4"
dependencies:
"@tanstack/query-core": 5.66.3
"@tanstack/query-core": 5.66.4
peerDependencies:
react: ^18 || ^19
checksum: a00fa538c739aa796ec099dde9ead0037d3dfbd23bf0aa22cd54388ad74147eb174eb7f125484f0a27c122df49c50c3b16d747c0c832ea255787e884b02ce36b
checksum: aba76168b4ff8da02c78057b8e046723b0f60648f5bb854943a99cf07c3e98ef445f30d9a9c9f56bc018cb002109b221f9d8a80055f3463f4de0af2a589f3e0b
languageName: node
linkType: hard

Expand Down Expand Up @@ -13640,7 +13640,7 @@ __metadata:
"@simonwep/pickr": ^1.5.1
"@svgr/webpack": ^8.1.0
"@szhsin/react-menu": ^4.2.2
"@tanstack/react-query": 5.66.3
"@tanstack/react-query": 5.66.4
"@tanstack/react-table": ^8.16.0
"@tanstack/react-virtual": ^3.12.0
"@testing-library/dom": 10.4.0
Expand Down

0 comments on commit 84a5467

Please sign in to comment.