Skip to content

Commit dbce285

Browse files
committed
NO-ISSUE oops
1 parent 8d27797 commit dbce285

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/auto-testing.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
strategy:
5353
matrix:
5454
python-version:
55-
- '3.8'
5655
- '3.9'
5756
- '3.10'
5857
- '3.11'
@@ -65,6 +64,13 @@ jobs:
6564
uses: actions/setup-python@v5
6665
with:
6766
python-version: ${{ matrix.python-version }}
67+
- name: Update version in linebot/__about__.py
68+
run: |
69+
VERSION="12.3.0"
70+
VERSION=${VERSION#v}
71+
sed -i "s/__version__ = '__LINE_BOT_SDK_PYTHON_VERSION__'/__version__ = '$VERSION'/g" linebot/__about__.py
72+
cat linebot/__about__.py
73+
6874
- name: Install dependencies & lib
6975
run: |
7076
python -m pip install --upgrade pip

import_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def import_all_modules(package):
77
try:
88
importlib.import_module(modname)
99
print(f'Successfully imported {modname}')
10-
except ImportError as e:
10+
except Exception as e:
1111
print(f'Failed to import {modname}: {e}')
1212
raise
1313

14-
import_all_modules(my_library_name)
14+
import_all_modules(linebot)

linebot/v3/messaging/models/text_message_v2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
from typing import Dict, Optional
2222
from pydantic.v1 import Field, StrictStr
23-
from linebot.v3.messaging.models.dict[str,_substitution_object] import Dict[str, SubstitutionObject]
2423
from linebot.v3.messaging.models.message import Message
2524
from linebot.v3.messaging.models.quick_reply import QuickReply
2625
from linebot.v3.messaging.models.sender import Sender

0 commit comments

Comments
 (0)