robotcode-jsonrpc2 1.9.0__tar.gz → 2.0.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-jsonrpc2
3
- Version: 1.9.0
3
+ Version: 2.0.1
4
4
  Summary: JSONRPC Server for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -15,16 +15,17 @@ Classifier: Framework :: Robot Framework
15
15
  Classifier: Framework :: Robot Framework :: Tool
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
20
18
  Classifier: Programming Language :: Python :: 3.10
21
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
25
  Classifier: Topic :: Utilities
25
26
  Classifier: Typing :: Typed
26
- Requires-Python: >=3.8
27
- Requires-Dist: robotcode-core==1.9.0
27
+ Requires-Python: >=3.10
28
+ Requires-Dist: robotcode-core==2.0.1
28
29
  Description-Content-Type: text/markdown
29
30
 
30
31
  # robotcode-jsonrpc2
@@ -6,17 +6,18 @@ build-backend = "hatchling.build"
6
6
  name = "robotcode-jsonrpc2"
7
7
  description = 'JSONRPC Server for RobotCode'
8
8
  readme = { "file" = "README.md", "content-type" = "text/markdown" }
9
- requires-python = ">=3.8"
9
+ requires-python = ">=3.10"
10
10
  license = {text = "Apache-2.0"}
11
11
  keywords = []
12
12
  authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
13
13
  classifiers = [
14
14
  "Development Status :: 5 - Production/Stable",
15
15
  "Programming Language :: Python",
16
- "Programming Language :: Python :: 3.8",
17
- "Programming Language :: Python :: 3.9",
18
16
  "Programming Language :: Python :: 3.10",
19
17
  "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
20
21
  "Programming Language :: Python :: Implementation :: CPython",
21
22
  "Programming Language :: Python :: Implementation :: PyPy",
22
23
  "Operating System :: OS Independent",
@@ -25,7 +26,7 @@ classifiers = [
25
26
  "Framework :: Robot Framework",
26
27
  "Framework :: Robot Framework :: Tool",
27
28
  ]
28
- dependencies = ["robotcode-core==1.9.0"]
29
+ dependencies = ["robotcode-core==2.0.1"]
29
30
  dynamic = ["version"]
30
31
 
31
32
  [project.urls]
@@ -51,4 +52,4 @@ only-include = ["src"]
51
52
 
52
53
  [tool.hatch.envs.build]
53
54
  detached = true
54
- python = "38"
55
+ python = "310"
@@ -0,0 +1 @@
1
+ __version__ = "2.0.1"
@@ -72,7 +72,12 @@ class JsonRPCServer(Generic[TProtocol], abc.ABC):
72
72
  self._in_closing = False
73
73
  self._closed = False
74
74
 
75
- self.loop = asyncio.get_event_loop()
75
+ try:
76
+ self.loop = asyncio.get_event_loop()
77
+ except RuntimeError:
78
+ self.loop = asyncio.new_event_loop()
79
+ asyncio.set_event_loop(self.loop)
80
+
76
81
  if self.loop is not None:
77
82
  self.loop.slow_callback_duration = 10
78
83
 
@@ -1 +0,0 @@
1
- __version__ = "1.9.0"