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

Use BSD0 license for code in docs #84064

Closed
toddrjen mannequin opened this issue Mar 7, 2020 · 14 comments
Closed

Use BSD0 license for code in docs #84064

toddrjen mannequin opened this issue Mar 7, 2020 · 14 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@toddrjen
Copy link
Mannequin

toddrjen mannequin commented Mar 7, 2020

BPO 39883
Nosy @gvanrossum, @terryjreedy, @ned-deily, @bbayles, @miss-islington, @toddrjen
PRs
  • bpo-39883: Use BSD0 license for code in docs #17635
  • [3.9] bpo-39883: Use BSD0 license for code in docs (GH-17635) #22073
  • [3.8] bpo-39883: Use BSD0 license for code in docs (GH-17635) #22074
  • bpo-39883: Update macOS installer copy of LICENSE. #22235
  • [3.9] bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) #22236
  • [3.8] bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) #22237
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-09-14.17:58:40.131>
    created_at = <Date 2020-03-07.03:50:57.242>
    labels = ['type-feature', '3.8', '3.9', '3.10', 'docs']
    title = 'Use BSD0 license for code in docs'
    updated_at = <Date 2020-09-14.17:58:40.130>
    user = 'https://github.com/toddrjen'

    bugs.python.org fields:

    activity = <Date 2020-09-14.17:58:40.130>
    actor = 'gvanrossum'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2020-09-14.17:58:40.131>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2020-03-07.03:50:57.242>
    creator = 'toddrjen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39883
    keywords = ['patch']
    message_count = 14.0
    messages = ['363573', '364139', '364276', '364286', '376276', '376287', '376305', '376306', '376307', '376423', '376865', '376866', '376867', '376890']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'ned.deily', 'docs@python', 'bbayles', 'miss-islington', 'toddrjen']
    pr_nums = ['17635', '22073', '22074', '22235', '22236', '22237']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39883'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    @toddrjen
    Copy link
    Mannequin Author

    toddrjen mannequin commented Mar 7, 2020

    Currently using code examples and recipes from the documentation is complicated by the fact that they are all under the Python 2.0 license. Putting them under a more permissive license, particular the BSD0 license, would make them much easier to use in other projects.

    @toddrjen toddrjen mannequin assigned docspython Mar 7, 2020
    @toddrjen toddrjen mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Mar 7, 2020
    @toddrjen toddrjen mannequin assigned docspython Mar 7, 2020
    @toddrjen toddrjen mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Mar 7, 2020
    @terryjreedy
    Copy link
    Member

    What is the complication? The Python license is already rather permissive. Anyway, there is a name@mail.python.org address for trademark issues, listed on the site, and it might be appropriate for license legal questions also. Or this might be a question for discuss.python.org.

    @toddrjen
    Copy link
    Mannequin Author

    toddrjen mannequin commented Mar 16, 2020

    Hi Terry,

    Please take a look at the linked PR. This was already discussed on the python-ideas mailing list and Guido agreed this is a good idea. It is currently waiting on a PSF board decision. Guido requested I create a blurb, and that required a corresponding issue number, so I created this issue.

    But to answer your question, the problem is incorporating code into an existing project. The whole point of examples and recipes is that they be used in other projects. But keeping them under the Python 2.0 license makes this hard, since it requires all the documentation keep that same license. So you can't use, say, an itertools recipe without keeping a separate license for that code, and some way to identify which code falls under that license.

    @terryjreedy
    Copy link
    Member

    OK. I looked at the PR. Normally, issue comes first, with justification and approval status.

    @gvanrossum
    Copy link
    Member

    FWIW the PSF board approved the change.

    @gvanrossum
    Copy link
    Member

    New changeset e223d06 by Todd in branch 'master':
    bpo-39883: Use BSD0 license for code in docs (GH-17635)
    e223d06

    @gvanrossum
    Copy link
    Member

    New changeset a5d0232 by Miss Islington (bot) in branch '3.9':
    bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22073)
    a5d0232

    @gvanrossum
    Copy link
    Member

    New changeset 9fef7c5 by Miss Islington (bot) in branch '3.8':
    bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22074)
    9fef7c5

    @gvanrossum
    Copy link
    Member

    Todd, you have a PR for the pydotorg repo as well, right? Can you link it here?

    @gvanrossum gvanrossum added 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes labels Sep 3, 2020
    @toddrjen
    Copy link
    Mannequin Author

    toddrjen mannequin commented Sep 5, 2020

    The pull request is

    python/python-docs-theme#36

    It doesn't seem to went let me add it to linked pull requests.

    @ned-deily
    Copy link
    Member

    New changeset 7dbbea7 by Ned Deily in branch 'master':
    bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)
    7dbbea7

    @miss-islington
    Copy link
    Contributor

    New changeset 3c618d0 by Miss Islington (bot) in branch '3.8':
    bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)
    3c618d0

    @ned-deily
    Copy link
    Member

    New changeset bf7d4d0 by Miss Islington (bot) in branch '3.9':
    bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) (GH-22236)
    bf7d4d0

    @gvanrossum
    Copy link
    Member

    This looks fully resolved. Thanks again Todd!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    5 participants
    @gvanrossum @ned-deily @terryjreedy @miss-islington and others