-
Notifications
You must be signed in to change notification settings - Fork 424
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
add info/about.json #941
add info/about.json #941
Conversation
I'm not sure about your simplified file writing. I think it should work - and the Travis tests seem happy enough, but do you know why that was there in the first place? |
I have no idea why the file writing was done so complicated in the first place. |
Current coverage is 10.4%@@ master #941 diff @@
==========================================
Files 41 41
Lines 5287 5292 +5
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 549 549
- Misses 4738 4743 +5
Partials 0 0
|
@@ -218,13 +217,20 @@ def create_info_files(m, files, include_recipe=True): | |||
info_index['depends'] = [' '.join(dist.rsplit('-', 2)) | |||
for dist in dists] | |||
|
|||
# Deal with Python 2 and 3's different json module type reqs | |||
mode_dict = {'mode': 'w', 'encoding': 'utf-8'} if PY3 else {'mode': 'wb'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be important that we keep the encoding: uft-8
part. I'm guessing it was like this to support unicode.
What is the status on this PR? The information in the extra file is needed by Anaconda Cloud. |
I am uneasy about your simplification of file writing. Please remove that from your PR, and I'm happy to merge your info.json file addition. |
This reverts commit 1f2c4d9.
@msarahan, here you go |
thanks |
In this PR, we add
info/about.json
to the conda package, which contains the following keys:There are simply copied from the
about
section inmeta.yaml
(if they exist).This addresses #939