@@ -26,7 +26,7 @@ include = [
26
26
]
27
27
28
28
[dependencies ]
29
- pyo3 = { version = " 0.20.0 " , features = [" generate-import-lib" , " num-bigint" ] }
29
+ pyo3 = { git = " https://github.com/davidhewitt/pyo3 " , branch = " complete-py2 " , version = " 0.21.0-dev " , default- features= false , features = [" macros " , " generate-import-lib" , " num-bigint" ] }
30
30
regex = " 1.10.2"
31
31
strum = { version = " 0.25.0" , features = [" derive" ] }
32
32
strum_macros = " 0.25.3"
@@ -43,8 +43,8 @@ base64 = "0.21.5"
43
43
num-bigint = " 0.4.4"
44
44
python3-dll-a = " 0.2.7"
45
45
uuid = " 1.5.0"
46
- jiter = {version = " 0.0.4" , features = [" python" ]}
47
- # jiter = {path = "../jiter", features = ["python"]}
46
+ jiter = { git = " https://github.com/pydantic/jiter " , branch = " dh/py2 " , version = " 0.0.4" , features = [" python" ]}
47
+
48
48
49
49
[lib ]
50
50
name = " _pydantic_core"
@@ -69,12 +69,12 @@ debug = true
69
69
strip = false
70
70
71
71
[dev-dependencies ]
72
- pyo3 = { version = " 0.20.0 " , features = [" auto-initialize" ] }
72
+ pyo3 = { git = " https://github.com/davidhewitt/pyo3 " , branch = " complete-py2 " , version = " 0.21.0-dev " , default-features = false , features = [" auto-initialize" ] }
73
73
74
74
[build-dependencies ]
75
75
version_check = " 0.9.4"
76
76
# used where logic has to be version/distribution specific, e.g. pypy
77
- pyo3-build-config = { version = " 0.20.0 " }
77
+ pyo3-build-config = { git = " https://github.com/davidhewitt/pyo3 " , branch = " complete-py2 " , version = " 0.21.0-dev " }
78
78
79
79
[lints .clippy ]
80
80
dbg_macro = " warn"
@@ -106,3 +106,10 @@ too_many_lines = "allow"
106
106
unnecessary_wraps = " allow"
107
107
unused_self = " allow"
108
108
used_underscore_binding = " allow"
109
+
110
+ [patch .'https://github .com/davidhewitt/pyo3' ]
111
+ pyo3 = { path = " ../pyo3" }
112
+ pyo3-build-config = { path = " ../pyo3/pyo3-build-config" }
113
+
114
+ [patch .'https://github .com/pydantic/jiter' ]
115
+ jiter = { path = " ../jiter" }
0 commit comments