Skip to content

Commit aab276d

Browse files
committed
Fix CI and version mismatch
- Bump version to 0.5.0 in all files (pyproject.toml, __init__.py, client.py) - Fix README.md version reference - Add pytest-cov to CI dependencies to fix pytest execution
1 parent 8fd99c2 commit aab276d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install ruff pytest
28+
pip install ruff pytest pytest-cov
2929
pip install -e .
3030
3131
- name: Lint with Ruff

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
99

1010
> [!IMPORTANT]
11-
> **Python 2 Support Dropped**: As of version 0.4.0, this library no longer supports Python 2.7. Please use Python 3.8 or newer.
11+
> **Python 2 Support Dropped**: As of version 0.5.0, this library no longer supports Python 2.7. Please use Python 3.8 or newer.
1212
1313
This is the unofficial Python client library for TapPay's Backend API. To use it you'll need a TapPay account. Sign up at [tappaysdk.com](https://www.tappaysdk.com).
1414

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "tappay"
7-
version = "0.4.0"
7+
version = "0.5.0"
88
authors = [
99
{ name="Shih Wei Chris Lo", email="[email protected]" },
1010
]

tappay/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
__version__ = "0.4.0"
2+
__version__ = "0.5.0"
33

44
from tappay.client import Client
55
from tappay.models import Models

tappay/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# or just duplicate/move it.
1818
# Let's define it in client.py for now to avoid circular dependency if __init__ imports client.
1919
# Actually, the original code used it in User-Agent.
20-
VERSION = "0.4.0"
20+
VERSION = "0.5.0"
2121

2222

2323
class Client:

0 commit comments

Comments
 (0)