eladkal commented on code in PR #32366:
URL: https://github.com/apache/airflow/pull/32366#discussion_r1257254709
##########
setup.cfg:
##########
@@ -126,9 +126,7 @@ install_requires =
pendulum>=2.0
pluggy>=1.0
psutil>=4.2.0
- # Limit Pydantic to <2.0.0 because it breaks Kubernetes tests and building
providers
- # This limit should be removed after
https://github.com/apache/airflow/issues/32311 is fixed
- pydantic>=1.10.0,<2.0.0
+ pydantic>=1.10.0
Review Comment:
Started to see
```
Unknown warnings generated:
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:261:Valid
config keys have changed in V2: * 'orm_mode' has been renamed to
'from_attributes'
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:210:Support
for class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
https://errors.pydantic.dev/2.0.2/migration/
/usr/local/lib/python3.8/site-packages/pydantic/_internal/_config.py:261:Valid
config keys have changed in V2: * 'orm_mode' has been renamed to
'from_attributes'
ERROR! There were 8 warnings generated during the import
```
Example:
https://github.com/apache/airflow/actions/runs/5494206967/jobs/10012899407?pr=32441#step:11:1600
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]