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

Update to Python3 #154

Merged
merged 24 commits into from
Jan 6, 2020
Merged

Update to Python3 #154

merged 24 commits into from
Jan 6, 2020

Conversation

itsJiaqi
Copy link
Contributor

@itsJiaqi itsJiaqi commented Dec 3, 2019

New Features

Python 3 🎉

Breaking Changes

  • Python 3 Support (not expected to be backwards compatible)

Dependency updates

  • bumped dependencies to python3 compatible versions
  • also bumped Jinja2 and urllib3 for security compliance

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2019

This pull request introduces 5 alerts and fixes 5 when merging 4e19db7 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for Unused import
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 4 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2019

This pull request introduces 4 alerts and fixes 6 when merging 2b65b02 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 4, 2019

This pull request introduces 4 alerts and fixes 6 when merging 427b9ed into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 4, 2019

This pull request introduces 4 alerts and fixes 6 when merging c2b2814 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 5, 2019

This pull request introduces 4 alerts and fixes 6 when merging b62e778 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 5, 2019

This pull request introduces 4 alerts and fixes 6 when merging 94e5cb9 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 6, 2019

This pull request introduces 4 alerts and fixes 6 when merging d57fb1f into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 6, 2019

This pull request introduces 4 alerts and fixes 6 when merging 9beb33f into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2019

This pull request introduces 4 alerts and fixes 6 when merging b47e4eb into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2019

This pull request introduces 4 alerts and fixes 5 when merging 92c6cf1 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@github-actions
Copy link

github-actions bot commented Dec 9, 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 Dec 9, 2019

This pull request introduces 4 alerts and fixes 5 when merging 2a53c43 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Dec 10, 2019

This pull request introduces 4 alerts and fixes 5 when merging df4904f into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Dec 10, 2019

This pull request introduces 4 alerts and fixes 5 when merging 7a1cf20 into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Dec 13, 2019

This pull request introduces 4 alerts and fixes 5 when merging 0eea9aa into 25956da - view on LGTM.com

new alerts:

  • 2 for Module is imported with 'import' and 'import from'
  • 1 for 'import *' may pollute namespace
  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

peregrine/resources/submission/graphql/node.py Outdated Show resolved Hide resolved
peregrine/utils/json2csv.py Outdated Show resolved Hide resolved
peregrine/utils/json2csv.py Outdated Show resolved Hide resolved
tests/graphql/test_graphql.py Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
peregrine/utils/request.py Outdated Show resolved Hide resolved
peregrine/utils/request.py Outdated Show resolved Hide resolved
bin/setup_psqlgraph.py Outdated Show resolved Hide resolved
bin/setup_psqlgraph.py Outdated Show resolved Hide resolved
bin/setup_psqlgraph.py Outdated Show resolved Hide resolved
tests/graphql/test_graphql.py Outdated Show resolved Hide resolved
TestDockerfile Outdated Show resolved Hide resolved
peregrine/resources/submission/__init__.py Outdated Show resolved Hide resolved
peregrine/resources/submission/graphql/__init__.py Outdated Show resolved Hide resolved
six==1.10.0
urllib3==1.24.1
wsgiref==0.1.2
six==1.12.0
Copy link
Contributor

Choose a reason for hiding this comment

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

what do we need six for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we don't, deleting

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing it caused travis to fail so I added it back. It's weird because psqlgraph does use six but it also specifies in setup.py so not sure why it's not being properly installed on travis.

Copy link
Contributor

Choose a reason for hiding this comment

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

ugh, ok

requirements.txt Outdated Show resolved Hide resolved
dev-requirements.txt Outdated Show resolved Hide resolved
tests/graphql/conftest.py Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Jan 2, 2020

This pull request introduces 1 alert and fixes 5 when merging 21719a8 into 25956da - view on LGTM.com

new alerts:

  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Jan 2, 2020

This pull request introduces 1 alert and fixes 5 when merging 816a1f0 into 25956da - view on LGTM.com

new alerts:

  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Jan 2, 2020

This pull request introduces 1 alert and fixes 5 when merging 99d79d3 into 25956da - view on LGTM.com

new alerts:

  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Jan 3, 2020

This pull request introduces 1 alert and fixes 5 when merging 8b58566 into feece74 - view on LGTM.com

new alerts:

  • 1 for 'input' function used

fixed alerts:

  • 5 for Unused import

Copy link
Contributor

@paulineribeyre paulineribeyre left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@vpsx vpsx left a comment

Choose a reason for hiding this comment

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

!!

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.

3 participants