From d52fc906154b84a372bad97bb308607cf409128d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Karakaya?= Date: Tue, 8 Sep 2026 21:47:43 +0300 Subject: [PATCH] fix: publish complete battery package --- .github/workflows/ci-cd.yml | 4 ++++ pythrust/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 667ef597..42ebc293 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -57,5 +57,9 @@ jobs: run: | python -m build + - name: Verify wheel package contents + run: | + python -c 'import pathlib, zipfile; wheel = next(pathlib.Path("dist").glob("*.whl")); names = zipfile.ZipFile(wheel).namelist(); assert any(name.startswith("pythrust/battery/") and name.endswith(".py") for name in names), "pythrust.battery package missing from wheel"' + - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pythrust/__init__.py b/pythrust/__init__.py index fc52ca4c..df3f7851 100644 --- a/pythrust/__init__.py +++ b/pythrust/__init__.py @@ -2,7 +2,7 @@ from pathlib import Path -__version__ = "0.2.2" +__version__ = "0.2.3" def dataset_dir() -> Path: