Skip to content

Commit f489115

Browse files
DanMeonclaude
andcommitted
fix: sdist 100 MB 한도 초과로 PyPI 업로드 실패한 문제 수정
변경사항: - pyproject.toml [tool.maturin] exclude 에 **/samples/** 추가 — external/rhwp/samples ≈60 MB 가 sdist 에 포함되어 v0.1.0 업로드 시 400 File too large - Cargo.toml 버전 0.1.0 → 0.1.1 (PATCH bump) - CHANGELOG.md [0.1.1] 섹션 추가 + [0.1.0] Distribution 주석 정정 + [Unreleased]/링크 업데이트 - 로컬 검증: sdist 110 MB → 50 MB Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 242ad34 commit f489115

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.1] — 2026-04-23
11+
12+
Patch release: fixes the sdist packaging so the source distribution stays within PyPI's 100 MB file size limit.
13+
14+
### Fixed
15+
16+
- `maturin sdist` now excludes `external/rhwp/samples/` (≈60 MB of test fixture HWP/HWPX files). The v0.1.0 sdist exceeded PyPI's 100 MB limit and was rejected by PyPI; wheels were unaffected and the `rhwp-python 0.1.0` wheels on PyPI remain functional.
17+
18+
### Changed
19+
20+
- `[tool.maturin] exclude` in `pyproject.toml` adds `**/samples/**` for the sdist format.
21+
1022
## [0.1.0] — 2026-04-22
1123

1224
Initial PyO3 Python bindings for the rhwp Rust HWP/HWPX parser and renderer.
@@ -50,8 +62,9 @@ The `rhwp` Rust core is consumed via git submodule pinned to upstream commit `16
5062

5163
### Distribution
5264

53-
- Local `maturin build --release` wheel (3.0 MB) and `maturin sdist` (1.3 MB, submodule-based vendoring) both verified end-to-end in a clean venv: install → import → `rhwp.parse``HwpLoader` load.
65+
- Local `maturin build --release` wheel (3.0 MB) verified end-to-end in a clean venv: install → import → `rhwp.parse``HwpLoader` load. (Note: the v0.1.0 sdist exceeded PyPI's 100 MB limit and did not upload; fixed in [0.1.1](#011--2026-04-23).)
5466
- GitHub Actions workflow (`publish.yml`) builds Linux (x86_64 + aarch64) / macOS (x86_64 + aarch64) / Windows wheels + sdist on release publish, then uploads via PyPI Trusted Publisher (OIDC).
5567

56-
[Unreleased]: https://github.com/DanMeon/rhwp-python/compare/v0.1.0...HEAD
68+
[Unreleased]: https://github.com/DanMeon/rhwp-python/compare/v0.1.1...HEAD
69+
[0.1.1]: https://github.com/DanMeon/rhwp-python/releases/tag/v0.1.1
5770
[0.1.0]: https://github.com/DanMeon/rhwp-python/releases/tag/v0.1.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rhwp-python"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
# ^ rust-version 미명시 — 상위 rhwp crate 정책(stable Rust, MSRV unclaimed) 준수.
66
# PyO3 0.28 이 Rust 1.83+ 요구하지만, 이는 README 에 문서로 안내

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ exclude = [
8787
{ path = "**/node_modules/**", format = "sdist" },
8888
{ path = "**/__pycache__/**", format = "sdist" },
8989
{ path = "**/target/**", format = "sdist" },
90+
# ^ external/rhwp/samples ≈ 60 MB 테스트 fixture — sdist 에서 제외해 PyPI 100 MB 한도 준수
91+
{ path = "**/samples/**", format = "sdist" },
9092
]
9193

9294
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)