Closed basnijholt closed 1 year ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin, please rerender
@conda-forge-admin, please rerender
Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/vtk-feedstock/actions/runs/4672833997.
Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found some lint.
Here's what I've got...
For recipe:
<two spaces>#<one space>[<expression>]
form. See lines [75]Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
The alternative that i didn't mention before. Is to add an ignore run export on ffmpeg.
If enough maintainers agree, this would be a "simple" path to achieving what you need in this particular case.
You could also add a constraint to ensure that if ffmpeg gets installed, the appropriate version will be required.
@hmaarrfk, thanks for the suggestion! I will try to go with your previous suggestion now, I believe I am almost there.
Would you perhaps know why the final test in the combined vtk
package is failing with:
2023-04-12T06:57:48.7545620Z export PREFIX=/home/conda/feedstock_root/build_artifacts/vtk_1681277907995/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl
2023-04-12T06:57:48.7546443Z export SRC_DIR=/home/conda/feedstock_root/build_artifacts/vtk_1681277907995/test_tmp
2023-04-12T06:57:49.6254400Z ===== testing package: vtk-9.2.6-egl_py310h1234567_3 =====
2023-04-12T06:57:49.6255359Z Traceback (most recent call last):
2023-04-12T06:57:49.6255687Z File "/home/conda/feedstock_root/build_artifacts/vtk_1681277907995/test_tmp/run_test.py", line 5, in <module>
2023-04-12T06:57:49.6255996Z import pkg_resources
2023-04-12T06:57:49.6256325Z ModuleNotFoundError: No module named 'pkg_resources'
2023-04-12T06:57:49.6271919Z running run_test.py
2023-04-12T06:57:50.7695255Z Tests failed for vtk-9.2.6-egl_py310h1234567_3.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
2023-04-12T06:57:50.7696870Z WARNING:conda_build.build:Tests failed for vtk-9.2.6-egl_py310h1234567_3.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
2023-04-12T06:57:50.7950733Z TESTS FAILED: vtk-9.2.6-egl_py310h1234567_3.conda
2023-04-12T06:57:57.0057810Z ##[error]Bash exited with code '1'.
2023-04-12T06:57:57.0126083Z ##[section]Finishing: Run docker build
setuptools
is in the test requirements.
@conda-forge/vtk, can someone please take a look here and review? 🙏
BTW: all builds are succeeding, I just did an interactive rebase to clean up the commits a bit.
@hmaarrfk, thanks a lot for your help!
@Tobias-Fischer, thanks for reviewing!
@jgukelberger, this is finally merged :tada:
In this PR, I am working to modularize VTK by creating two separate packages:
vtk-base
andvtk-io-ffmpeg
.This allows to still install VTK in places where FFMPEG cannot be installed due to patent conflicts.
The proposed changes include the following steps:
$PREFIX
).vtk-base
package, which contains VTK without the ffmpeg-related libraries.vtk-io-ffmpeg
package by adding the previously moved ffmpeg-related files.vtk
package that depends on bothvtk-base
andvtk-io-ffmpeg
.If this works, it will supersede https://github.com/conda-forge/vtk-feedstock/pull/282.
This is based on work by @hmaarrfk (https://github.com/conda-forge/vtk-feedstock/pull/286), https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9987, and suggestions made in #282.
Also the Windows builds on
main
report:and FFMPEG is not linked in the Windows build scripts, so I removed the dependency on FFMPEG on Windows.
References:
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)