Skip to content

Build: switch licensing to Apache-2.0 and consolidate build configuration - #14

Merged
daidahao merged 7 commits into
mainfrom
copilot/switch-license-to-apache-2-0
Sep 9, 2026
Merged

daidahao merged 7 commits into
mainfrom
copilot/switch-license-to-apache-2-0

Conversation

Copilot AI commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Switch the repository from the NXAI Community License to Apache-2.0 and align source headers, documentation, and distribution metadata with the new license.

  • Replace LICENSE with Apache-2.0 text and add NOTICE with NXAI attribution.
  • Add Apache-2.0 SPDX identifiers to all 89 source files, preserving existing copyright years, owners, author credits, and third-party notices.
  • Explicitly package LICENSE and NOTICE and declare the setuptools build backend with setuptools>=77.0.3. Remove the deprecated license classifier.
  • Require Python >=3.10 so the advertised Python support is compatible with the build backend.
  • Consolidate packaging configuration in pyproject.toml and remove setup.cfg. Preserve its effective package discovery, CUDA source inclusion, and Source Code URL settings, while retaining the project metadata and dependencies already declared in pyproject.toml.

Validation: git diff --check passes. Built both the source distribution and wheel with setuptools 82.0.1. LICENSE and NOTICE in both archives match the repository files byte-for-byte; both archives declare Requires-Python: >=3.10, and wheel metadata declares License-Expression: Apache-2.0 and both License-File entries. All 75 wheel package files match the pre-migration build byte-for-byte. The SPDX changes were separately verified to preserve original source contents. Existing package-discovery warnings for alternating and util remain; runtime tests were not run for these packaging and comment changes.

Co-authored-by: daidahao <29701960+daidahao@users.noreply.github.com>
Copilot AI changed the title Switch license to Apache-2.0 Switch repository licensing to Apache-2.0 Sep 9, 2026
Copilot AI requested a review from daidahao September 9, 2026 15:12
Co-authored-by: daidahao <29701960+daidahao@users.noreply.github.com>
@daidahao

daidahao commented Sep 9, 2026

Copy link
Copy Markdown
Member

As per the discussion on GitHub NX-AI/tirex-2#1 (comment), we are changing the license to Apache 2.0, so third-party libraries can use TiRex-2 for commercial use.

@superbock If you approve this, we can proceed with merging it and releasing a new version.

@daidahao daidahao changed the title Switch repository licensing to Apache-2.0 License: switch repository licensing to Apache-2.0 Sep 9, 2026
@daidahao
daidahao marked this pull request as ready for review September 9, 2026 15:23
@github-actions

github-actions Bot commented Sep 9, 2026 •

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
✅ (daidahao)[https://github.com/daidahao]
❌ @Copilot
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Co-authored-by: daidahao <29701960+daidahao@users.noreply.github.com>
@daidahao daidahao changed the title License: switch repository licensing to Apache-2.0 Build: switch licensing to Apache-2.0 and consolidate build configuration Sep 9, 2026
@daidahao
daidahao merged commit 5af7e79 into main Sep 9, 2026
1 check failed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 9, 2026
@daidahao
daidahao deleted the copilot/switch-license-to-apache-2-0 branch September 9, 2026 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants