Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP django monkey-patcher #51

Closed
pakal opened this issue Sep 29, 2016 · 2 comments
Closed

WIP django monkey-patcher #51

pakal opened this issue Sep 29, 2016 · 2 comments

Comments

@pakal
Copy link

pakal commented Sep 29, 2016

Hello,

i'm planning a sprint at pyconfr to build a django compatibility module, which wouldn't behave like an intermediate module (like six for py3k, or like django-compat for django), but directly monkey-patch django with log-lifespan shims.

Thus, django webmaster who want to upgrade wouldn't have to fork/monkeypatch all their broken dependencies, and minor django upgrades would REALLY be minor (i.e would NOT rename/remove methods and attributes used by tons of unmaintained libs).

Would you be OK with integrating this monkey-patching utility to django-compat, to have an all-in-one solution, for BOTH library maintainers and library users ?

@jvamvas
Copy link
Contributor

jvamvas commented Oct 11, 2016

Hello @pakal, it's certainly going to be interesting to see how your idea plays out. Good luck! :)

@pakal
Copy link
Author

pakal commented Jan 22, 2017

Well DCP is kinda production-ready nows (though it needs more real-life uses), I used it successfully on a big site.

I linked to django-compat from its repository, for people who need a six-like compatibility layer for a reusable app, and not a project-wide compatibility enforcer.

I don't know if merging both projects would be worth since they somehow target different people (reusable app developers VS project maintainers), but feel free to link to DCP from your own doc B-)

https://github.com/pakal/django-compat-patcher

Any opinion about it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants