-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with conda build, Failed validating 'type' in schema - tried on linux #188
Comments
- "application/x-menuinst": ["*.menuinst"]
+ "application/x-menuinst": "*.menuinst" I think this is the change you need. Maybe this should be a list in general, but for your use case this should work with the current schema. |
Now it show
|
when I remove the osx and windows section also the failure is gone
|
Removing all other OS's it builds now.
|
The validation happens for the whole JSON document. You can have a single JSON for all OSs in your noarch package, or if you prefer it this way, have a per-arch package with a dedicated JSON.
should be a plain dict:
I realized now the docs are out of date. Source of truth for now should be this test file. I'll update the docs. Sorry for the trouble! |
#190 should point to the right examples now. |
this helped, thx. |
#190 is merged, so closing here. Thanks for the report! |
Checklist
What happened?
I setup a menu.json
Using conda build . I am able to build a wheel
Building wheel for mss (setup.py): finished with status 'done'
But with the menu entries something is wrong
also it always shows a Warning
my tests also fail
Conda Info
Conda Config
The text was updated successfully, but these errors were encountered: