Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

The trouble with computers is that they do what you tell them, not what you want. -- D. Cohen


devel / comp.lang.python.announce / [Python-announce] Django-Compat-Patcher 0.12 released

SubjectAuthor
o [Python-announce] Django-Compat-Patcher 0.12 releasedPascal Chambon

1
[Python-announce] Django-Compat-Patcher 0.12 released

<6e01a11a-df2a-15a1-5157-91112b7f69d3@gmail.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=883&group=comp.lang.python.announce#883

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: pythoniks@gmail.com (Pascal Chambon)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] Django-Compat-Patcher 0.12 released
Date: Thu, 3 Aug 2023 22:48:33 +0200
Lines: 33
Approved: python-announce-list@python.org
Message-ID: <6e01a11a-df2a-15a1-5157-91112b7f69d3@gmail.com>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de rP61F1bJbE4MLZALpOHQzwUl5dq5THETDlSTwiKk//Qg==
Cancel-Lock: sha1:29QVWLJ3gBHfeiM/ka+fuWUxDkE= sha256:9BjdtvHKW91T8opOfgHMa0hRtnaObuFM1anXTVPGOxw=
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=SkYCbT4E;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.003
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'everyone,': 0.03;
'project,': 0.03; 'url-ip:140.82/16': 0.03; 'pip': 0.04;
'repository': 0.05; 'django': 0.07; 'theoretical': 0.09; 'to:addr
:python-announce-list': 0.09; 'url-ip:151.101.0.223/32': 0.09;
'url-ip:151.101.128.223/32': 0.09; 'url-ip:151.101.192.223/32':
0.09; 'url-ip:151.101.64.223/32': 0.09; 'url:github': 0.14;
'announce': 0.15; 'url-ip:140/8': 0.15; 'backward': 0.16;
'bypass': 0.16; 'dotted': 0.16; 'incompatible': 0.16; 'packages,':
0.16; 'sorted': 0.16; 'subject:Django': 0.16; 'url:project': 0.16;
'url:pypi': 0.16; 'message-id:@gmail.com': 0.18; 'solve': 0.19;
'header:User-Agent:1': 0.30; 'forward,': 0.32;
'received:192.168.1': 0.32; "i'm": 0.33; 'release': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'missing': 0.37; 'received:192.168': 0.37; 'though': 0.37;
'block': 0.39; 'still': 0.40; 'kept': 0.61; 'url-ip:151.101.0/24':
0.62; 'url-ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24':
0.62; 'url-ip:151.101.64/24': 0.62; 'your': 0.64; 'touch': 0.65;
'pleased': 0.67; 'drop': 0.69; 'functional': 0.69; 'perfectly':
0.69; 'ps:': 0.69; 'received:mail-lj1-x22d.google.com': 0.69;
'reach': 0.69; 'you.': 0.71; 'tools': 0.74; 'implemented': 0.76;
'ranging': 0.76; '1.6': 0.84; 'portal': 0.84; 'migrate': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1691095714; x=1691700514;
h=content-transfer-encoding:subject:to:content-language:from
:user-agent:mime-version:date:message-id:from:to:cc:subject:date
:message-id:reply-to;
bh=uHhgrGeB/bHhMHScq6tbJ07hkve8oM5POg7o99w5LLI=;
b=SkYCbT4EYsC3rhpbY9jNMGid9b6ohL3s6xBAzaPt2wdmS1aBFpGin8U9+jVUYhuf+3
1+3ti3ylPY2cmBcGFMbF04eE+XbtrUy2+cS+ta+QPPUi5fhlsgQkReyo4iHCFdp6BRrl
VIZURUHoe+N1W5Jvie/fwTVhOKJsD7uSFIXwsLyIC4LQyuWZntR7nx0fcLn7LXc+Kl0Q
ZmEHcHZcae3r/k2WQr5umJJn1emMp7JP5oaEv/e+sCPZyd4VaITW0iLHD0gJFDbB4V0f
cFDFqmWbRwr6dkWFAWnLqm0aZWruic/H/bViL6gY+N+JNwNRw4H9M20LtZbv3r70ZbvS
HFrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1691095714; x=1691700514;
h=content-transfer-encoding:subject:to:content-language:from
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=uHhgrGeB/bHhMHScq6tbJ07hkve8oM5POg7o99w5LLI=;
b=RjlF2gqj2bCBLu0S4khXdmv2aMBhWhDpjOK+k/YsdLzNCabHV36YJOMJaIeKqIiS5k
L0ay3kjAuiWT+p4Ah/DuAmZlOadjgCSHXQcDY9dBM4oFQmIu5xjRxFKy8xgZfj7RMIXq
kGipp43bFewEAzp3iKzqQU084VRtopjOn1ihaQIDgwN5Rh3DB7DT+a+Xmda1hzSCe44y
fgQO0x0no5opoWS0vUgYx8E4u7p6xmFMDu1sV+z0jARe9yJtWfltUsN3T4KaLUlMOwh7
3xhm7+Q06bcrR3UuS0oWeTXvP9dyb/bUMmghcEw+i2J5EOzrt1QIDDdthInM+E8aVZoO
KJ9g==
X-Gm-Message-State: ABy/qLaYnwS6mPas/HXve23tvFlG+mxspb0KRU0Vi0Ra+O9h1NQqAHAx
7dlnw3ckswPoenVU618yTgu2LWJG9U8=
X-Google-Smtp-Source: APBJJlHD0tqxo23nmb1uhp6bKSN2Ms4Ec5wWZFupLzcb+Yj4S1pJDxFm/Eqx5OIB+TffVTBF7GHuxQ==
X-Received: by 2002:a2e:8689:0:b0:2b6:fa3f:9230 with SMTP id l9-20020a2e8689000000b002b6fa3f9230mr8073219lji.46.1691095714161;
Thu, 03 Aug 2023 13:48:34 -0700 (PDT)
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Content-Language: fr
X-MailFrom: pythoniks@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: JJHBNFHMXDA3YIE2DZG2BZMYVRRWOJ5J
X-Message-ID-Hash: JJHBNFHMXDA3YIE2DZG2BZMYVRRWOJ5J
X-Mailman-Approved-At: Thu, 03 Aug 2023 17:13:17 -0400
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/JJHBNFHMXDA3YIE2DZG2BZMYVRRWOJ5J/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Pascal Chambon - Thu, 3 Aug 2023 20:48 UTC

Hello everyone,

I'm pleased to announce the release of Django-Compat-Patcher 0.12, which
now includes 86 compatibility shims ranging from Django 1.6 to 4.2

If your Django project is incompatible with handy pluggable apps, or if
you reach the depths of dependency hell when attempting to mass-upgrade
your packages, no panic!

Just drop this django compatibility patcher into your project, and keep
your developments going forward, while dependency conflicts are slowly
sorted out in bugtrackers.

As a proof-of-concept, the Pychronia alternate reality portal
(https://github.com/ChrysalisTeam/pychronia) is kept perfectly
functional on Django 4.2, while still having Django 1.10 constructs like
"views as dotted strings" (but don't do that for your own projects of
course, alternative tools like django-compat or django-codemod will help
you migrate your own codebase).

Enjoy your decade-long backward compatibility, and get in touch if some
compatibility shims are missing for you.

Pascal

Repository : https://github.com/pakal/django-compat-patcher
Download : https://pypi.org/project/django-compat-patcher/

PS: Pip might block on theoretical dependency conflicts even though
Django-Compat-Patcher would solve them anyway; so you might have to
bypass the Pip dependency resolver, until some escape hatches are
implemented in it.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor