Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update 'pydantic' from version 1.6.2 to 1.10.1 #367

Merged
merged 1 commit into from Sep 1, 2022

Conversation

jtrobles-cdd
Copy link
Member

@jtrobles-cdd jtrobles-cdd commented Aug 31, 2022

Changelog:

Code diff: pydantic/pydantic@v1.6.2...v1.10.1


Add version exclusions for Pydantic 1.7.*, 1.8.*, and 1.9.* to Setuptools configuration (setup.py) because those versions have a buggy dataclasses implementation (see GitHub issue pydantic/pydantic#2162, created by @jtrh).

>>> import packaging.specifiers
>>> pydantic_specifier_set = packaging.specifiers.SpecifierSet('>=1.6.2,!=1.7.*,!=1.8.*,!=1.9.*')
>>> pydantic_specifier_set.contains('1.6.2')
True
>>> pydantic_specifier_set.contains('1.7')
False
>>> pydantic_specifier_set.contains('1.7.0')
False
>>> pydantic_specifier_set.contains('1.8.1')
False
>>> pydantic_specifier_set.contains('1.9.2')
False
>>> pydantic_specifier_set.contains('1.10.0a1')
False
>>> pydantic_specifier_set.contains('1.10.0b1')
False
>>> pydantic_specifier_set.contains('1.10.0')
True

@jtrobles-cdd jtrobles-cdd added the dependencies Pull requests that update a dependency file label Aug 31, 2022
@jtrobles-cdd jtrobles-cdd self-assigned this Aug 31, 2022
Changelog:

- 1.10.1 (2022-08-31):
  https://github.com/pydantic/pydantic/blob/v1.10.1/HISTORY.md#v1101-2022-08-31
- 1.10.0 (2022-08-30):
  https://github.com/pydantic/pydantic/blob/v1.10.0/HISTORY.md#v1100-2022-08-30
- …
- 1.9.0 (2021-12-31):
  https://github.com/pydantic/pydantic/blob/v1.10.0/HISTORY.md#v190-2021-12-31
- 1.8.2 (2021-05-11):
  https://pydantic-docs.helpmanual.io/changelog/#v182-2021-05-11
- 1.8.1 (2021-03-03):
  https://pydantic-docs.helpmanual.io/changelog/#v181-2021-03-03
- 1.8 (2021-02-26):
  https://pydantic-docs.helpmanual.io/changelog/#v18-2021-02-26
- …
- 1.7 (2020-10-26):
  https://pydantic-docs.helpmanual.io/changelog/#v17-2020-10-26

Code diff: pydantic/pydantic@v1.6.2...v1.10.1

---

Add version exclusions for Pydantic 1.7.*, 1.8.*, and 1.9.* to
Setuptools configuration (`setup.py`) because those versions have a
buggy `dataclasses` implementation
(see GitHub issue pydantic/pydantic#2162,
created by @jtrh).

```python
>>> import packaging.specifiers
>>> pydantic_specifier_set = packaging.specifiers.SpecifierSet('>=1.6.2,!=1.7.*,!=1.8.*,!=1.9.*')
>>> pydantic_specifier_set.contains('1.6.2')
True
>>> pydantic_specifier_set.contains('1.7')
False
>>> pydantic_specifier_set.contains('1.7.0')
False
>>> pydantic_specifier_set.contains('1.8.1')
False
>>> pydantic_specifier_set.contains('1.9.2')
False
>>> pydantic_specifier_set.contains('1.10.0a1')
False
>>> pydantic_specifier_set.contains('1.10.0b1')
False
>>> pydantic_specifier_set.contains('1.10.0')
True
```
@jtrobles-cdd jtrobles-cdd marked this pull request as ready for review August 31, 2022 15:09
@jtrobles-cdd jtrobles-cdd requested a review from a team as a code owner August 31, 2022 15:09
@jtrobles-cdd jtrobles-cdd merged commit 6228db3 into develop Sep 1, 2022
@jtrobles-cdd jtrobles-cdd deleted the task/update-pydantic branch September 1, 2022 00:14
@jtrobles-cdd jtrobles-cdd mentioned this pull request Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant