@@ -26,7 +26,7 @@ include = [
26
26
]
27
27
28
28
[dependencies ]
29
- pyo3 = { version = " 0.20.2 " , 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,7 +43,7 @@ base64 = "0.21.7"
43
43
num-bigint = " 0.4.4"
44
44
python3-dll-a = " 0.2.7"
45
45
uuid = " 1.6.1"
46
- jiter = {version = " 0.0.6" , features = [" python" ]}
46
+ jiter = { git = " https://github.com/pydantic/jiter " , branch = " dh/py2 " , version = " 0.0.6" , features = [" python" ]}
47
47
48
48
[lib ]
49
49
name = " _pydantic_core"
@@ -70,12 +70,12 @@ debug = true
70
70
strip = false
71
71
72
72
[dev-dependencies ]
73
- pyo3 = { version = " 0.20.2 " , features = [" auto-initialize" ] }
73
+ pyo3 = { git = " https://github.com/davidhewitt/pyo3 " , branch = " complete-py2 " , version = " 0.21.0-dev " , default-features = false , features = [" auto-initialize" ] }
74
74
75
75
[build-dependencies ]
76
76
version_check = " 0.9.4"
77
77
# used where logic has to be version/distribution specific, e.g. pypy
78
- pyo3-build-config = { version = " 0.20.2 " }
78
+ pyo3-build-config = { git = " https://github.com/davidhewitt/pyo3 " , branch = " complete-py2 " , version = " 0.21.0-dev " }
79
79
80
80
[lints .clippy ]
81
81
dbg_macro = " warn"
@@ -107,3 +107,10 @@ too_many_lines = "allow"
107
107
unnecessary_wraps = " allow"
108
108
unused_self = " allow"
109
109
used_underscore_binding = " allow"
110
+
111
+ [patch .'https://github .com/davidhewitt/pyo3' ]
112
+ pyo3 = { path = " ../pyo3" }
113
+ pyo3-build-config = { path = " ../pyo3/pyo3-build-config" }
114
+
115
+ [patch .'https://github .com/pydantic/jiter' ]
116
+ jiter = { path = " ../jiter" }
0 commit comments