We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa1045 commit c060822Copy full SHA for c060822
3 files changed
pydantic/__manifest__.py
@@ -17,6 +17,7 @@
17
"external_dependencies": {
18
"python": [
19
"pydantic",
20
+ "contextvars",
21
]
22
},
23
"installable": True,
requirements.txt
@@ -2,6 +2,7 @@
2
apispec
3
apispec>=4.0.0
4
cerberus
5
+contextvars;python_version<"3.7"
6
jsondiff
7
marshmallow
8
marshmallow-objects>=2.0.0
setup/pydantic/setup.py
@@ -2,5 +2,9 @@
setuptools.setup(
setup_requires=['setuptools-odoo'],
- odoo_addon=True,
+ odoo_addon={
+ "external_dependencies_override": {
+ "python": {"contextvars": 'contextvars;python_version<"3.7"'}
+ }
9
+ },
10
)
0 commit comments