python-trueconf-bot 1.5.2__py3-none-any.whl → 1.5.3__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
  Metadata-Version: 2.4
2
2
  Name: python-trueconf-bot
3
- Version: 1.5.2
3
+ Version: 1.5.3
4
4
  Summary: Lightweight and powerful framework for the TrueConf Server Chatbot API
5
5
  Author-email: TrueConf LLC <info@trueconf.com>, Anton Baadzhi <baadzhianton@gmail.com>
6
6
  License-Expression: BSD-3-Clause-Clear
@@ -25,7 +25,7 @@ Requires-Python: >=3.10
25
25
  Description-Content-Type: text/markdown
26
26
  License-File: LICENSE
27
27
  Requires-Dist: websockets
28
- Requires-Dist: httpx2>=2.13.0
28
+ Requires-Dist: httpx2>=2.7.0
29
29
  Requires-Dist: mashumaro>=3.23
30
30
  Requires-Dist: aiofiles
31
31
  Requires-Dist: magic-filter
@@ -1,12 +1,12 @@
1
- python_trueconf_bot-1.5.2.dist-info/licenses/LICENSE,sha256=ftDuEzhr-yY_dsfpEQ2SKAP_dEAO-iPt96MBZq_K48o,1684
1
+ python_trueconf_bot-1.5.3.dist-info/licenses/LICENSE,sha256=ftDuEzhr-yY_dsfpEQ2SKAP_dEAO-iPt96MBZq_K48o,1684
2
2
  trueconf/__init__.py,sha256=GTFiIgDzMKwZxMMtSrPNEbabqzinGqjhrbhVPd61dcc,816
3
- trueconf/_version.py,sha256=RKUNkOavt5QWYQCKa5rn8NIMqJVZtAW4U89PSMCz25I,528
3
+ trueconf/_version.py,sha256=bsMLfxw9eIC5Ps4hemtn7uLLUXmJpb1lDvkhEhiuSDI,528
4
4
  trueconf/exceptions.py,sha256=Lh1LJyiBMVbq9IZBCjsazcO0TUp0q5t01FIUvLZvZ-E,9387
5
5
  trueconf/loggers.py,sha256=Qc_1Nr79vbVgMTLkR0fO4o_BKywL9vgKtQglOcF_Qu8,566
6
6
  trueconf/middleware.py,sha256=Z16_UfgDWedxJRjh2ZL8p0fY8G-WC6k08WI-POBoWXs,2282
7
7
  trueconf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  trueconf/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- trueconf/client/bot.py,sha256=t-Oz8F1IM06fVDEAnzt3CPmOBlDWcPSzbA7zCwVZ9RY,94195
9
+ trueconf/client/bot.py,sha256=C_uSFVnTalFnL21YwSxuxxLj5ecezMWwPAG4w7EDR2M,94556
10
10
  trueconf/client/context_controller.py,sha256=XpyLfsriOdpWITdhDhRZmp06EkMIsmXPbAY0Xw3j7EU,783
11
11
  trueconf/client/session.py,sha256=41HVUBNY0yIJ3-M6paQVcA3vxAIUF5ulkeUmHjRqMUg,1748
12
12
  trueconf/dispatcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -176,7 +176,7 @@ trueconf/utils/_auth/_token.py,sha256=lLfuInNmAtErvVacpuxci0_z-HyVosD2kktzqHh0ZD
176
176
  trueconf/utils/formatting/__init__.py,sha256=QGLDCbMcO_s3DFWC11rEJsL-7J6qMMJjqnbKvcGpNA4,295
177
177
  trueconf/utils/formatting/decorations.py,sha256=j7elEao8OXifTYyC7IpoZhFReARwLZZaN82UdDrsc10,2353
178
178
  trueconf/utils/formatting/text.py,sha256=aHhQ7n5kf6RWF0Xx9ICkJXj-VOhZU92-FwDMSp-Zclc,9164
179
- python_trueconf_bot-1.5.2.dist-info/METADATA,sha256=pxeOF5VBWu9AGhOqOBjJeuVK_9bZHwFH_CQ9x5QKMi4,6264
180
- python_trueconf_bot-1.5.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
181
- python_trueconf_bot-1.5.2.dist-info/top_level.txt,sha256=GjgYdn_osTUuU-H8f59VhIS7MY44xLV7-D7veywJaeY,9
182
- python_trueconf_bot-1.5.2.dist-info/RECORD,,
179
+ python_trueconf_bot-1.5.3.dist-info/METADATA,sha256=V_sT8Jy8j5eord6-wpXR9O9KTlkDQsJFSuURqD4vBY4,6263
180
+ python_trueconf_bot-1.5.3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
181
+ python_trueconf_bot-1.5.3.dist-info/top_level.txt,sha256=GjgYdn_osTUuU-H8f59VhIS7MY44xLV7-D7veywJaeY,9
182
+ python_trueconf_bot-1.5.3.dist-info/RECORD,,
trueconf/_version.py CHANGED
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '1.5.2'
22
- __version_tuple__ = version_tuple = (1, 5, 2)
21
+ __version__ = version = '1.5.3'
22
+ __version_tuple__ = version_tuple = (1, 5, 3)
23
23
 
24
- __commit_id__ = commit_id = 'g5abbd129f'
24
+ __commit_id__ = commit_id = 'g08c15ffa9'
trueconf/client/bot.py CHANGED
@@ -1857,6 +1857,12 @@ class Bot:
1857
1857
  cancelling = getattr(current_task, "cancelling", None)
1858
1858
  if cancelling is not None and cancelling():
1859
1859
  raise
1860
+ # Python 3.10 fallback: shutdown() sets self._stop before
1861
+ # cancelling the connect task, so an unset flag means the
1862
+ # cancellation came from outside (task.cancel()) and must
1863
+ # propagate to the caller.
1864
+ if self._connect_task is not None and not self._stop:
1865
+ raise
1860
1866
 
1861
1867
  async def send_document(
1862
1868
  self,