conda-build doesn't check if a mismatch between the version in the wheel filename and the version of the conda package #5016
Labels
source::anaconda
created by members of Anaconda, Inc.
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
conda-build doesn't raise an error if the version of the package is 0.0.0 (the use case: a missing
setuptools_scm
in thehost
).From build logs, see here:
but the version must be
sqlalchemy-jsonfield 1.0.1.post0
.The problem is not with
0.0.0
, but with a mismatch between the version in the wheel filename and the version of the conda package.I tried to rebuild
airflow
(it relies onsqlalchemy-jsonfield
) and in the test steppip check
says you have an incorrect version of the dependency.If there is one thing we could change, it would be to add a check in
conda-build
to make sure that the version of the package produced when runningpip install .
matches the version of the feedstock recipe.P.S. The issue partially related to #316 but not fully.
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: