Skip to content

Commit 765989b

Browse files
phx-mpascalepre-commit-ci[bot]Revathyvenugopal162
authored
Update dependencies. (#237)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Revathyvenugopal162 <revathy.venugopal@ansys.com>
1 parent 218d5a4 commit 765989b

File tree

5 files changed

+25
-18
lines changed

5 files changed

+25
-18
lines changed

.github/workflows/ci_cd.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,19 @@ jobs:
104104
runs-on: ubuntu-latest
105105
needs: [doc-style]
106106
steps:
107+
- name: Temporary handle broken package dependencies
108+
shell: bash
109+
run: |
110+
sudo apt-get update
111+
sudo apt-get --fix-broken install -y
112+
sudo apt-get install -y texlive-latex-extra latexmk texlive-fonts-extra
113+
107114
- name: "Run Ansys documentation building action"
108-
uses: ansys/actions/doc-build@v8
115+
uses: ansys/actions/doc-build@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
109116
with:
110117
python-version: ${{ env.MAIN_PYTHON_VERSION }}
111-
dependencies: "texlive-fonts-extra "
118+
skip-install: true
119+
#dependencies: "texlive-fonts-extra"
112120

113121
package:
114122
name: "Package library"

doc/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140

141141
# Configuration for Sphinx autoapi
142142
autoapi_type = "python"
143-
autoapi_dirs = ["../../src/ansys/"]
143+
autoapi_dirs = ["../../src/ansys/modelcenter/workflow"]
144144
autoapi_root = "api"
145145
autoapi_options = [
146146
"members",
@@ -150,7 +150,7 @@
150150
"special-members",
151151
]
152152
autoapi_template_dir = get_autoapi_templates_dir_relative_path(Path(__file__))
153-
suppress_warnings = ["autoapi.python_import_resolution"]
153+
suppress_warnings = ["autoapi.python_import_resolution", "design.fa-build"]
154154
autoapi_python_use_implicit_namespaces = True
155155
autoapi_render_in_single_page = ["class", "enum", "exception"]
156156
autoapi_own_page_level = "class"
@@ -214,4 +214,4 @@
214214
# change the preamble of latex with customized title page
215215
# variables are the title of pdf, watermark
216216
latex_elements = {"preamble": latex.generate_preamble(html_title)}
217-
sd_fontawesome_latex = True
217+
# sd_fontawesome_latex = True

doc/source/contributing/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,22 +108,22 @@ for your operating system:
108108

109109
::
110110

111-
make -C doc/ html && your_browser_name doc/build/html/index.html
111+
make -C doc/ html && your_browser_name doc/_build/html/index.html
112112

113113
.. tab-item:: macOS
114114
:sync: macos
115115

116116
::
117117

118-
make -C doc/ html && your_browser_name doc/build/html/index.html
118+
make -C doc/ html && your_browser_name doc/_build/html/index.html
119119

120120
.. tab-item:: Windows
121121
:sync: windows
122122

123123
::
124124

125125
.\doc\make.bat html
126-
.\doc\build\html\index.html
126+
.\doc\_build\html\index.html
127127

128128
Post issues
129129
-----------

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,23 @@ dependencies = [
4040
[project.optional-dependencies]
4141
doc=[
4242
"ansys-engineeringworkflow-api==0.1.0",
43-
"ansys-sphinx-theme==0.14.0",
44-
"numpydoc==1.6.0",
43+
"ansys-sphinx-theme==1.6.3",
44+
"numpydoc==1.8.0",
4545
"pyansys-tools-variableinterop==0.1.1",
4646
"pytest-sphinx==0.6.3",
47-
"Sphinx==7.2.6",
47+
"Sphinx==8.1.3",
4848
"sphinx-copybutton==0.5.2",
4949
"sphinx-design==0.6.1",
50-
"sphinx-copybutton==0.5.2",
51-
"sphinx-autoapi==3.4.0",
52-
"sphinx-gallery==0.15.0",
53-
"sphinx-notfound-page==1.0.4",
50+
"sphinx-autoapi==3.6.1",
51+
"sphinx-gallery==0.19.0",
52+
"sphinx-notfound-page==1.1.0",
5453
]
5554
tests = [
5655
"ansys-engineeringworkflow-api==0.1.0",
57-
"grpcio==1.59.0",
56+
"grpcio==1.71.2",
5857
"pyansys-tools-variableinterop==0.1.1",
5958
"pytest==8.0.0",
60-
"pytest-cov==4.1.0",
59+
"pytest-cov==6.0.0",
6160
]
6261

6362
[tool.flit.module]

tests/test_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def test_get_channel(setup_function) -> None:
434434
channel = engine.channel
435435

436436
# Assert
437-
assert cast(Any, channel)._channel.target() == b"localhost:12345"
437+
assert cast(Any, channel)._channel.target() == b"dns:///localhost:12345"
438438

439439

440440
def test_heartbeat_method_sends_grpc_calls_until_released(monkeypatch, setup_function) -> None:

0 commit comments

Comments
 (0)