mention 3.8 requirement in contrib docs (#2856)

* mention 3.8 requirement in contrib docs

* add change.md for PR#2856

* docs: fix grammar and wording
This commit is contained in:
Pax
2021-09-04 10:55:40 -07:00
committed by GitHub
parent 428f1e4d34
commit 4ac2501477
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
Update contrib docs re: python version to use for building docs.
+3 -2
View File
@@ -41,9 +41,10 @@ git clone git@github.com:<your username>/pydantic.git
cd pydantic
# 2. Set up a virtualenv for running tests
virtualenv -p `which python3.7` env
virtualenv -p `which python3.8` env
source env/bin/activate
# (or however you prefer to setup a python environment, 3.6 will work too)
# Building docs requires 3.8. If you don't need to build docs you can use
# whichever version; 3.6 will work too.
# 3. Install pydantic, dependencies, test dependencies and doc dependencies
make install