-
Notifications
You must be signed in to change notification settings - Fork 823
Missing license #1127
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
Comments
pywin32 is not licensed under the PSF. It's licensed under the LICENSE files as applicable. |
Go here and type "license": |
Yes, it says PSF but it isn't correct. |
I know that this issue has already been addressed by ghost above, but could we get a more ”official” answer regarding the topic? It is a bit confusing how both https://pypi.org/project/pywin32/ and https://sourceforge.net/projects/pywin32/ list the License of the package as being Python Software Foundation License. Is pywin32 one of those packages that doesn't really have a main license and each module is falls under a different license (according to the License.txt in each of the module folders)? |
The license files in the source tree are the source of truth. These all predate the PSF license existing. My vague intention is to re-license this under the PSF license but that's probably a more formal process than I'm going to find the time for (and me just declaring the PSF license as a fact isn't going to keep lawyers happy, although keeping lawyers happy isn't a motivation!). No one is going to come after anyone for treating this code as though it is PSF licensed. |
It would be very convenient to have LICENSE file and save people time to search through issues. |
^ +1 A good idea would be just to keep the one LICENSE file in the root folder and add the other licenses in the header of every other file they apply to, accordingly. Or, you could just create a README file describing which license applies to which file and list all of the licenses in the root LICENSE file. |
A 👍 also from my side. It is then clearly visible, when placing pywin32
into another project to which licence it belongs to.
|
Still confusing about license. Do you got it on a final license we can use safely like MIT or so? |
There are license files in the repo. I'm sorry it's confusing that there are multiple, but there's no confusion about what the license situation actually is. |
+1 Additionally, a statement could be made in the README that states which license terms apply to all of the files. |
Unfortunately, the whole license issue remains a problem for the wider adoption of pywin32. To the best of my knowledge going through the repo, the different modules/dependencies have different license terms:
So, in order to fulfill all, the license for the overall repo would have to be GPLv3. However, pywin32/isapi has no defined license, so by default is would be considered not open. Could we at least have a definition on the isapi code license? Moreover, the package in PyPI claims to be under the PSF license, but that's incorrect due to the GPLv3 and undefined pieces used. PS: Tagging the other license-related items for ease of access to the discussion - #1681, #1744, #1728. |
To centralize license discussion under a single issue, bringing this over here:
Cross-linking @MKdays's summary here: #1646 (comment) And just to future-proof my part: I don't object to the relicensing of any code that I have contributed to pywin32. |
You can follow REUSE recomendations to facilitate license identification in a future |
PEP 639 – Improving License Clarity with Better Package Metadata, namely License-File (multiple use) may be of interest to pywin32. Setuptools has an initial implementation for it in https://setuptools.pypa.io/en/latest/history.html#v77-0-0 To quote pypa/setuptools#4956 (comment)
Which PEP 770 – Improving measurability of Python packages with Software Bill-of-Materials or similar may be more in a position to handle. Maybe once the dust settles there will be a clearer path for pywin32 to identify its various licenses in a more standard way.
Bit of an off topic discussion, but sometimes I wonder if adodbapi and isapi couldn't be their own distributions (even if it stays here as a monorepo). They're probably still bundled with pywin32 for legacy reasons only. |
The Python License thing is coming from setup.py where the declared license is PSF: Line 2045 in d764900
This adds it to the metadata when publishing to places like pypi |
Following discussions in https://discuss.python.org/t/pep-639-round-3-improving-license-clarity-with-better-package-metadata, the exact meaning of the license meta field is still left vague in the new spec (it is not well specified whether it should be the project's (for contributors), a composite of the source, or a composite of the distribution). So it's up to Mark to use it as he sees fit and he's already answered that (see #1127 (comment)) Comparing the wheel against the source, here's a concrete and actionable list of missing licenses (reading the included licenses, it seems that by missing these in the distribution is actually in violation of said licenses):
Everything else either has their relevant copyright information at the top of files in their readme. Or the associated license file is present. That being said, Additional source-only missing license:
|
On SourceForge, it seems that pywin32 was licensed under the Python Software Foundation license.
Has the license changed from SourceForge, or is it still PSF? If it is indeed still PSF, can we add a LICENSE at the root of the repo similar to the one Python itself has?
The text was updated successfully, but these errors were encountered: