[Django] #21845: Deprecate django-admin.py

34 views
Skip to first unread message

Django

unread,
Jan 21, 2014, 11:56:23 AM1/21/14
to django-...@googlegroups.com
#21845: Deprecate django-admin.py
--------------------------------------------+--------------------
Reporter: apollo13 | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Management commands) | Version: master
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
We need to find a nice way to deprecate django-admin.py. Warnings probably
won't work, we might wanna resort to "print(file=sys.stderr)". Docs also
need updates :/

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

Django

unread,
Jan 23, 2014, 9:54:37 PM1/23/14
to django-...@googlegroups.com
#21845: Deprecate django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timo):

* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0


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

Django

unread,
Jan 23, 2014, 11:16:41 PM1/23/14
to django-...@googlegroups.com
#21845: Deprecate django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by carljm):

Is there some missing context to this ticket? Is it just the .py suffix
we're deprecating, or the script itself? If the latter, how are we
expecting people to run startproject?

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

Django

unread,
Jan 24, 2014, 12:43:01 AM1/24/14
to django-...@googlegroups.com
#21845: Deprecate django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by mjtamlyn):

I believe it's the `.py` suffix. In order to make the script executable on
windows, we're now using a setuptools entry point. This is however
impossible with a `.py` suffix. (I think)

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

Django

unread,
Feb 8, 2014, 4:52:21 AM2/8/14
to django-...@googlegroups.com
#21845: Deprecate .py suffix for django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

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

Django

unread,
Feb 9, 2014, 6:53:09 AM2/9/14
to django-...@googlegroups.com
#21845: Deprecate .py suffix for django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by apollo13):

Fwiw, we don't have to deprecate it and can just install both variants, if
we think the deprecation isn't worth it -- eg to many programs relying on
it.

--
Ticket URL: <https://code.djangoproject.com/ticket/21845#comment:5>

Django

unread,
Mar 11, 2014, 4:58:11 AM3/11/14
to django-...@googlegroups.com
#21845: Deprecate .py suffix for django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Release blocker | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by berkerpeksag):

* cc: berker.peksag@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/21845#comment:6>

Django

unread,
Mar 12, 2014, 8:33:18 AM3/12/14
to django-...@googlegroups.com
#21845: Deprecate .py suffix for django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Management | Resolution:
commands) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0

Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timo):

* severity: Release blocker => Normal


Comment:

Both variants are installed as of #21827. I tend to think deprecation may
not be worth it as it doesn't seem like we gain very much besides perhaps
reduced confusion from not having two ways to do the same thing). I'll
leave the ticket open, but I'm unmarking it as a release blocker.

--
Ticket URL: <https://code.djangoproject.com/ticket/21845#comment:7>

Django

unread,
Aug 18, 2014, 9:58:09 AM8/18/14
to django-...@googlegroups.com
#21845: Deprecate .py suffix for django-admin.py
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Core (Management | Resolution: wontfix

commands) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by timgraham):

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


Comment:

Doc updates were made in #23067. I'll close this for now until someone
comes up with a good reason why we need to deprecate the `.py` variant.

--
Ticket URL: <https://code.djangoproject.com/ticket/21845#comment:8>

Reply all
Reply to author
Forward
0 new messages