Open duncanmmacleod opened 6 years ago
ValueError: zip field python (('3.6', '3.5')) length does not match zip field vc (('14', '9', '14')) length. All zip fields within a group must be the same length.
Check your conda_build_config.yaml
b/c it looks like it is trying to match 2 Python versions to 3 corresponding vc
s, you need 1-1 there.
@ocefpaf, my conda_build_config.yaml
is exactly as provided by conda-forge-pinning
:
...
python:
- 2.7
- 3.5
- 3.6
- 3.7 # [(environ.get('CF_MAX_PY_VER', '') >= '37')]
...
vc: # [win]
- 9 # [win]
- 14 # [win]
- 14 # [win]
- 14 # [win and (environ.get('CF_MAX_PY_VER', '') >= '37')]
...
looks OK to me :-/
We need to check if there is a local file overriding that. Can you take a look at what you have in the directory .ci_support
?
@ocefpaf, the .ci_support
directory is here:
https://github.com/duncanmmacleod/nds2-client-swig-feedstock/tree/windows-test/.ci_support
It contains files only for osx and linux.
This is a bug in conda-build I've run into before. Try changing the line at https://github.com/duncanmmacleod/nds2-client-swig-feedstock/blob/windows-test/recipe/meta.yaml#L16 to #[win and py<35]
Thanks @isuruf! I was lost here but now I actually remember I saw that before.
Sorry @duncanmmacleod for the faulty memory :smile:
@ocefpaf, @isuruf, unfortunately that doesn't fix my problem, I now get a similar but subtly different error message:
ValueError: zip field python (('3.5', '3.6')) length does not match zip field c_compiler (('vs2015', 'vs2015', 'vs2008')) length. All zip fields within a group must be the same length.
Can this ticket be reopened?
Can you try ?
skip: True # [win and vc<14]
skip: True # [win and py<35]
@isuruf, back to the first error:
ValueError: zip field python (('3.6', '3.5')) length does not match zip field vc (('14', '9', '14')) length. All zip fields within a group must be the same length.
Can this ticket be reopened, since my issue has not been identified/resolved?
I am seeing the following error when trying to run
conda smithy rerender
after enabling windows builds for a project:The project branch is here: https://github.com/duncanmmacleod/nds2-client-swig-feedstock/tree/windows-test - I rerendered once, then added the windows files, and tried to rerender again and got the above error.
My default assumption is user error, so please correct me if so, otherwise any help in debugging/workaround is greatly appreciated.