Skip to content

Commit

Permalink
Move version_info import for reporting version info on issues (#8497)
Browse files Browse the repository at this point in the history
  • Loading branch information
zby committed Jan 5, 2024
1 parent 7eb7d84 commit 8878eaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/contributing.md
Expand Up @@ -6,6 +6,10 @@ vulnerability, please see our [security policy](https://github.com/pydantic/pyda

To make it as simple as possible for us to help you, please include the output of the following call in your issue:

```bash
python -c "import pydantic.version; print(pydantic.version.version_info())"
```
If you're using Pydantic prior to **v2.0** please use:
```bash
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
```
Expand Down

0 comments on commit 8878eaa

Please sign in to comment.