telegram-kit 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/.github/workflows/ci.yml +1 -1
- telegram_kit-0.1.2/.github/workflows/publish.yml → telegram_kit-0.1.3/.github/workflows/release.yml +20 -6
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/CHANGELOG.md +9 -0
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/PKG-INFO +2 -2
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/README.md +1 -1
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/pyproject.toml +1 -1
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/uv.lock +1 -1
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/.gitignore +0 -0
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/LICENSE +0 -0
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/src/telegram_kit/__init__.py +0 -0
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/tests/__init__.py +0 -0
- {telegram_kit-0.1.2 → telegram_kit-0.1.3}/tests/test_telegram_kit.py +0 -0
telegram_kit-0.1.2/.github/workflows/publish.yml → telegram_kit-0.1.3/.github/workflows/release.yml
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Release
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# PyPI Trusted Publishing binds to this filename: keep it `release.yml` in every repo.
|
|
4
4
|
on:
|
|
5
5
|
push:
|
|
6
6
|
tags:
|
|
7
7
|
- "v*"
|
|
8
8
|
|
|
9
9
|
permissions:
|
|
10
|
-
contents:
|
|
10
|
+
contents: write
|
|
11
11
|
id-token: write
|
|
12
12
|
|
|
13
13
|
concurrency:
|
|
14
|
-
group:
|
|
14
|
+
group: release-${{ github.ref }}
|
|
15
15
|
|
|
16
16
|
env:
|
|
17
17
|
PYTHONUTF8: "1"
|
|
18
18
|
|
|
19
19
|
jobs:
|
|
20
|
-
|
|
20
|
+
release:
|
|
21
21
|
runs-on: ubuntu-latest
|
|
22
22
|
timeout-minutes: 15
|
|
23
23
|
steps:
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
uv run ruff check .
|
|
37
37
|
uv run python -m unittest discover -s tests -t .
|
|
38
38
|
uv build
|
|
39
|
-
- name: Validate wheel
|
|
39
|
+
- name: Validate release wheel
|
|
40
40
|
run: |
|
|
41
41
|
uv venv .release-venv
|
|
42
42
|
uv pip install --python .release-venv/bin/python --no-index dist/*.whl
|
|
@@ -47,3 +47,17 @@ jobs:
|
|
|
47
47
|
fi
|
|
48
48
|
- name: Publish to PyPI
|
|
49
49
|
run: uv publish --trusted-publishing always
|
|
50
|
+
|
|
51
|
+
# After publish: uv publish uploads dist/*, and SHA256SUMS is not a distribution.
|
|
52
|
+
- name: Create checksums
|
|
53
|
+
run: sha256sum dist/* > dist/SHA256SUMS
|
|
54
|
+
- name: Create GitHub release
|
|
55
|
+
env:
|
|
56
|
+
GH_TOKEN: ${{ github.token }}
|
|
57
|
+
run: |
|
|
58
|
+
gh api "repos/${GITHUB_REPOSITORY}/git/refs/tags/$GITHUB_REF_NAME" >/dev/null
|
|
59
|
+
if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then
|
|
60
|
+
gh release upload "$GITHUB_REF_NAME" dist/* --clobber
|
|
61
|
+
else
|
|
62
|
+
gh release create "$GITHUB_REF_NAME" dist/* --generate-notes --title "$GITHUB_REF_NAME" --verify-tag
|
|
63
|
+
fi
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [0.1.3] - 2026-09-26
|
|
2
|
+
|
|
3
|
+
### 📚 Documentation
|
|
4
|
+
|
|
5
|
+
- **readme:** Link the PyPI project page
|
|
6
|
+
|
|
7
|
+
### ⚙️ Miscellaneous Tasks
|
|
8
|
+
|
|
9
|
+
- **release:** Rename publish.yml to release.yml and attach dists to the GitHub Release
|
|
1
10
|
## [0.1.2] - 2026-09-26
|
|
2
11
|
|
|
3
12
|
### 🐛 Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: telegram-kit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Secure Telegram Bot API notifications for any Python project. Stdlib only.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -29,7 +29,7 @@ if token and store.set("telegram_bot_token", token):
|
|
|
29
29
|
uv add "telegram-kit>=0.1.2,<0.2"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Published to PyPI on every `v*` tag (`.github/workflows/
|
|
32
|
+
Published to [PyPI](https://pypi.org/project/telegram-kit/) on every `v*` tag (`.github/workflows/release.yml`).
|
|
33
33
|
`uv lock --upgrade-package telegram-kit` is how every project using this kit
|
|
34
34
|
picks up a fix — no file to copy, no diff to reapply. A project that is never
|
|
35
35
|
published to PyPI can pin the git tag instead:
|
|
@@ -20,7 +20,7 @@ if token and store.set("telegram_bot_token", token):
|
|
|
20
20
|
uv add "telegram-kit>=0.1.2,<0.2"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Published to PyPI on every `v*` tag (`.github/workflows/
|
|
23
|
+
Published to [PyPI](https://pypi.org/project/telegram-kit/) on every `v*` tag (`.github/workflows/release.yml`).
|
|
24
24
|
`uv lock --upgrade-package telegram-kit` is how every project using this kit
|
|
25
25
|
picks up a fix — no file to copy, no diff to reapply. A project that is never
|
|
26
26
|
published to PyPI can pin the git tag instead:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|