--
Ticket URL: <https://code.djangoproject.com/ticket/32687>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> postgresql client returns empty dict instead of None for env
> as a result os.environ is not used and empty env passed
> to subprocess.
> Bug introduced in
> https://github.com/django/django/commit/bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3
> #diff-
> e98866ed4d445fbc94bb60bedffd5d8cf07af55dca6e8ffa4945931486efc3eeR23-R26
New description:
postgresql client returns empty dict instead of None for env
as a result os.environ is not used and empty env passed
to subprocess.
Bug introduced in
https://github.com/django/django/commit/bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3
#diff-
e98866ed4d445fbc94bb60bedffd5d8cf07af55dca6e8ffa4945931486efc3eeR23-R26
PR https://github.com/django/django/pull/14315
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:1>
* stage: Unreviewed => Someday/Maybe
* needs_tests: 0 => 1
* easy: 0 => 1
* severity: Normal => Release blocker
Comment:
Agreed, this is a regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3.
Please can you add a test and a release note for 3.2.1?
[https://github.com/django/django/pull/14315 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:2>
* stage: Someday/Maybe => Accepted
Comment:
(Oops, my mistake.)
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:3>
* needs_better_patch: 0 => 1
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:4>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"6e742dabc95b00ba896434293556adeb4dbaee8a" 6e742dab]:
{{{
#!CommitTicketReference repository=""
revision="6e742dabc95b00ba896434293556adeb4dbaee8a"
Fixed #32687 -- Restored passing process’ environment to underlying tool
in dbshell on PostgreSQL.
Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"55cb3c8ac186f7664b38d66fb4c7e678fe524741" 55cb3c8a]:
{{{
#!CommitTicketReference repository=""
revision="55cb3c8ac186f7664b38d66fb4c7e678fe524741"
[3.2.x] Fixed #32687 -- Restored passing process’ environment to
underlying tool in dbshell on PostgreSQL.
Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3.
Backport of 6e742dabc95b00ba896434293556adeb4dbaee8a from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32687#comment:7>