Conda-build: Test against multiple python versions

Created on 10 Dec 2019  路  2Comments  路  Source: conda/conda-build

It would be nice if we could do something like:

conda build --test --python 2.7  /path/to/noarch/foo-1.0.0-py_0.tar.bz2
conda build --test --python 3.7  /path/to/noarch/foo-1.0.0-py_0.tar.bz2

and test a noarch package built with one Python version with another Python version.

See https://github.com/conda-forge/kombu-feedstock/issues/24 for some context.

Pinging @marcelotrevisani here who may be interested in looking into this.

enhancement

Most helpful comment

Or maybe the tests for noarch should test the whole python versions available for that package

All 2 comments

That is interesting indeed! But this is just for those noarch packages right? or do you think "normal" packages will be good to have this feature as well?

I am thinking that we might use a new subsection in tests which we can specify python versions in the recipe which will run the tests for noarch pkgs, or is it too much? haha

Or maybe the tests for noarch should test the whole python versions available for that package

Was this page helpful?
0 / 5 - 0 ratings