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

[Python3 and Django2.2 upgrade] part 5 - Bulk update: Drop __future__ imports #631

Closed

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Jul 21, 2020

Only tests should pass. Container does not work
Related to #602

EDIT: Tests don't pass (anymore), but pass in Django 2.2 related branches (part 6, 7, 8)

…orts

 # Conflicts:
 #	onadata/apps/api/south_migrations/0002_auto__add_project__add_unique_project_name_organization.py
 #	onadata/apps/api/south_migrations/0003_auto__add_projectxform__add_unique_projectxform_xform_project.py
 #	onadata/apps/logger/south_migrations/0024_auto__add_field_xform_allows_sms__add_field_xform_sms_id_string.py
 #	onadata/apps/logger/south_migrations/0024_auto__chg_field_attachment_mimetype.py
 #	onadata/apps/logger/south_migrations/0025_auto__add_field_xform_encrypted.py
 #	onadata/apps/logger/south_migrations/0025_sms_id_string_filling.py
 #	onadata/apps/logger/south_migrations/0026_auto__chg_field_xform_sms_id_string__add_unique_xform_sms_id_string_us.py
 #	onadata/apps/logger/south_migrations/0027_added_instance_is_deleted.py
 #	onadata/apps/logger/south_migrations/0028_update_is_deleted_field.py
 #	onadata/apps/logger/south_migrations/0029_auto__chg_field_attachment_mimetype__add_field_xform_encrypted__add_fi.py
 #	onadata/apps/logger/south_migrations/0030_auto__add_field_xform_num_of_submissions.py
 #	onadata/apps/logger/south_migrations/0030_auto__add_ziggyinstance.py
 #	onadata/apps/logger/south_migrations/0031_auto__add_field_xform_last_submission_time.py
 #	onadata/apps/logger/south_migrations/0031_auto__add_field_ziggyinstance_form_version.py
 #	onadata/apps/logger/south_migrations/0032_added_xform_to_ziggy_submissions.py
 #	onadata/apps/logger/south_migrations/0033_add_model_Note.py
 #	onadata/apps/logger/south_migrations/0033_auto__chg_field_xform_id_string.py
 #	onadata/apps/logger/south_migrations/0034_add_field_Instance_json.py
 #	onadata/apps/logger/south_migrations/0035_fill_json.py
 #	onadata/apps/logger/south_migrations/0036_auto__chg_field_xform_sms_id_string.py
 #	onadata/apps/logger/south_migrations/0037_auto__del_field_instance_start_time__del_field_instance_date.py
 #	onadata/apps/logger/south_migrations/0038_auto__del_field_instance_is_deleted.py
 #	onadata/apps/logger/south_migrations/0039_auto__del_field_xform_surveys_with_geopoints__add_field_xform_instance.py
 #	onadata/apps/logger/south_migrations/0040_auto__add_field_instance_geom.py
 #	onadata/apps/logger/south_migrations/0041_convert_lng_lat_to_points.py
 #	onadata/apps/logger/south_migrations/0042_remove_odk_prefix.py
 #	onadata/apps/logger/south_migrations/0043_xform_title_255.py
 #	onadata/apps/logger/south_migrations/0044_auto__del_field_xform_is_crowd_form.py
 #	onadata/apps/logger/south_migrations/0045_auto__add_field_xform_require_auth.py
 #	onadata/apps/main/forms.py
 #	onadata/apps/main/google_doc.py
 #	onadata/apps/main/google_export.py
 #	onadata/apps/main/models/google_oath.py
 #	onadata/apps/main/registration_urls.py
 #	onadata/apps/main/registration_views.py
 #	onadata/apps/main/south_migrations/0009_auto__add_field_userprofile_address__add_field_userprofile_phonenumber.py
 #	onadata/apps/main/south_migrations/0010_auto__add_field_userprofile_created_by.py
 #	onadata/apps/main/south_migrations/0011_auto__add_field_userprofile_num_of_submissions.py
 #	onadata/apps/main/south_migrations/0012_auto__add_unique_metadata_xform_data_type_data_value.py
 #	onadata/apps/main/south_migrations/0013_auto__add_field_metadata_file_hash.py
 #	onadata/apps/main/south_migrations/0014_added_metadata_field_to_user_profile.py
 #	onadata/apps/main/tests/test_form_api.py
 #	onadata/apps/main/tests/test_form_api_delete.py
 #	onadata/apps/main/tests/test_form_edit.py
 #	onadata/apps/main/tests/test_form_enter_data.py
 #	onadata/apps/main/tests/test_form_gallery.py
 #	onadata/apps/main/tests/test_form_metadata.py
 #	onadata/apps/main/tests/test_form_permissions.py
 #	onadata/apps/main/tests/test_form_public_api.py
 #	onadata/apps/main/tests/test_google_doc.py
 #	onadata/apps/main/tests/test_google_docs_export.py
 #	onadata/apps/main/tests/test_style.py
 #	onadata/apps/main/tests/test_user_settings.py
 #	onadata/apps/main/views.py
 #	onadata/apps/sms_support/__init__.py
 #	onadata/apps/sms_support/autodoc.py
 #	onadata/apps/sms_support/models.py
 #	onadata/apps/sms_support/parser.py
 #	onadata/apps/sms_support/providers/__init__.py
 #	onadata/apps/sms_support/providers/smssync.py
 #	onadata/apps/sms_support/providers/telerivet.py
 #	onadata/apps/sms_support/providers/textit.py
 #	onadata/apps/sms_support/providers/twilio.py
 #	onadata/apps/sms_support/tests/__init__.py
 #	onadata/apps/sms_support/tests/test_base_sms.py
 #	onadata/apps/sms_support/tests/test_notallowed.py
 #	onadata/apps/sms_support/tests/test_parser.py
 #	onadata/apps/sms_support/tools.py
 #	onadata/apps/sms_support/views.py
 #	onadata/apps/survey_report/__init__.py
 #	onadata/apps/survey_report/templatetags/__init__.py
 #	onadata/apps/survey_report/templatetags/data_manipulation.py
 #	onadata/apps/survey_report/urls.py
 #	onadata/apps/survey_report/views.py
 #	onadata/apps/viewer/south_migrations/0014_auto__add_field_export__status.py
 #	onadata/apps/viewer/south_migrations/0015_auto__del_field_export__status__add_field_export_internal_status.py
 #	onadata/apps/viewer/south_migrations/0016_auto__add_field_export_export_url.py
 #	onadata/apps/viewer/south_migrations/0017_remove_odk_prefix.py
 #	onadata/apps/viewer/tests/test_data_view.py
 #	onadata/apps/viewer/tests/test_instance_view.py
 #	onadata/libs/authentication.py
 #	onadata/libs/utils/analyser_export.py
 #	onadata/libs/utils/google.py
 #	onadata/libs/utils/model_tools.py
 #
