[Django] #35460: Docs: clarify the python version for installing Django by local copy.

9 views
Skip to first unread message

Django

unread,
May 16, 2024, 10:07:25 AM5/16/24
to django-...@googlegroups.com
#35460: Docs: clarify the python version for installing Django by local copy.
------------------------------------------+------------------------
Reporter: chengjackjelly | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
When I try to follow the instructions for [Writing your first patch for
Django/Getting a copy of Django’s development
version](https://docs.djangoproject.com/en/dev/intro/contributing/#getting-a
-copy-of-django-s-development-version], I encounter a problem with python
version.

In the docs, we should use

{{{
python3 -m venv ~/.virtualenvs/djangodev
}}}

to create a new virtual environment by running. However, it doesn't point
out the exact python3 version we should use. In the later

{{{
python -m pip install -e /path/to/your/local/clone/django/
}}}

I have a problem reported as

{{{
ERROR: Package 'Django-5.1.dev20240516091757' requires a different Python:
3.8.3 not in '>=3.10'
}}}

Later on I install and change to the python version >=3.10 to solve the
problem. It would be great if the docs specify the Python Interpreter
version.
--
Ticket URL: <https://code.djangoproject.com/ticket/35460>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 16, 2024, 12:30:05 PM5/16/24
to django-...@googlegroups.com
#35460: Docs: clarify the python version for installing Django by local copy.
--------------------------------+--------------------------------------
Reporter: chengjackjelly | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* resolution: => invalid
* status: new => closed

Comment:

There are already many places where a specific Python 3 version is
[https://docs.djangoproject.com/en/stable/faq/install/#what-python-
version-can-i-use-with-django mentioned]. It also defined in `setup.cfg`.
I don't think it's worth adding another place that we will have to
remember to keep up to date.
--
Ticket URL: <https://code.djangoproject.com/ticket/35460#comment:1>
Reply all
Reply to author
Forward
0 new messages