diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75c844b2..01247cfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Setup poetry uses: abatilo/actions-poetry@v4 with: - poetry-version: '2.1.4' + poetry-version: '1.8.5' - name: Setup a local virtual environment run: | @@ -56,6 +56,27 @@ jobs: with: name: python-package-distributions path: dist/ + - name: Check that wheel and tarball contains ably/sync/ + run: | + # Check wheel + WHEEL=$(ls dist/*.whl | head -n 1) + echo "Checking wheel: $WHEEL" + if unzip -l "$WHEEL" | grep -q "ably/sync/"; then + echo "✅ Found ably/sync/ in wheel" + else + echo "❌ ably/sync/ not found in wheel" + exit 1 + fi + + # Check tarball + TARBALL=$(ls dist/*.tar.gz | head -n 1) + echo "Checking tarball: $TARBALL" + if tar -tzf "$TARBALL" | grep -q "ably/sync/"; then + echo "✅ Found ably/sync/ in tarball" + else + echo "❌ ably/sync/ not found in tarball" + exit 1 + fi publish-to-pypi: name: Publish Python distribution to PyPI diff --git a/CHANGELOG.md b/CHANGELOG.md index e7b0c237..bc495d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v2.1.1](https://github.com/ably/ably-python/tree/v2.1.1) + +[Full Changelog](https://github.com/ably/ably-python/compare/v2.1.0...v2.1.1) + +## What's Changed + +* Added missed `sync` folder to the wheel package + ## [v2.1.0](https://github.com/ably/ably-python/tree/v2.1.0) [Full Changelog](https://github.com/ably/ably-python/compare/v2.0.13...v2.1.0) diff --git a/ably/__init__.py b/ably/__init__.py index 7d56c471..221aef2b 100644 --- a/ably/__init__.py +++ b/ably/__init__.py @@ -16,4 +16,4 @@ logger.addHandler(logging.NullHandler()) api_version = '3' -lib_version = '2.1.0' +lib_version = '2.1.1' diff --git a/pyproject.toml b/pyproject.toml index 88c76d05..d50ebb78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ably" -version = "2.1.0" +version = "2.1.1" description = "Python REST and Realtime client library SDK for Ably realtime messaging service" license = "Apache-2.0" authors = ["Ably "]