-
Notifications
You must be signed in to change notification settings - Fork 17
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
Merge this library into packaging
?
#103
Comments
I think this is mainly up to the |
@FFY00, you are the copyright owner for most of the code, is it okay to relicense the version we contribute to packaging to the packaging license? (Apache and BSD dual license) |
Yeah, that's fine. I should also be able to help with the move to pypa/packaging, but this depends on the maintainers there being willing to accept the code. Do you have any plan regarding this? |
For the record, while @FFY00 is the copyright owner of the initial commit that kick-started this project (commit d01a2c6, "import code from trampolim"), all other code written by @FFY00 is copyright Quansight since it was created during @FFY00's employment at Quansight. So also for the record: on behalf of Quansight I give permission to relicense that code to the dual Apache/BSD license of the |
@rgommers, I forgot this, sorry! |
No worries at all @FFY00! It's unlikely we'll ever need this info, but I thought it'd be good to do things by the book:) |
I've started this at pypa/packaging#846. I've started by just making
Maybe some of the copyright notices need updating? |
And pypa/packaging#847 is where I'm working on the addition. |
The merge with packaging is definitely a good idea. It would be very desirable for projects (like meson-python) that depend on pyproject-metadata and that do not vendor dependencies if a very similar API could be kept with the merge. |
So far, the there are some minor differences, but everything would be easy to adapt to. We get an opportunity to make non-backward compatible changes this once. So far, the differences are:
|
Do you mean in the RFC822 serialization? I suppose the format is case insensitive, but why make this change?
I'm not sure I grok what you mean here. I understand that the API will construct an object with a I would have expected a |
Because it would have to be added back in (
I'll have to look into this. I assumed it was useful to have a class to represent the
No, I don't like that at all! Two reasons: one, I hope that we eventually move to JSON (or anything else, really) and that's easier if we just add an (Though, come to think of it, the old fields might actually be supported by modifying Metadata, since it has all the fields - maybe only one reason then) |
This leaves with the slightly awkward |
Copyright notices in general are impossible to maintain and cannot be relied on, so I don't really mind. But happy to open a PR if you prefer, to update https://github.com/pypa/pyproject-metadata/blob/main/LICENSE. One gotcha is that if you change the first line to two lines like this:
then IIRC the GitHub license detection mechanism chokes and the displayed license in the right sidebar of https://github.com/pypa/pyproject-metadata may change from MIT to Other (not sure if it hasn't been fixed in the meantime). Another alternative is to just use:
Any preference? |
This was already proposed pypa/packaging#647, but I thought I'd also file this here for greater visibility. Merging this library into
a separate module or package within
packaging
(since the code isn't very complex, right now) would ensure a wider availability – especially since many projects already have dependencies onpackaging
. That might also ease the development process. It should be a valuable addition to the currentpackaging
's toolset.The text was updated successfully, but these errors were encountered: