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

Permissive licensing? #1649

Open
uellue opened this issue Jun 7, 2024 · 3 comments
Open

Permissive licensing? #1649

uellue opened this issue Jun 7, 2024 · 3 comments
Milestone

Comments

@uellue
Copy link
Member

uellue commented Jun 7, 2024

Discussion with JK Weiss, TESCAN:

If LiberTEM was under a permissive license like MIT, it would allow integration in TESCAN's software. That would be of concrete interest for TESCAN.

Since we have a lot of code contributed by a small number of contributors, and we can probably contact a large percentage of our contributors, re-licensing would be a realistic option.

@uellue uellue added this to the 0.15 milestone Jun 7, 2024
@uellue
Copy link
Member Author

uellue commented Jun 7, 2024

Assigning to the next milestone to make sure we follow up in a timely manner.

@uellue
Copy link
Member Author

uellue commented Jun 7, 2024

    install_requires=[
        "numpy", # 3-Clause BSD
        "scipy>=1.4.1", # 3-Clause BSD
        "sparse", # 3-Clause BSD License
        "distributed>=2.19.0", # 3-Clause BSD License
        "dask!=2023.6.1",  # 3-Clause BSD License
        "click", # 3-Clause BSD License
        "tornado>=5", # Apache 2.0
        "matplotlib", # Matplotlib only uses BSD compatible code, and its license is based on the [PSF](https://docs.python.org/3/license.html) license
        "pillow", # Like PIL, Pillow is licensed under the open source HPND License (permissive)
        "h5py", # 3-Clause BSD License
        "psutil", # 3-Clause BSD License
        # https://github.com/LiberTEM/LiberTEM/issues/763
        # https://github.com/LiberTEM/LiberTEM/issues/783
        "numba>=0.51", # BSD 2-Clause "Simplified" License
        "ncempy>=1.10", # !!! GPL-3
        'pywin32!=226;platform_system=="Windows"', # 3-Clause BSD License
        # FIXME pull request #259
        # https://github.com/LiberTEM/LiberTEM/pull/259#discussion_r251877431
        'scikit-image', # 3-Clause BSD License
        'cloudpickle', # 3-Clause BSD License
        'jsonschema', # MIT License
        'scikit-learn', # 3-Clause BSD License
        'tqdm', # MIT "it's complicated" https://github.com/tqdm/tqdm/blob/master/LICENCE
        'threadpoolctl>=3.0', # 3-Clause BSD License
        'nbformat', # 3-Clause BSD License
        'nbconvert', # 3-Clause BSD License
        'autopep8', # MIT License
        'empyre>=0.3.0', # !!! EMPyRe is licensed under [GPLv3](https://iffgit.fz-juelich.de/empyre/empyre/-/blob/master/LICENSE).
        'defusedxml', # Python Software Foundation License (PSFL)
        'typing-extensions',  # Python Software Foundation License
        'opentelemetry-api', # Apache 2.0
        'tblib', # BSD 2-Clause License
        'tomli', # MIT License
        'sparseconverter>=0.3.3', # MIT License
        'numexpr!=2.8.6',  # MIT License
        'jupyter_ui_poll',  # MIT License
        'ipympl',  # 3-Clause BSD License
    ],
    extras_require={
        # NumPy interfacing issue on Win 11, Python 3.10
        # Likely caused by other packages constraining NumPy version to <1.23
        # FIXME recheck later again
        'torch': 'torch<1.12', # 3-Clause BSD License
        # Typing issue in hdbscan, maybe
        # https://github.com/scikit-learn-contrib/hdbscan/issues/600
        # FIXME check if error in tests\test_fullmatch.py persists in a later
        # hdbscan release
        'hdbscan': [ 
            "hdbscan<=0.8.30;( python_version=='3.11' and platform_system=='Windows')", # 3-Clause BSD License
            "hdbscan;( python_version!='3.11' or platform_system!='Windows')",
        ],
        'cupy': 'cupy', # MIT License
        'bqplot': [
            'bqplot', # MIT License
            'bqplot-image-gl', # MIT License
            'ipython'], # 3-Clause BSD License
        'hdf5plugin': 'hdf5plugin', # MIT License It's complicated https://github.com/silx-kit/hdf5plugin/blob/main/LICENSE
        'tracing': [
            'opentelemetry-distro', # Apache 2.0
            'opentelemetry-exporter-otlp', # Apache 2.0
        ],
    },

empyre and ncempy are GPL, the rest is permissive. Looks feasible!

@uellue
Copy link
Member Author

uellue commented Jun 7, 2024

Discussion with @sk1p: We could use this opportunity to spin out the web GUI and perhaps other parts in separate modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant