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

gh-126022: make license.rst consistent with LICENSE #128516

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

partev
Copy link
Contributor

@partev partev commented Jan 5, 2025

following on @gvanrossum 's advice I made license.rst consistent with LICENSE file.


📚 Documentation preview 📚: https://cpython-previews--128516.org.readthedocs.build/

Copy link
Contributor

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions.

Doc/license.rst Show resolved Hide resolved
Doc/license.rst Show resolved Hide resolved
sponsoring member of the PSF.

All Python releases are Open Source (see https://opensource.org/ for the Open
All Python releases are Open Source (see https://opensource.org for the Open
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
All Python releases are Open Source (see https://opensource.org for the Open
All Python releases are Open Source (see https://opensource.org/osd/ for the Open

Maybe linking the page directly would be a good idea.

Copy link
Contributor Author

@partev partev Jan 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these suggestions make sense but they would make license.rst deviate from LICENSE again. @gvanrossum do you have any advice here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would strongly vote for keeping the exact text of LICENSE here, no matter how strong your urge to improve upon the language or the URLs. (With the exception of dead URLs, where we can substitute archive.org URLs if they exist.)

Ideally even the line breaks are in the same place -- that way you should be able to diff the two files and get a sense of any accidental deviations (ignoring markup and leading/trailing stuff).

My goal is that in the future changes to LICENSE are always matched with 100% equivalent changes to Doc/license.rst.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the feedback @gvanrossum-ms . Please let us know if you are ok with the original pull request (without the suggestions) which tries to match the exact text of LICENSE as closely as possible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Sorry, I accidentally posted using my alter ego as Microsoft employee. :-)

Your changes are improvements, but don't completely make license.rst the same as LICENSE. Using diff -u LICENSE Doc/license.rst I found at least one other difference: in one place it has "PSF License Agreement" where LICENSE has "PSF License Version 2". Check for yourself to see if there are other significant differences. There are also differences in the top-level heading ("HISTORY OF THE SOFTWARE" vs. "History and License") -- though it's debatable if that could be intentional. @hugovk might have an opinion?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a visual diff:

image

Headings

LICENSE begins "A. HISTORY OF THE SOFTWARE", license.rst begins "History and License" but then has a "History of the software" subheading, so that's okay.

Other changes (ignoring rewraps)

LICENSE has "which became Zope Corporation" and "was a sponsoring member", which matches the changes here to license.rst. Also good.

Rewraps and trailing slash in URLs: we could make license.rst match LICENSE, just so that the diffs are as close as possible, but I'm not too bothered.

1.6.1 in the table

There's a notable difference in the table:

image

LICENSE says 1.6.1 is GPL-compatible, with an extra footnote. This was added in 2002:

7df772b

And license.rst and the the docs were imported to this repo in 2007, but still saying 1.6.1 was not GPL-compatible:

116aa62#diff-431512c443051474cee831c669b5be81ebff617ca22a8aacea8a880dc5a0c008R45

So we should probably add this note to the rst as well.

PSF License Version 2

LICENSE changed in 2004 from being a licence for a specific Python version (2.4 at the time) to being Version 2:

acaffe6

This commit also explains there were no other changes to the licence.

When license.rst was imported with the docs in 2007, it still referred to the Python version: the |release| part is substituted for the actual version in each release. For example, https://docs.python.org/3/license.html has lots of mentions of 3.13.1.

So I think we should also update license.rst to refer to Version 2.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS I'll note the parent issue for this PR is about the stale Zope Corporation link: #126022

@partev We can either expand the issue to also update the table and licence, or open a new issue for those if you'd prefer to keep this PR smaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

5 participants