Skip to content

Release-readiness cleanup for license recognition and package layout#7

Merged
beanapologist merged 4 commits into
mainfrom
copilot/release-readiness-cleanup
Jun 17, 2026
Merged

Release-readiness cleanup for license recognition and package layout#7
beanapologist merged 4 commits into
mainfrom
copilot/release-readiness-cleanup

Conversation

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR tightens release-readiness in two places that were still rough on main: GitHub license detection and package structure. It normalizes the repository to a canonical Apache-2.0 license and moves the core implementation into a proper package without changing the public import path.

  • License normalization

    • Replaced the repository LICENSE contents with the canonical Apache License 2.0 text.
    • Kept packaging metadata aligned with Apache-2.0 so repository and distribution metadata describe the same license.
  • Package layout refactor

    • Moved the core implementation from the repo root into a dedicated package:
      • jump_diffusion_engine/engine.py
      • jump_diffusion_engine/__init__.py
    • Preserved the public API surface by re-exporting JumpDiffusionEngine from the package root.
  • Packaging metadata

    • Updated pyproject.toml from single-module packaging to package discovery.
    • Kept versioning unchanged at 0.1.0.
  • Release-facing docs and metadata

    • Updated README and changelog references that still described the old root-module layout.
    • Kept install/import guidance consistent with GitHub release-based installation and the package refactor.
  • Tests

    • Removed the test-side repo-root import workaround.
    • Added a focused assertion that the public import resolves through the new package layout.

Example import remains unchanged:

from jump_diffusion_engine import JumpDiffusionEngine

Copilot AI changed the title [WIP] Fix license recognition and refactor Python implementation Release-readiness cleanup for license recognition and package layout Jun 17, 2026
Copilot AI requested a review from beanapologist June 17, 2026 07:44
@beanapologist beanapologist marked this pull request as ready for review June 17, 2026 07:46
@beanapologist beanapologist merged commit c0f43b1 into main Jun 17, 2026
4 checks passed
@beanapologist beanapologist deleted the copilot/release-readiness-cleanup branch June 17, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants