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

PXP-3408 Update Sheepdog to Python3 #314

Merged
merged 41 commits into from
Jan 6, 2020
Merged

PXP-3408 Update Sheepdog to Python3 #314

merged 41 commits into from
Jan 6, 2020

Conversation

itsJiaqi
Copy link
Contributor

@itsJiaqi itsJiaqi commented Oct 21, 2019

New Features

  • Updated Dockerfile to use Python3
  • ran 2to3 for syntax changes
  • updated travis to ignore py2.7 failures

Breaking Changes

Dependency updates

  • bumped indexd to 2.3.0
  • updated indexclient to 2.0.0
  • psqlgraph to release/py3 branch to be compatible to python3
  • Updated lxml from 3.8.0 -> 4.4.0 (versions <4.0.0 are not compatible with python3)

Deployment changes

  • Fix Travis coverage reports (combine the results of all 3 tests into one coverage report).

@@ -14,8 +14,7 @@ Sphinx==1.6.5
sphinx_rtd_theme
flasgger==0.9.1
-e git+https://git@github.com/uc-cdis/cdisutils-test.git@0.0.1#egg=cdisutilstest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulineribeyre do you know if cdisutils-test need to be updated?

Copy link
Contributor

@paulineribeyre paulineribeyre Oct 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cdisutilstest has already been updated to python 3 (version 1.0.0 🎉)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll bump it to 1.0.0 here then.

@@ -81,7 +82,7 @@ def app(tmpdir, request):
dictionary_setup(_app)
# this is to make sure sqlite is initialized
# for every unit test
reload(default_settings)
imp.reload(default_settings)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same!

@PlanXCyborg
Copy link

PlanXCyborg commented Nov 4, 2019

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@lgtm-com
Copy link

lgtm-com bot commented Nov 14, 2019

This pull request introduces 1 alert when merging aff7ae9 into af48394 - view on LGTM.com

new alerts:

  • 1 for Redundant assignment

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.

5 participants