-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
428 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: 🐛 Pydantic V2 Bug | ||
description: Report a bug or unexpected behavior in as-yet unreleased Pydantic V2 | ||
labels: [bug V2, unconfirmed] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: Thank you for contributing to pydantic! ✊ | ||
|
||
- type: checkboxes | ||
id: checks | ||
attributes: | ||
label: Initial Checks | ||
description: Just making sure you're really using Pydantic V2 | ||
options: | ||
- label: I confirm that I'm using Pydantic V2 installed directly from the `main` branch, or equivalent | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: | | ||
Please explain what you're seeing and what you would expect to see. | ||
Please provide as much detail as possible to make understanding and solving your problem as quick as possible. 🙏 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: example | ||
attributes: | ||
label: Example Code | ||
description: > | ||
If applicable, please add a self-contained, | ||
[minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) | ||
demonstrating the bug. | ||
placeholder: | | ||
import pydantic | ||
... | ||
render: Python | ||
|
||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Python, Pydantic & OS Version | ||
description: | | ||
Which version of Python & Pydantic are you using, and which Operating System? | ||
Please run the following command and copy the output below: | ||
```bash | ||
python -c "import pydantic.version; print(pydantic.version.version_info())" | ||
``` | ||
render: Text | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
# NOTICE | ||
<!-- Thank you for your contribution! --> | ||
<!-- Unless your change is trivial, please create an issue to discuss the change before creating a PR --> | ||
<!-- We're currently in the process of rewriting pydantic in preparation for V2, see https://docs.pydantic.dev/blog/pydantic-v2/. --> | ||
<!-- **Note:** if you're making a pull request to fix pydantic v1.10, please make it against the `1.10.X-fixes` branch. --> | ||
|
||
We're currently in the process of rewriting pydantic in preparation for V2, see | ||
https://pydantic-docs.helpmanual.io/blog/pydantic-v2/. | ||
## Change Summary | ||
|
||
Please see https://github.com/orgs/pydantic/projects/1 for the major tasks required for this migration. | ||
<!-- Please give a short summary of the changes. --> | ||
|
||
To avoid wasting your time, it would be best if you only created significant PRs related to that project. | ||
## Related issue number | ||
|
||
Thank you for your interest in pydantic, and your patience. :pray: | ||
<!-- Are there any issues opened that will be resolved by merging this change? --> | ||
<!-- WARNING: please use "fix #123" style references so the issue is closed when this PR is merged. --> | ||
|
||
**Note:** if you're making a pull request to fix pydantic v1.10, please make it against the `1.10.X-fixes` branch. | ||
## Checklist | ||
|
||
* [ ] Unit tests for the changes exist | ||
* [ ] Tests pass on CI and coverage remains at 100% | ||
* [ ] Documentation reflects the changes where applicable | ||
* [ ] `changes/<pull request or issue id>-<github username>.md` file added describing change | ||
(see [changes/README.md](https://github.com/samuelcolvin/pydantic/blob/master/changes/README.md) for details) | ||
* [ ] My PR is ready to review, **please add a comment including the phrase "please review" to assign reviewers** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix `dataclass_transform` decorator for pydantic dataclasses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.