diff options
| author | Pattems <patrick@crandol.com> | 2026-12-01 10:04:53 +0000 |
|---|---|---|
| committer | Kai Knoblich <kai@FreeBSD.org> | 2026-12-01 10:10:59 +0000 |
| commit | 62fff813767f9e95cf759460ee3affc286e23f65 (patch) (diff) | |
| tree | 278ba68c215006c8dbccd77e0a5af2c81255f0b5 /www/librewolf/files | |
| download | ports-2026Q4.tar.gz | |
| previous commit | 70b0c428bcec9ebb56c6cd3b0956aa7b1bcdd3ae (net-mgmt/py-netutils: Update to 1.19.3) | |
www/py-django-bitfield: Update to 2.4.0
HEAD2026Q4
* bitfield/types.py registers its PostgreSQL adapters through
Database.extensions, which only psycopg2 has. Django's postgresql
backend uses psycopg 3 when it is installed, so "import bitfield"
fails with AttributeError: module 'psycopg' has no attribute
'extensions'. Keep the psycopg2 path and register int dumpers for
Bit and BitHandler with psycopg 3 otherwise; 2.4.0 still has the
psycopg2-only code.
* Since Django 5.0 FieldListFilter.used_parameters holds lists, so the
admin changelist fails with TypeError in BitHandler as soon as the
bitfield filter is used. Take the last value, as Django's own
filters do; 2.4.0 has the same code.
* Switch to the PEP517 build framework to make the port future-proof.
While here, add concurrent to USE_PYTHON, expand pkg-descr and switch
to the more preferred DISTVERSION.
PR: 300115
MFH: 2026Q4
With hat python
Co-Authored-By: Kai Knoblich <kai@FreeBSD.org>
(cherry picked from commit 1c4d5aeabf8003916ef1c578bcf7dc8e371ed4f6)
Diffstat (limited to 'www/librewolf/files') [Complete diffstat for commit ]
0 files changed, 0 insertions, 0 deletions
