test-python-package-release 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  """Test Python package release — template library."""
2
2
 
3
- __version__ = "0.4.0" # managed by release-please
3
+ __version__ = "0.5.0" # managed by release-please
4
4
 
5
5
  from test_python_package_release.calculator import (
6
6
  add,
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: test-python-package-release
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: Template library demonstrating Python package release CI/CD
5
5
  Author-email: Dawid Wozniak <wozniakos10@gmail.com>
6
6
  License: MIT License
@@ -137,8 +137,28 @@ Release PR merged ──▶ release-please tags + creates GitHub Release
137
137
  └─ publish.yml ──▶ uv build
138
138
  ──▶ TestPyPI (OIDC)
139
139
  ──▶ PyPI (OIDC, gated env)
140
+ │
141
+ └─ docker-publish.yml ──▶ Docker Hub
142
+ (<version>, <major.minor>, sha-*)
143
+ ```
144
+
145
+ ## Docker image
146
+
147
+ Each GitHub Release also publishes a multi-arch image (amd64, arm64) to
148
+ Docker Hub. To try it locally:
149
+
150
+ ```bash
151
+ docker build -t test-python-package-release .
152
+ docker run --rm test-python-package-release
140
153
  ```
141
154
 
155
+ Required repo configuration (Settings → Secrets and variables → Actions):
156
+
157
+ - Variable `DOCKERHUB_USERNAME`: your Docker Hub username
158
+ - Secret `DOCKERHUB_TOKEN`: a Docker Hub
159
+ [personal access token](https://app.docker.com/settings/personal-access-tokens)
160
+ with Read & Write scope
161
+
142
162
  ## First-time setup after cloning the template
143
163
 
144
164
  1. **Rename the package**: update `name` in `pyproject.toml`, the directory
@@ -0,0 +1,7 @@
1
+ test_python_package_release/__init__.py,sha256=k0AMN3tPNRqhjz6_7uUgBHXeH32Pj3VaZdH6DOt1UbI,639
2
+ test_python_package_release/calculator.py,sha256=XTfDYYo7j4CJwqVsrgTTP3EggwvW5WvFHloi3Y3OU_U,799
3
+ test_python_package_release/strings.py,sha256=y92FYBlBjHi-NeK0NKUIudqKvjtedl9rFJJLaFFOVPc,632
4
+ test_python_package_release-0.5.0.dist-info/METADATA,sha256=gMeMx9dr9eSZIqfTyFPCsFjcnzzQGeZBvqXtByWlHx8,9496
5
+ test_python_package_release-0.5.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
6
+ test_python_package_release-0.5.0.dist-info/licenses/LICENSE,sha256=FK3qjfsYq7ZWgF5WWecz0lQFe6PoBbKyNYK2hBs0aN8,1070
7
+ test_python_package_release-0.5.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.29.0
2
+ Generator: hatchling 1.33.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,7 +0,0 @@
1
- test_python_package_release/__init__.py,sha256=U6e7fQUUxmveqhWRMpruAjrTQEe4c7F75q6nRLyDvUs,639
2
- test_python_package_release/calculator.py,sha256=XTfDYYo7j4CJwqVsrgTTP3EggwvW5WvFHloi3Y3OU_U,799
3
- test_python_package_release/strings.py,sha256=y92FYBlBjHi-NeK0NKUIudqKvjtedl9rFJJLaFFOVPc,632
4
- test_python_package_release-0.4.0.dist-info/METADATA,sha256=Z3DgT73s7SWYSZ8BBtJCrHWmaAS9-zohVuaLkzhbZgA,8797
5
- test_python_package_release-0.4.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
6
- test_python_package_release-0.4.0.dist-info/licenses/LICENSE,sha256=FK3qjfsYq7ZWgF5WWecz0lQFe6PoBbKyNYK2hBs0aN8,1070
7
- test_python_package_release-0.4.0.dist-info/RECORD,,