Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,19 @@ jobs:
runs-on: ubuntu-latest
needs: [doc-style]
steps:
- name: Temporary handle broken package dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get --fix-broken install -y
sudo apt-get install -y texlive-latex-extra latexmk texlive-fonts-extra

- name: "Run Ansys documentation building action"
uses: ansys/actions/doc-build@v8
uses: ansys/actions/doc-build@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
dependencies: "texlive-fonts-extra "
skip-install: true
#dependencies: "texlive-fonts-extra"

package:
name: "Package library"
Expand Down
6 changes: 3 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

# Configuration for Sphinx autoapi
autoapi_type = "python"
autoapi_dirs = ["../../src/ansys/"]
autoapi_dirs = ["../../src/ansys/modelcenter/workflow"]
autoapi_root = "api"
autoapi_options = [
"members",
Expand All @@ -150,7 +150,7 @@
"special-members",
]
autoapi_template_dir = get_autoapi_templates_dir_relative_path(Path(__file__))
suppress_warnings = ["autoapi.python_import_resolution"]
suppress_warnings = ["autoapi.python_import_resolution", "design.fa-build"]
autoapi_python_use_implicit_namespaces = True
autoapi_render_in_single_page = ["class", "enum", "exception"]
autoapi_own_page_level = "class"
Expand Down Expand Up @@ -214,4 +214,4 @@
# change the preamble of latex with customized title page
# variables are the title of pdf, watermark
latex_elements = {"preamble": latex.generate_preamble(html_title)}
sd_fontawesome_latex = True
# sd_fontawesome_latex = True
6 changes: 3 additions & 3 deletions doc/source/contributing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,22 @@ for your operating system:

::

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

.. tab-item:: macOS
:sync: macos

::

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

.. tab-item:: Windows
:sync: windows

::

.\doc\make.bat html
.\doc\build\html\index.html
.\doc\_build\html\index.html

Post issues
-----------
Expand Down
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,23 @@ dependencies = [
[project.optional-dependencies]
doc=[
"ansys-engineeringworkflow-api==0.1.0",
"ansys-sphinx-theme==0.14.0",
"numpydoc==1.6.0",
"ansys-sphinx-theme==1.6.3",
"numpydoc==1.8.0",
"pyansys-tools-variableinterop==0.1.1",
"pytest-sphinx==0.6.3",
"Sphinx==7.2.6",
"Sphinx==8.1.3",
"sphinx-copybutton==0.5.2",
"sphinx-design==0.6.1",
"sphinx-copybutton==0.5.2",
"sphinx-autoapi==3.4.0",
"sphinx-gallery==0.15.0",
"sphinx-notfound-page==1.0.4",
"sphinx-autoapi==3.6.1",
"sphinx-gallery==0.19.0",
"sphinx-notfound-page==1.1.0",
]
tests = [
"ansys-engineeringworkflow-api==0.1.0",
"grpcio==1.59.0",
"grpcio==1.71.2",
"pyansys-tools-variableinterop==0.1.1",
"pytest==8.0.0",
"pytest-cov==4.1.0",
"pytest-cov==6.0.0",
]

[tool.flit.module]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def test_get_channel(setup_function) -> None:
channel = engine.channel

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


def test_heartbeat_method_sends_grpc_calls_until_released(monkeypatch, setup_function) -> None:
Expand Down