Skip to content

Commit 52a11ec

Browse files
Merge branch 'main' of https://github.com/ansys/pyansys-geometry into feat/sweepable_body_detection
2 parents 2148d77 + 5ef1c7c commit 52a11ec

File tree

9 files changed

+13
-10
lines changed

9 files changed

+13
-10
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ updates:
1313
- "ansys-api-discovery"
1414
- "ansys-platform-instancemanagement"
1515
- "ansys-sphinx-theme"
16-
- "ansys-tools-path"
16+
- "ansys-tools-common"
1717
- "ansys-tools-visualization-interface"
1818
labels:
1919
- "maintenance"

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
persist-credentials: false
2727

2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
29+
uses: github/codeql-action/init@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3030
with:
3131
languages: 'python'
3232
config-file: ./.github/codeql-config.yml
3333

3434
- name: Autobuild
35-
uses: github/codeql-action/autobuild@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
35+
uses: github/codeql-action/autobuild@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
3636

3737
# If the Autobuild fails above, remove it and uncomment the following three lines.
3838
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
@@ -42,6 +42,6 @@ jobs:
4242
# ./location_of_script_within_repo/buildscript.sh
4343

4444
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
45+
uses: github/codeql-action/analyze@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
4646
with:
4747
category: "/language:python"

doc/changelog.d/2372.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adding \`\`py.typed\`\` file
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Migrating to ansys-tools-common
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump github/codeql-action from 4.31.2 to 4.31.3 in the actions group

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727

2828
dependencies = [
2929
"ansys-api-discovery==1.0.6",
30-
"ansys-tools-path>=0.3,<1",
30+
"ansys-tools-common>=0.2,<1",
3131
"beartype>=0.11.0,<0.23",
3232
"geomdl>=5,<6",
3333
"grpcio>=1.35.0,<2",
@@ -97,7 +97,7 @@ tests = [
9797
]
9898
general-all = [
9999
"ansys-platform-instancemanagement==1.1.2",
100-
"ansys-tools-path==0.7.3",
100+
"ansys-tools-common==0.2.1",
101101
"ansys-tools-visualization-interface==0.12.1",
102102
"beartype==0.22.5",
103103
"docker==7.1.0",

src/ansys/geometry/core/connection/product_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import subprocess # nosec B404
3333
from typing import TYPE_CHECKING
3434

35-
from ansys.tools.path import get_available_ansys_installations, get_latest_ansys_installation
35+
from ansys.tools.common.path import get_available_ansys_installations, get_latest_ansys_installation
3636

3737
from ansys.geometry.core.connection.backend import ApiVersions, BackendType
3838
from ansys.geometry.core.logger import LOG

src/ansys/geometry/core/py.typed

Whitespace-only changes.

tests/integration/test_launcher_remote.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import os
2525
from unittest.mock import create_autospec
2626

27-
import ansys.tools.path.path as atpp
27+
import ansys.tools.common.path.path as atcpp
2828
from grpc import insecure_channel
2929
import pytest
3030

@@ -107,8 +107,8 @@ def test_launch_remote_instance_error(monkeypatch):
107107
"""
108108
mock_is_installed = create_autospec(LocalDockerInstance.is_docker_installed, return_value=False)
109109
monkeypatch.setattr(LocalDockerInstance, "is_docker_installed", mock_is_installed)
110-
mock_available_ansys = create_autospec(atpp.get_available_ansys_installations, return_value={})
111-
monkeypatch.setattr(atpp, "get_available_ansys_installations", mock_available_ansys)
110+
mock_available_ansys = create_autospec(atcpp.get_available_ansys_installations, return_value={})
111+
monkeypatch.setattr(atcpp, "get_available_ansys_installations", mock_available_ansys)
112112

113113
with pytest.raises(NotImplementedError, match="Geometry service cannot be initialized."):
114114
launch_modeler()

0 commit comments

Comments
 (0)