FreeCAD / FreeCAD/FreeCAD

Packaging: Pivy Stubgen is not enabled on pixi builds

Open
#31,333 4 comments 0 reactions 0 assignees View on GitHub
3rd party: Coin3D Packaging/building Type: Code Quality
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Area / Workbench affected

None

### Problem description

Pivy uses stubgen to generate .pyi files. This generation is not enabled on pixi CI builds, which also means that release builds don't have them.

### Impact

No .pyi interface files

### Suggested improvement (optional)

_No response_

### References / evidence

https://github.com/FreeCAD/FreeCAD/actions/runs/28652646057/job/84974382269#step:13:472

```
CMake Warning at src/3rdParty/pivy/CMakeLists.txt:194 (message):
stubgen is not available; Pivy .pyi stubs will not be generated
```

### Development version (if relevant)

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start in src/3rdParty/pivy/CMakeLists.txt around the warning at line 194, then inspect the pixi CI build referenced in the issue. Determine why stubgen is unavailable there and verify the pixi CI and release builds produce Pivy .pyi interface files without that warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.