…-py3-remove-extend-object

 # Conflicts:
 #	onadata/apps/main/google_doc.py
…3-django2

 # Conflicts:
 #	kobocat-template/templates/base.html
 #	onadata/apps/logger/models/xform.py
 #	onadata/apps/logger/tests/test_webforms.py
 #	onadata/apps/main/google_export.py
 #	onadata/apps/main/registration_urls.py
 #	onadata/apps/main/tests/test_form_api.py
 #	onadata/apps/main/tests/test_form_api_delete.py
 #	onadata/apps/main/tests/test_form_edit.py
 #	onadata/apps/main/tests/test_form_enter_data.py
 #	onadata/apps/main/tests/test_form_gallery.py
 #	onadata/apps/main/tests/test_form_permissions.py
 #	onadata/apps/main/tests/test_form_public_api.py
 #	onadata/apps/main/tests/test_google_docs_export.py
 #	onadata/apps/main/tests/test_process.py
 #	onadata/apps/main/tests/test_user_settings.py
 #	onadata/apps/main/urls.py
 #	onadata/apps/main/views.py
 #	onadata/apps/sms_support/providers/smssync.py
 #	onadata/apps/sms_support/providers/telerivet.py
 #	onadata/apps/sms_support/providers/textit.py
 #	onadata/apps/sms_support/providers/twilio.py
 #	onadata/apps/sms_support/tools.py
 #	onadata/apps/survey_report/urls.py
 #	onadata/apps/survey_report/views.py
 #	onadata/apps/viewer/tests/test_data_view.py
 #	onadata/apps/viewer/tests/test_instance_view.py
 #	onadata/apps/viewer/views.py
…orts

 # Conflicts:
 #	onadata/apps/api/tools.py
 #	onadata/apps/main/views.py
 #	onadata/libs/permissions.py
 #	onadata/libs/serializers/metadata_serializer.py
 #	onadata/libs/serializers/xform_serializer.py
 #	onadata/libs/utils/export_tools.py
 #	onadata/libs/utils/user_auth.py
…-py3-remove-extend-object

 # Conflicts:
 #	onadata/apps/api/viewsets/xform_list_api.py
 #
 # It looks like you may be committing a merge.
 # If this is not correct, please remove the file
 #	.git/MERGE_HEAD
 # and try again.
…3-django2

 # Conflicts:
 #	dependencies/pip/requirements.in
 #	onadata/apps/api/tools.py
 #	onadata/apps/logger/models/xform.py
 #	onadata/apps/logger/views.py
 #	onadata/libs/serializers/metadata_serializer.py
@noliveleger
Copy link
Contributor Author

Closed in favor of #679

@noliveleger noliveleger closed this Mar 4, 2021
@noliveleger noliveleger deleted the kobokitten-py3-drop-__future__-imports branch March 11, 2021 21:35
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

Successfully merging this pull request may close these issues.

2 participants