You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The metadata["language_info"]["version"] = ... causes merge conflicts when using different python versions. While this has no affect on the workings on the notebook, can we also stripout this attribute?
The text was updated successfully, but these errors were encountered:
I agree that this would be quite useful to have as an option, and it doesn’t seem like removing the version number has any effect. Probably best done through an optional parameter --strip-version.
I'm not super happy hardcoding these values, but assuming the metadata representation is stable it may not be that bad.
For consistency I suggest stripping those by default, unless --keep-version is given.
For the implementation I think it's time to refactor strip_output to take an iterable of (hierarchical) keys to strip so we can do away with the many ifs.
I can't promise when I'll have time to work on this, but contributions are welcome!
The
metadata["language_info"]["version"] = ...
causes merge conflicts when using different python versions. While this has no affect on the workings on the notebook, can we also stripout this attribute?The text was updated successfully, but these errors were encountered: