Skip to content

Commit

Permalink
try to depend on libgl at test time only
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk authored Aug 28, 2024
1 parent b4e1ca5 commit c0f32ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions recipes/ocpsvg/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ test:
- pytest -v tests/
requires:
- pytest
# The libgl dependency for the test section can likely be removed when
# the following https://github.com/conda-forge/ocp-feedstock/pull/50
# gets merged in the ocp feedstock
# this helps avoid a yum dependency
# either with the yum dependency or with this, the end user is assumed
# to have X11 system dependencies installed
# this helps the user avoid to have a direct dependency on libgl
# from this package (it will be transitive from OCP once the PR gets merged)
- libgl # [linux]

about:
license: Apache-2.0
Expand Down

0 comments on commit c0f32ac

Please sign in to comment.