Skip to content

Commit ea13e44

Browse files
authored
Fix #19: Change the license from MIT to 0BSD (#20)
1 parent e16456b commit ea13e44

File tree

6 files changed

+24
-34
lines changed

6 files changed

+24
-34
lines changed

COPYING

+11-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
The MIT License (MIT)
2-
Copyright Contributors to the pythoncapi_compat project.
1+
BSD Zero Clause License
32

4-
Permission is hereby granted, free of charge, to any person obtaining a
5-
copy of this software and associated documentation files (the
6-
"Software"), to deal in the Software without restriction, including
7-
without limitation the rights to use, copy, modify, merge, publish,
8-
distribute, sublicense, and/or sell copies of the Software, and to
9-
permit persons to whom the Software is furnished to do so, subject to
10-
the following conditions:
3+
Copyright Contributors to the pythoncapi_compat project.
114

12-
The above copyright notice and this permission notice shall be included
13-
in all copies or substantial portions of the Software.
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted.
147

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14+
PERFORMANCE OF THIS SOFTWARE.

README.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ a wide range of Python versions with a single code base. It is made of the
1515
* `Documentation
1616
<https://pythoncapi-compat.readthedocs.io/en/latest/>`_
1717

18-
This project is distributed under the MIT license and is covered by the `PSF
19-
Code of Conduct <https://www.python.org/psf/codeofconduct/>`_.
18+
This project is distributed under the `Zero Clause BSD (0BSD) license
19+
<https://opensource.org/licenses/0BSD>`_ and is covered by the `PSF Code of
20+
Conduct <https://www.python.org/psf/codeofconduct/>`_.

docs/changelog.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
* 2022-02-11: The project license changes from the MIT license to the Zero
5+
Clause BSD (0BSD) license. Projects copying ``pythoncapi_compat.h`` no longer
6+
have to include the MIT license and the copyright notice.
7+
* 2022-02-08: Add documentation.
48
* 2022-02-09: ``pythoncapi_compat.h`` now supports C++ on Python 3.6 and newer:
59
use ``nullptr`` and ``reinterpret_cast<type>`` cast on C++, and use ``NULL``
610
and ``(type)`` cast on C.

docs/index.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ Documentation:
2323
changelog
2424
links
2525

26-
This project is distributed under the MIT license and is covered by the `PSF
27-
Code of Conduct <https://www.python.org/psf/codeofconduct/>`_.
26+
This project is distributed under the `Zero Clause BSD (0BSD) license
27+
<https://opensource.org/licenses/0BSD>`_ and is covered by the `PSF Code of
28+
Conduct <https://www.python.org/psf/codeofconduct/>`_.

docs/users.rst

-8
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,3 @@ Project with a strict contributor agreement:
6060

6161
* `zodbpickle
6262
<https://github.com/zopefoundation/zodbpickle/pull/64>`_
63-
64-
Discussion about the MIT license of the ``pythoncapi_compat.h`` file in the
65-
immutables project:
66-
67-
* issue: `pythoncapi_compat.h is MIT licensed
68-
<https://github.com/MagicStack/immutables/pull/64>`_
69-
* commit: `Clarify the license of the included pythoncapi_compat.h header
70-
<https://github.com/MagicStack/immutables/commit/67c5edfb8284e39ab6a0be9a4644ede306c6e9bd>`_

pythoncapi_compat.h

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Header file providing new functions of the Python C API to old Python
2-
// versions.
1+
// Header file providing new C API functions to old Python versions.
32
//
4-
// File distributed under the MIT license.
3+
// File distributed under the Zero Clause BSD (0BSD) license.
54
// Copyright Contributors to the pythoncapi_compat project.
65
//
76
// Homepage:
@@ -10,7 +9,7 @@
109
// Latest version:
1110
// https://raw.githubusercontent.com/pythoncapi/pythoncapi_compat/master/pythoncapi_compat.h
1211
//
13-
// SPDX-License-Identifier: MIT
12+
// SPDX-License-Identifier: 0BSD
1413

1514
#ifndef PYTHONCAPI_COMPAT
1615
#define PYTHONCAPI_COMPAT

0 commit comments

Comments
 (0)