← 输入框|github.com|刷新
Skip to content

Include unit tests in the source distribution - #237

Open
gibkim wants to merge 1 commit into
aws:mainfrom
gibkim:fix/include-sdist-unit-tests
Open

gibkim wants to merge 1 commit into
aws:mainfrom
gibkim:fix/include-sdist-unit-tests

Conversation

@gibkim

@gibkim gibkim commented Nov 25, 2026

Copy link
Copy Markdown

Issue #, if available:

Fixes #116.

Description of changes:

The source distribution currently omits the tests, so downstream packagers cannot test a build from the release archive. Include the Python unit tests, their fixtures, and the development requirements in the source distribution. The Docker integration fixtures stay in the repository.

Built both source distributions with Python 3.12. The original archive had no test directory. From the updated archive, 153 tests passed with 95.94% coverage. The header tests are included and require a Linux native build to run. Verified that a wheel built from the updated archive still excludes tests and development requirements.

Prepared with OpenAI Codex assistance.

Target (OCI, Managed Runtime, both):

Both. Source packaging only.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This branch has not been deployed

No deployments
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.

Tests should be included in source distribution

2 participants