ironflock 1.3.6__tar.gz → 1.3.8__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.
- {ironflock-1.3.6 → ironflock-1.3.8}/PKG-INFO +20 -2
- {ironflock-1.3.6 → ironflock-1.3.8}/README.md +18 -1
- {ironflock-1.3.6 → ironflock-1.3.8}/pyproject.toml +2 -2
- {ironflock-1.3.6 → ironflock-1.3.8}/src/ironflock/CrossbarConnection.py +4 -3
- {ironflock-1.3.6 → ironflock-1.3.8}/src/ironflock/__init__.py +1 -1
- {ironflock-1.3.6 → ironflock-1.3.8}/LICENSE +0 -0
- {ironflock-1.3.6 → ironflock-1.3.8}/src/ironflock/ironflock.py +0 -0
- {ironflock-1.3.6 → ironflock-1.3.8}/src/ironflock/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ironflock
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.8
|
|
4
4
|
Summary: IronFlock Python SDK for connecting to the IronFlock Platform
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -11,7 +11,7 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Provides-Extra: dev
|
|
13
13
|
Provides-Extra: docs
|
|
14
|
-
Requires-Dist: autobahn[asyncio,serialization] (==
|
|
14
|
+
Requires-Dist: autobahn[asyncio,serialization] (==25.10.2)
|
|
15
15
|
Requires-Dist: mypy ; extra == "dev"
|
|
16
16
|
Requires-Dist: pydantic (>=2.0.0)
|
|
17
17
|
Requires-Dist: pydantic ; extra == "dev"
|
|
@@ -117,3 +117,21 @@ twine upload dist/*
|
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
Check the package at https://pypi.org/project/ironflock/.
|
|
120
|
+
|
|
121
|
+
## Test Deployment
|
|
122
|
+
|
|
123
|
+
To test the package before deploying to pypi you can use test.pypi.
|
|
124
|
+
|
|
125
|
+
```shell
|
|
126
|
+
just clean build publish-test
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Once the package is published you can use it in other code by putting
|
|
130
|
+
these lines at the top of the requirements.txt
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
--index-url https://test.pypi.org/simple/
|
|
134
|
+
--extra-index-url https://pypi.org/simple/
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
|
|
@@ -90,4 +90,21 @@ python -m build
|
|
|
90
90
|
twine upload dist/*
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
Check the package at https://pypi.org/project/ironflock/.
|
|
93
|
+
Check the package at https://pypi.org/project/ironflock/.
|
|
94
|
+
|
|
95
|
+
## Test Deployment
|
|
96
|
+
|
|
97
|
+
To test the package before deploying to pypi you can use test.pypi.
|
|
98
|
+
|
|
99
|
+
```shell
|
|
100
|
+
just clean build publish-test
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Once the package is published you can use it in other code by putting
|
|
104
|
+
these lines at the top of the requirements.txt
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
--index-url https://test.pypi.org/simple/
|
|
108
|
+
--extra-index-url https://pypi.org/simple/
|
|
109
|
+
```
|
|
110
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ironflock"
|
|
3
|
-
version = "1.3.
|
|
3
|
+
version = "1.3.8"
|
|
4
4
|
description = "IronFlock Python SDK for connecting to the IronFlock Platform"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Marko Petzold, IronFlock GmbH", email = "info@ironflock.com"}
|
|
@@ -13,7 +13,7 @@ classifiers = [
|
|
|
13
13
|
"Intended Audience :: Developers",
|
|
14
14
|
]
|
|
15
15
|
dependencies = [
|
|
16
|
-
"autobahn[asyncio,serialization]==
|
|
16
|
+
"autobahn[asyncio,serialization]==25.10.2",
|
|
17
17
|
"pydantic>=2.0.0"
|
|
18
18
|
]
|
|
19
19
|
|
|
@@ -156,9 +156,10 @@ class CrossbarConnection:
|
|
|
156
156
|
print(f"Connection to IronFlock app realm {self.realm} closed: {details.reason}")
|
|
157
157
|
|
|
158
158
|
if self._first_connection_future and not self._first_connection_future.done():
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
)
|
|
159
|
+
print(f"⚠️ Initial connection attempt failed: {details.reason}")
|
|
160
|
+
print("🔄 Will keep trying to reconnect...")
|
|
161
|
+
# Resolve the future so start() doesn't crash, Autobahn will keep retrying
|
|
162
|
+
self._first_connection_future.set_result(None)
|
|
162
163
|
|
|
163
164
|
async def _on_disconnect(self, session: ApplicationSession, was_clean: bool):
|
|
164
165
|
"""Handle disconnect event"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|