Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

[ feature request ] a conda-build --test like functionality in boa #326

Closed
harelwa opened this issue Jan 30, 2023 · 2 comments · Fixed by #343
Closed

[ feature request ] a conda-build --test like functionality in boa #326

harelwa opened this issue Jan 30, 2023 · 2 comments · Fixed by #343

Comments

@harelwa
Copy link

harelwa commented Jan 30, 2023

Hi,

conda-build has a --test option used to run tests-only on a prebuilt package:

(base) > $ conda-build --help | grep "\--test"
  -t, --test            Test package (assumes package is already built).

the use case in my case is when building a noarch: python package once and testing it on multiple python versions. for example for python=3.10 i would run --

conad-build --tests path/to/tar.bz2 --extra-deps python=3.10

many thanks,

harel

moqmar added a commit to ZEISS/boa that referenced this issue Mar 20, 2023
@bollwyvl
Copy link

Adding to this, and a --no-test, as a prelude to getting those pre-built packages: it would be useful to be able to confidently build a bunch of packages with complex run/test dependencies (but no build or host dependencies). This is prevented by this discovery of run deps. This is especially handy in CI.

moqmar added a commit to ZEISS/boa that referenced this issue May 5, 2023
moqmar added a commit to ZEISS/boa that referenced this issue May 5, 2023
@moqmar
Copy link
Contributor

moqmar commented May 5, 2023

[Building packages with unsolvable runtime dependencies] is prevented by this discovery of run deps.

This seems like a separate issue to me where run deps are installed even though they're not needed. Just removing that line would mean that it's possible to build non-installable packages, so I think this definitely needs to be a flag.

@wolfv wolfv closed this as completed in #343 May 8, 2023
wolfv pushed a commit that referenced this issue May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants