Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3569

Django-Compat-Patcher 0.10 Released, with Django 3.1 support

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Pascal Chambon <pythoniks@gmail.com>
Newsgroups comp.lang.python.announce
Subject Django-Compat-Patcher 0.10 Released, with Django 3.1 support
Date Fri, 22 Jan 2021 14:42:07 +0100
Lines 32
Approved python-announce-list@python.org
Message-ID <330f52bd-d432-4e26-1962-e8722046f075@gmail.com> (permalink)
References <CAG0JsGwk=cWqTH_-diyB7CNPm29sn8y5tO16CDzReAEKHEH0Sw@mail.gmail.com>
Reply-To python-list@python.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de jiRq44lXX98E6UPJ0PSG3AjiFnS0DLJgSnLGGoXLLe6A==
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=d8pHCXL8; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url-ip:140.82.121/24': 0.03; 'url-ip:140.82/16': 0.03; 'projects,': 0.03; 'pip': 0.04; 'project,': 0.05; 'django': 0.07; 'forward,': 0.07; '3.1': 0.09; 'alternative': 0.09; 'reality': 0.09; '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-ip:140/8': 0.12; 'message-id:@gmail.com': 0.14; 'url:github': 0.15; 'app,': 0.16; 'bypass': 0.16; 'dotted': 0.16; 'encounter': 0.16; 'incompatible': 0.16; 'packages,': 0.16; 'pip,': 0.16; 'received:192.168.0.16': 0.16; 'received:mail- wm1-x332.google.com': 0.16; 'solved': 0.16; 'sorted': 0.16; 'subject:Django': 0.16; 'subject:Released': 0.16; 'url:project': 0.16; 'url:pypi': 0.16; 'announce': 0.16; 'to:addr:python-list': 0.22; 'to:no real name:2**1': 0.23; '(and': 0.30; 'using': 0.31; 'header:User-Agent:1': 0.31; 'header:In-Reply-To:1': 0.33; 'url:10': 0.33; "i'm": 0.33; 'received:192.168.0': 0.34; 'received:google.com': 0.34; 'though': 0.34; 'from:addr:gmail.com': 0.35; 'release': 0.35; 'missing': 0.35; 'still': 0.37; 'useful': 0.38; 'received:192.168': 0.38; 'going': 0.39; 'hello,': 0.40; 'your': 0.65; 'pleased': 0.68; 'implemented': 0.70; 'ps:': 0.70; 'tools': 0.72; 'ranging': 0.77; 'subject:support': 0.77; '1.6': 0.84; 'backwards': 0.84; 'you)': 0.84; 'perfectly': 0.91; 'migrate': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:references:from:subject:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=tUTgzQ1RdfDQhSp83XUrUE/EP8dyHlwYNJv0LufB7EI=; b=d8pHCXL8XtE/qjEOTCV3L20quc+Bjj9Bbz2WPL3Sl7USAfukxzLrPuZxdyRSfOVEJp aEbAU7Wj3jyJd6skjXNMfqnsdC5RPAPjoV24HDDLOj9a+rMvBME8JFuiaFFNgF8CyTgI MVQ/a9lHJPC7T08n7SXIBTjjbgPlJTgfbPxiqCVzbaX+uJZXn5IRCvAkdex58rJ1AYeW spg2WgyZ5fU34P55I/ZlESpPnIrXAyvoo7T6gB3sNzQwjrNYcfJPSJg/53eIchDYkLsv Iai/c7GrgO3KdP+I4XkbYSgjGYYGfmyUQhOvkkJ43pGyhGY2SQNX08lGXp0b6fd07K5/ kxMg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tUTgzQ1RdfDQhSp83XUrUE/EP8dyHlwYNJv0LufB7EI=; b=lE8DVvZKxFIV4vFYA+IYJAL28jNd22FNJwV/y93BFWAvsBhBF6VwrkZKgZWbvucqUT 1SJxsrUgRDlzBjYvCW67w4sINpr0OscelLn+B6sReyZ1kIgYhpWvAo6fh7j+3RB7gvzP aX0OVrsiDvmBW8c6K1G78LKZ+hGNiBgJYWQbULgFrJn4KWt3lzMAy1lQk9M2rKOS1tRs OC3rDD3NS7QXDQGqIirdf7uiscJyzmaxfOdVhs0iiXRzTEP8Q5+cBu/y6WW+1eAiUv4Z aNJoHbHHkOL9XWd0z0xNjlMACpAUFxznGbWTnFHyAWA6NOWxYajT6EOmCek1yz1zIODX UMTw==
X-Gm-Message-State AOAM532MkO33zQS2JR25GESTtFO1x3cjDRwJBC+FjDd5xQ4ap2CIw86I xstnv7D5I66uc7TuA5dzi6vGWYOu950=
X-Google-Smtp-Source ABdhPJwuSDEwf3J/ewfpA5dCi4G81Q2ZXyejn2ianZWsrft7aWL8JCzZZQnqu60dvCE2ymNPp3i68A==
X-Received by 2002:a1c:a784:: with SMTP id q126mr4052987wme.52.1611322928715; Fri, 22 Jan 2021 05:42:08 -0800 (PST)
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
In-Reply-To <CAG0JsGwk=cWqTH_-diyB7CNPm29sn8y5tO16CDzReAEKHEH0Sw@mail.gmail.com>
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 FE73NGRWD4Y5OMRAPWPPXQXDRXTSMGZG
X-Message-ID-Hash FE73NGRWD4Y5OMRAPWPPXQXDRXTSMGZG
X-Mailman-Approved-At Fri, 22 Jan 2021 08:53:39 -0500
X-Mailman-Version 3.3.3rc1
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/FE73NGRWD4Y5OMRAPWPPXQXDRXTSMGZG/>
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>
Xref csiph.com comp.lang.python.announce:3569

Show key headers only | View raw


Hello,

I'm pleased to announce the release of Django-Compat-Patcher 0.10, which 
now includes 67 compatibility shims ranging from Django 1.6 to 3.1

If your Django project is incompatible with a useful pluggable app, or 
if you encounter the depths of dependency hell when attempting to 
mass-upgrade your packages, no panic!

Just drop the 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 is kept 
perfectly functional on Django 3.1.5, while still having Django 1.10 
constructs like "views as dotted strings" (but don't do that for your 
own projects, alternative tools like django-compat or django-codemod can 
help you migrate your own codebase).

Enjoy your decade-long backwards compatibility (and get in touch if some 
compatibility shims are missing for you)

Pascal Chambon

Project homepage : https://github.com/pakal/django-compat-patcher
Download : https://pypi.org/project/django-compat-patcher/0.10/

PS: latest versions of Pip, with the improved dependency solver, might 
block on theoretical dependency conflicts even though 
Django-Compat-Patcher solved them; then you might have to keep using an 
older Pip version, or bypass the Pip dependency resolver, until some 
escape hatches  are implemented in it.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Django-Compat-Patcher 0.10 Released, with Django 3.1 support Pascal Chambon <pythoniks@gmail.com> - 2021-01-22 14:42 +0100

csiph-web