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 1212 strategy :
1313 fail-fast : true
1414 matrix :
15- python : ["3.9 "]
15+ python : ["3.7", "3.10 "]
1616 os : [ubuntu-latest] # TODO: macos-latest, windows-latest
1717 runs-on : ${{ matrix.os }}
1818 steps :
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22import collections
3- import os
43import re
54import shutil
65import subprocess
76import sys
87import tempfile
98from functools import partial
109from pathlib import Path
11- from typing import Mapping
10+ from typing import List , Mapping
1211
1312base_dir = Path (__file__ ).parent .parent
1413proto_dir = base_dir / "temporalio" / "bridge" / "sdk-core" / "protos"
@@ -43,7 +42,7 @@ def fix_generated_output(base_path: Path):
4342 (https://github.com/protocolbuffers/protobuf/issues/1491)
4443 """
4544
46- imports : Mapping [str , list [str ]] = collections .defaultdict (list )
45+ imports : Mapping [str , List [str ]] = collections .defaultdict (list )
4746 for p in base_path .iterdir ():
4847 if p .is_dir ():
4948 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