-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Green tests using Py3 - Part 2 #5138
Conversation
0901711
to
c1c714d
Compare
@smotornyuk can you merge master into this? For some reason Github is not picking up the changes from Part 1 |
Done |
All good, only one text failure after merging master |
Updated - all green again |
💥 let's get down to business! Thanks for your work on this @smotornyuk |
@smotornyuk Do not use paste.fileapp c1c714d ckan/ckan/controllers/package.py Line 11 in da2da8e
Should that be changed too? |
No, you can ignore it. Controllers are not used in 2.9 and just left in codebase for reference |
Wouldn't it make sense to remove controllers? It is a confusing reference, since it is code referring to an old version, which is no more supported. |
They are already removed in master. In 2.9 we decided not to remove them in order to simplify backports of fixed issues. Now we are trying to do backports as soon as the fix got merged into master, so such a measure has no value(and controllers are removed from master anyway). But as we are trying not to change much in the existing branch, nobody has removed controllers:) |
I wouldn't remove controllers from 2.9 as they are still used if you run ckan on python 2 and removing them would essentially drop python2 support. |
Ok, sorry, I missed that :) |
Or at least the extensions might rely on those controllers existing, if not in use directly by ckan :) |
Follows #5134