Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyi files are missing from installed package on aarch64, ppc64 and osx-arm64 #268

Open
1 task done
rggjan opened this issue Dec 12, 2022 · 3 comments · Fixed by #271
Open
1 task done

pyi files are missing from installed package on aarch64, ppc64 and osx-arm64 #268

rggjan opened this issue Dec 12, 2022 · 3 comments · Fixed by #271
Labels

Comments

@rggjan
Copy link

rggjan commented Dec 12, 2022

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

pyi files shipped with the pip installed vtk are missing from the conda-forge package:

conda-forge:

❯ find ~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules | grep pyi
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/generate_pyi.py
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/__pycache__/generate_pyi.cpython-39.pyc
(nothing more...)

pip:

❯ find ~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules | grep pyi
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/vtkIOVideo.pyi
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/vtkChartsCore.pyi
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/vtkPythonContext2D.pyi
~/miniconda/envs/vtk_test/lib/python3.9/site-packages/vtkmodules/vtkAcceleratorsVTKmFilters.pyi
...

Installed packages

- vtk                               9.2.2  qt_py39h7c0bfd1_204  conda-forge
@rggjan rggjan added the bug label Dec 12, 2022
@mathstuf
Copy link

-DVTK_BUILD_PYI_FILES=ON is needed.

@Tobias-Fischer Tobias-Fischer changed the title pyi files are missing from installed package pyi files are missing from installed package on aarch64, ppc64 and osx-arm64 Jan 8, 2023
@Tobias-Fischer Tobias-Fischer reopened this Jan 8, 2023
@Tobias-Fischer
Copy link
Contributor

Fixed for native builds in #271 but still does not work for cross-compiled platforms.

@mathstuf
Copy link

mathstuf commented Jan 9, 2023

Yeah, I'm not sure how to get the required information in a cross-compiled environment. Is there a CMAKE_CROSSCOMPILER_EMULATOR set up? If so, we can make that do the work…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants