[Django] #27876: Documentation error for installing tests/requirements/py3.txt

13 views
Skip to first unread message

Django

unread,
Feb 23, 2017, 7:10:34 AM2/23/17
to django-...@googlegroups.com
#27876: Documentation error for installing tests/requirements/py3.txt
-------------------------------------+-------------------------------------
Reporter: Vipin | Owner: nobody
Chaudhary |
Type: Bug | Status: new
Component: | Version: master
Documentation | Keywords: documentation,
Severity: Normal | pip3, requirements, contribution
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi,
I was installing tests/requirement/py3.txt as stated in django docs for
contribution [https://docs.djangoproject.com/en/dev/intro/contributing/]

It was written that run
{{{
pip install -r py3.txt
}}}

i am running same on my mac OS but it always show problems in installing
`pylibmc` and `libmemcached ` to fix that i ran
{{{
brew install libmemcached
pip3 install -r py3.txt
}}}

because there was some python3 dependencies in it

so think that should be mentioned in docs that if its not installed by
`pip` then try using `pip3`

--
Ticket URL: <https://code.djangoproject.com/ticket/27876>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 23, 2017, 7:23:50 AM2/23/17
to django-...@googlegroups.com
#27876: Documentation error for installing tests/requirements/py3.txt
-------------------------------------+-------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: invalid
Keywords: documentation, | Triage Stage:
pip3, requirements, contribution | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

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


Comment:

It looks like your virtualenv wasn't activated when you ran `pip install
...`.

--
Ticket URL: <https://code.djangoproject.com/ticket/27876#comment:1>

Django

unread,
May 24, 2017, 1:41:05 PM5/24/17
to django-...@googlegroups.com
#27876: Documentation error for installing tests/requirements/py3.txt
-------------------------------------+-------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: Bug | Status: new

Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage:
pip3, requirements, contribution | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Philip James):

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


Comment:

I've run into this bug as well, and I definitely am in my py3 virtualenv.

{{{
(django) SensitiveDependence:django phildini$ which python3
/Users/phildini/.virtualenvs/django/bin/python3
}}}

I was coming here to see if I should file a bug and found this one. I note
that we already call out windows in the `requirements/py3.txt` file, so it
feels like there's precedent for special-casing OS's.

Is the correct approach here to update the docs, or skip these tests on
mac, or do nothing?

--
Ticket URL: <https://code.djangoproject.com/ticket/27876#comment:2>

Django

unread,
May 25, 2017, 6:43:08 AM5/25/17
to django-...@googlegroups.com
#27876: Documentation error for installing tests/requirements/py3.txt
-------------------------------------+-------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: Bug | Status: new

Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage:
pip3, requirements, contribution | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* cc: Tim, graham (removed)


Comment:

I'm not a mac OS user so I can't say for sure what the issue is here. What
does "it always show problems in installing pylibmc and libmemcached"
mean? My guess is that the equivalent of `libmemcached-dev` (Debian
package) isn't installed. ([https://stackoverflow.com/questions/9070218
/error-when-trying-to-install-pylibmc-on-mac-osx-lion related
StackOverflow]). I think it's not Django's job to document the
requirements of third-party packages. I'd rather enhance
[http://sendapatch.se/projects/pylibmc/install.html pylibmc's install
instructions] if needed.

--
Ticket URL: <https://code.djangoproject.com/ticket/27876#comment:3>

Django

unread,
May 26, 2017, 8:02:24 AM5/26/17
to django-...@googlegroups.com
#27876: Documentation error for installing tests/requirements/py3.txt
-------------------------------------+-------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: invalid

Keywords: documentation, | Triage Stage:
pip3, requirements, contribution | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

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


Comment:

Feel free to propose some patch for Django's docs if my analysis isn't
correct.

--
Ticket URL: <https://code.djangoproject.com/ticket/27876#comment:4>

Reply all
Reply to author
Forward
0 new messages