-
Notifications
You must be signed in to change notification settings - Fork 128
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
Installation conflict with other watsons #274
Comments
If nothing else, it would be great if we can make this watson "relocatable" to |
There's an issue here, in that the "watson" namespace is used in database tables too. Anything that depends on "watson" will have to update not only their It's pretty unfortunate that PyPi lets this happen. But there's a precedent of django-related projects having a How about all the different "watson" packages are just marked as conflicting in the Debian package metadata? That's a pretty accurate representation of what's happening here. I have a feeling that most people use pip/virtualenv/pipenv to manage dependencies rather than the system package manager anyway. |
Django now has a workaround for this with app "label"s. Usually this works. This would be part of the distro patching. The one type of Django naming which is unsolved afaik is route namespaces, but that only causes problems when two apps use the same namespace. We dont have two Django apps here, so I think we should be ok. Agree re PyPI, very poor metadata historically, but getting better.
Yup, agreed.
Absolutely. And solving the system packaging problem should not be at the expense of those users, and doesnt need to be rushed.
It is only going to impact people who use distro packages for their Django server, which is a very limited subset. But still I take your point, it isnt the best outcome, and arguably even |
Interesting points. Thanks for looking into this so thoroughly. I ultimatately don't mind if you make a distro-specific patch, and would be happy to tweak the Let me know what decision you come to, and if there's anything I can do to help out! :) |
At least https://github.com/watsonpy/watson-framework and https://github.com/TailorDev/Watson also install as 'watson' into site-packages. The latter is PyPI
td-watson
and is already packaged by distros, at least openSUSE which I do packaging for.https://pypi.org/project/Watson/ may also, but it looks like it might be abandonware.
c.f. barseghyanartur/django-nine#2 for a similar issue, where a django package was renamed. If you are interested in going down that route, I would be happy to assist trying to make it as painless as possible.
In this case, django-watson was the 'first' by a few years, and it also has higher stats at https://pypistats.org/packages/django-watson than the other two, but those stats exclude distro installs. td-watson does have higher GitHub stars ;-) I'm just starting the conversation here, as this is the package I want to add to openSUSE and it has a conflict with an existing package. I'm open to all ideas, and dragging in the other maintainers as well to find the best solution.
The text was updated successfully, but these errors were encountered: