[Django] #37098: Add dynamically linked binary environment variables to tox config.

19 views
Skip to first unread message

Django

unread,
May 13, 2026, 8:01:56 AMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Type:
| Cleanup/optimization
Status: new | Component:
| Uncategorized
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
I am always running into issues when I install a fresh py3 environment via
tox on Darwin arm64 with homebrew:


{{{
tox -re py3
}}}

I'd like to extend tox's `passenv` configuration with

* `LIBMEMCACHED`,
* `GDAL_LIBRARY_PATH`,
* and `GEOS_LIBRARY_PATH`.

All of those are commonly used to locate linked binaries.

I am currently doing those changes locally and always have to remember not
to commit them.

Therefore, I'd like to commit them once and merge them into main :P
--
Ticket URL: <https://code.djangoproject.com/ticket/37098>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 13, 2026, 8:13:56 AMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
--------------------------------------+------------------------------------
Reporter: Johannes Maron | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* component: Uncategorized => Core (Other)
* stage: Unreviewed => Accepted

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

Django

unread,
May 13, 2026, 8:33:57 AMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Vaibhav Pant):

* owner: (none) => Vaibhav Pant
* status: new => assigned

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

Django

unread,
May 13, 2026, 9:10:53 AMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Vaibhav Pant):

* has_patch: 0 => 1

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

Django

unread,
May 13, 2026, 9:58:31 AMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Vaibhav Pant):

PR: https://github.com/django/django/pull/21279
Added the requested environment variables to tox’s passenv configuration.
--
Ticket URL: <https://code.djangoproject.com/ticket/37098#comment:4>

Django

unread,
May 13, 2026, 1:50:52 PMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Johannes Maron):

* needs_better_patch: 0 => 1

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

Django

unread,
May 13, 2026, 5:36:07 PMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

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

Django

unread,
May 13, 2026, 5:36:25 PMMay 13
to django-...@googlegroups.com
#37098: Add dynamically linked binary environment variables to tox config.
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: closed
Component: Core (Other) | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"a9e6c435942daa6d096cf44ae9be4c0f45976f24" a9e6c43]:
{{{#!CommitTicketReference repository=""
revision="a9e6c435942daa6d096cf44ae9be4c0f45976f24"
Fixed #37098 -- Added dynamically linked binary env vars to tox passenv.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/37098#comment:7>
Reply all
Reply to author
Forward
0 new messages