ansys / ansys/pymechanical

`test_app_poster` hangs in Python 3.10-3.13

Open
#1,160 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
83
Forks
37
Avg merge
1d 3m
Merged PRs (30d)
26

Description

### 🔍 Before submitting the issue

- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment

### 🐞 Description of the bug

`test_app_poster` hangs for Python 3.10-3.13 in the workflow

```
tests/embedding/test_app.py::test_app_poster
10.084275418000004 starting test test_app_poster - file new
10.228500386999997 change_name_async
```

### 📝 Steps to reproduce

Run `ci_cd.yml` in the Actions tab on main with 251. The embedding tests and coverage jobs hang using `ubuntu-latest` and `public-ubuntu-latest-8-cores`

### 💻 Which operating system are you using?

Linux

### 📀 Which ANSYS version are you using?

251

### 🐍 Which Python version are you using?

3.10

### 📦 Installed packages

```shell
N/A
```

Contributor guide

Open the contributing guide

Research direction

Start with tests/embedding/test_app.py::test_app_poster and reproduce the hang by running ci_cd.yml on main with ANSYS 251 under the reported Python versions and Ubuntu runners. Use the logged transition through “change_name_async” to narrow the failure. Done means the test no longer hangs and the embedding tests and coverage jobs complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.