Skip to content

Commit 546caa9

Browse files
committed
chore: bump version number
1 parent 9ec513b commit 546caa9

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup poetry
2525
uses: abatilo/actions-poetry@v4
2626
with:
27-
poetry-version: '2.1.4'
27+
poetry-version: '2.0.0'
2828

2929
- name: Setup a local virtual environment
3030
run: |
@@ -56,6 +56,27 @@ jobs:
5656
with:
5757
name: python-package-distributions
5858
path: dist/
59+
- name: Check that wheel and tarball contains ably/sync/
60+
run: |
61+
# Check wheel
62+
WHEEL=$(ls dist/*.whl | head -n 1)
63+
echo "Checking wheel: $WHEEL"
64+
if unzip -l "$WHEEL" | grep -q "ably/sync/"; then
65+
echo "✅ Found ably/sync/ in wheel"
66+
else
67+
echo "❌ ably/sync/ not found in wheel"
68+
exit 1
69+
fi
70+
71+
# Check tarball
72+
TARBALL=$(ls dist/*.tar.gz | head -n 1)
73+
echo "Checking tarball: $TARBALL"
74+
if tar -tzf "$TARBALL" | grep -q "ably/sync/"; then
75+
echo "✅ Found ably/sync/ in tarball"
76+
else
77+
echo "❌ ably/sync/ not found in tarball"
78+
exit 1
79+
fi
5980
6081
publish-to-pypi:
6182
name: Publish Python distribution to PyPI

ably/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
logger.addHandler(logging.NullHandler())
1717

1818
api_version = '3'
19-
lib_version = '2.1.0'
19+
lib_version = '2.1.1a2'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ably"
3-
version = "2.1.0"
3+
version = "2.1.1a2"
44
description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
55
license = "Apache-2.0"
66
authors = ["Ably <support@ably.com>"]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ per-file-ignores =
88
# imported but unused
99
__init__.py: F401
1010
# Exclude virtual environment check
11-
exclude = .venv,venv,env,.env,.git,__pycache__,.pytest_cache,build,dist,*.egg-info,ably/sync,test/ably/sync
11+
exclude = .venv,venv,env,.env,.git,__pycache__,.pytest_cache,build,dist,*.egg-info
1212

1313
[tool:pytest]
1414
#log_level = DEBUG

0 commit comments

Comments
 (0)