Comments (4)
See #159. I'm ok with any valid non-restrictive license.
- What exact SPDX name do you suggest? https://spdx.org/licenses/. We can't reinvent custom ones.
- https://spdx.org/licenses/Python-2.0.html - i don't see any GPL issues by current SPDX name.
Are you sure problem is really with license but not with your validator? Seems you confused license version and python version.
from argparse.
Closing as "no fix required, everything already ok".
from argparse.
Hey, sorry for getting back to this only now. tl;dr Probably fine to leave closed, but SPDX isn't totally accurate.
I've done a bit more research and elaborated at WordPress/gutenberg#28890 (comment) and WordPress/gutenberg#28890 (comment).
I'll quote the relevant bits:
Unlike the
Python-2.0
license at SPDX,argparse
'sLICENSE
file doesn't contain the following part:
- This License Agreement shall be governed by and interpreted in all respects by the law of the State of Virginia, [...]
That part is found in the "CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1)" section. (I'm not even sure if that part is legally binding or just there for historic purposes.) Anyway, I think that that part is what is mentioned by the GNU project's license list as the reason for that license being GPL-incompatible:
This is a free software license but is incompatible with the GNU GPL. The primary incompatibility is that this Python license is governed by the laws of the State of Virginia, in the USA, and the GPL does not permit this.
Anyway,
argparse
'sLICENSE
has the following instead:
- This License Agreement shall be governed by the federal
intellectual property law of the United States, including without
limitation the federal copyright law, and, to the extent such
U.S. federal law does not apply, by the law of the Commonwealth of
Virginia, excluding Virginia's conflict of law provisions. [...]Note that this is identical to what the GNU Project calls the Python-2.0.1 license (which unfortunately isn't an SPDX-listed license), and lists as GPL-compatible
🎉
[Ideally,] SPDX [sh]ould include
Python-2.0.1
, andargparse
would set itspackage.json
'slicense
field to it.
- We might want to file an issue/PR against SPDX' GitHub repo, and follow up on the issue I filed on
argparse
's.- We could then set the
Python-2.0.1
as GPL compatible in our license checker.
For the time being, I was able to unblock our project.
I'll file an issue against SPDX once I find some time (for more legalese PRs).
from argparse.
I'll file an issue against SPDX once I find some time (for more legalese PRs).
Friday night GH issues: spdx/license-list-XML#1200
from argparse.
Related Issues (20)
- add_argument fails to fail when provided with invalid arguments HOT 1
- Implementation of default and required are inconsistent with Python implememtation. HOT 1
- Is there a way to generate a tab completions bash script? HOT 4
- v2 cannot be used with ts-node anymore HOT 2
- How to properly fix "nargs for store actions must be != 0" error? HOT 13
- add_parser with parents results in conflicting option for help HOT 9
- exit_on_error does not work, program still exit. HOT 1
- exit_on_error 'false' flag not respected when error in positional arguments HOT 2
- Node exception: syntax error in argparse.js: "syntax error: unexpected token {" HOT 1
- Question about the license change HOT 6
- License not applicable? HOT 2
- Should the license be Python-2.0 or PSF-2.0? HOT 12
- Using in non-command line app? HOT 1
- How to make a custom Action? HOT 5
- TypeError: _StoreTrueAction() got an unexpected keyword argument 'metavar' HOT 1
- Please add defaultValue usage example HOT 9
- Coming from Commander
- ArgumentParser exits when met with an invalid argument
- npm packages out of sync: argparse and @types/argparse HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argparse.