From 71e89445fac5583d7ff3bd0474fb807000749ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Morais?= Date: Tue, 26 Aug 2025 14:15:17 +0200 Subject: [PATCH 1/2] build: install comtypes only for windows --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 275b84e82..3ecd5f4b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies=[ "ansys-api-speos==0.15.2", "ansys-tools-path>=0.3.1", "numpy>=1.20.3,<3", - "comtypes>=1.4,<1.5", + "comtypes>=1.4,<1.5; platform_system=='Windows'", ] [project.optional-dependencies] From 4510ab64eb5334147c4284ed5a8c606c415a2fb1 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Tue, 26 Aug 2025 12:24:09 +0000 Subject: [PATCH 2/2] chore: adding changelog file 704.dependencies.md [dependabot-skip] --- doc/changelog.d/704.dependencies.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/704.dependencies.md diff --git a/doc/changelog.d/704.dependencies.md b/doc/changelog.d/704.dependencies.md new file mode 100644 index 000000000..e191c7490 --- /dev/null +++ b/doc/changelog.d/704.dependencies.md @@ -0,0 +1 @@ +Install comtypes only for windows \ No newline at end of file