File tree Expand file tree Collapse file tree 6 files changed +531
-5
lines changed Expand file tree Collapse file tree 6 files changed +531
-5
lines changed Original file line number Diff line number Diff line change 12
12
strategy :
13
13
fail-fast : true
14
14
matrix :
15
- python : ["3.9 "]
15
+ python : ["3.7", "3.10 "]
16
16
os : [ubuntu-latest] # TODO: macos-latest, windows-latest
17
17
runs-on : ${{ matrix.os }}
18
18
steps :
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
import collections
3
- import os
4
3
import re
5
4
import shutil
6
5
import subprocess
7
6
import sys
8
7
import tempfile
9
8
from functools import partial
10
9
from pathlib import Path
11
- from typing import Mapping
10
+ from typing import List , Mapping
12
11
13
12
base_dir = Path (__file__ ).parent .parent
14
13
proto_dir = base_dir / "temporalio" / "bridge" / "sdk-core" / "protos"
@@ -43,7 +42,7 @@ def fix_generated_output(base_path: Path):
43
42
(https://github.com/protocolbuffers/protobuf/issues/1491)
44
43
"""
45
44
46
- imports : Mapping [str , list [str ]] = collections .defaultdict (list )
45
+ imports : Mapping [str , List [str ]] = collections .defaultdict (list )
47
46
for p in base_path .iterdir ():
48
47
if p .is_dir ():
49
48
fix_generated_output (p )
Original file line number Diff line number Diff line change
1
+ [package ]
2
+ name = " temporal-sdk-core-bridge"
3
+ version = " 0.1.0"
4
+ edition = " 2021"
5
+
6
+ [lib ]
7
+ name = " temporal_sdk_core_bridge"
8
+ crate-type = [" cdylib" ]
9
+
10
+ [dependencies ]
11
+ tokio = " 1.15"
12
+ prost = " 0.9"
13
+ prost-types = " 0.9"
14
+ temporal-sdk-core = { version = " 0.1.0" , path = " ../sdk-core/core" }
15
+ temporal-sdk-core-api = { version = " 0.1.0" , path = " ../sdk-core/core-api" }
16
+ temporal-sdk-core-protos = { version = " 0.1.0" , path = " ../sdk-core/sdk-core-protos" }
17
+ pyo3 = { version = " 0.15" , features = [" extension-module" ] }
18
+ pyo3-asyncio = { version = " 0.15" , features = [" tokio-runtime" ] }
You can’t perform that action at this time.
0 commit comments