conda-smithy: Removing `=` pins as hinted breaks grpc recipe
The = pins in
- name: grpcio-tools
[..]
requirements:
build:
- python # [build_platform != target_platform]
- cython # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- {{ stdlib('c') }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- grpcio ={{ version }}=*_{{ PKG_BUILDNUM }}
- python
- cython
- pip
- setuptools
run:
- grpcio ={{ version }}=*_{{ PKG_BUILDNUM }}
- python
- protobuf
- setuptools
cause the following linter warning (original formatting, which seems broken too)
In section host: `grpcio =1.68.2=*_PKG_BUILDNUM
In section run:
grpcio =1.68.2=*_PKG_BUILDNUM Requirements spec fields should always be space-separated to avoid known issues in conda-build. For example, instead ofname =version=build, usename version build`.
However, actually removing the pins breaks the build as follows (logs)
conda_build.exceptions.RecipeError: Mismatching hashes in recipe. Exact pins in dependencies that contribute to the hash often cause this. Can you change one or more exact pins to version bound constraints?
Involved packages were:
Mismatching package: grpcio (id py313h1474e93_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py313h1474e93_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py310h56e06c5_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py310h56e06c5_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py39hd7d1cbf_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py39hd7d1cbf_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py311h9789449_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py311h9789449_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py312hacea422_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
Mismatching package: grpcio (id py312hacea422_0); dep: grpcio 1.68.2 *_0; consumer package: grpcio-tools
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (15 by maintainers)
Let’s keep this one open until we verify that things work as intended in CB 25.3.
Should be in 25.3!