Skip to content
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

implement --format-json JSON option. It's usefull for post-processing… #12

Merged
merged 2 commits into from
Oct 12, 2018

Conversation

lebouquetin
Copy link

This implementation limit dependencies as json dependency will not be required except if you try to export as JSON. In order to allow this, the import json has been moved to the unique method requiring json : JsonPrettyTable.get_string()

@lebouquetin
Copy link
Author

@raimon49 the CI fails for python 3.3 for an unknown reason - not related to the current MR. I may help if requested, but I really don't know the reason for this failure

@raimon49
Copy link
Owner

@lebouquetin Thanks for the good JSON support.

It fails in Python 3.3, probably because it dropped 3.3 support in pip. pip-licenses will also drop support for Python 3.3 in the near future.

I am planning to merge your patch.

@raimon49 raimon49 mentioned this pull request Oct 12, 2018
5 tasks
@raimon49 raimon49 merged commit 8e0ada8 into raimon49:master Oct 12, 2018
@raimon49
Copy link
Owner

@lebouquetin Released version 1.8.0 with your added option enabled.
https://pypi.org/project/pip-licenses/1.8.0/

Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants