Repository navigation
Add third-party license notices for bundled schemas and graphs util - #1238
Merged
Merged
Conversation
Add W3C short notices to the vendored MathML, XLink and XML schemas, ship the W3C Software and Document License alongside them, and credit the original MIT-licensed sources of the strongly connected components helper. Closes #1220
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1238 +/- ##
=======================================
Coverage 99.97% 99.97%
=======================================
Files 117 117
Lines 9414 9414
Branches 1447 1447
=======================================
Hits 9412 9412
Misses 1 1
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Closes #1220
Changes
mathml3*.xsd(5 files),xlink.xsd,xml.xsd. Each notice gives the source URL, copyright year and changes made.xsdata/schemas/LICENSE.W3C, which lists every W3C-derived file with its source and changes, plus the full W3C Software and Document License text.xsi.xsdis not copied from W3C. It is a minimal schema written for xsdata, and a comment now says so.xsdata/utils/graphs.py: credit the original MIT-licensed sources, ActiveState recipe 578507 (Copyright 2013 Mark Dickinson) and mypy (Jukka Lehtosalo and contributors, Dropbox, Inc.).THIRD_PARTY_LICENSES.mdwith the MIT text, and list it andLICENSE.W3Cinlicense-files, so wheels ship them underdist-info/licenses/. The project license staysMIT.Notes
xml.xsdhas the documentation annotations and the stylesheet instruction removed.soapenc.xsdalready carried its full W3C notice, so it is unchanged.Testing
pytest: all tests pass.dist-info/licenses/containsLICENSE,THIRD_PARTY_LICENSES.mdandxsdata/schemas/LICENSE.W3C.