-
Notifications
You must be signed in to change notification settings - Fork 48
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
Chore/python3 #646
Merged
Merged
Chore/python3 #646
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
4653cea
chore(python3): 2to3
paulineribeyre edc944c
chore(python3): fix some things
paulineribeyre 0e3099f
chore(python3): fix more things
paulineribeyre 9aaf024
chore(python3): this test never should have passed...
paulineribeyre 2aa361c
chore(python3): remove py2 compatibility imports
paulineribeyre 46fce29
chore(python3): fix failing oidc tests + other stuff
paulineribeyre 13ad2ca
chore(python3): fix some more tests
paulineribeyre a1cfeac
chore(python3): Exception.message does not exist in py3
paulineribeyre 525ce4c
fix deprecation warning
paulineribeyre 79d1da7
chore(python3): python 3 dockerfile
paulineribeyre 604d105
chore(python3): fix deployment (squash)
paulineribeyre 0099a74
chore(python3): run integration tests
paulineribeyre 83471db
master rebase
paulineribeyre 8d4be60
chore(python3): black
paulineribeyre 941f912
chore(python3): post integration tests fixes
paulineribeyre c3b2e3e
master rebase
paulineribeyre 545ec0d
chore(python3): 2to3 + black
paulineribeyre 9db625d
use wool check instead of travis
paulineribeyre 928b382
codacy fixes
paulineribeyre 11132a9
Merge branch 'master' into chore/python3
Avantol13 0daa0f0
chore(python3): pin dependencies
paulineribeyre cd1f788
Merge branch 'master' of github.com:uc-cdis/fence into chore/python3
paulineribeyre e73c7fa
chore(python3): pin storageclient
paulineribeyre 8613c07
chore(python3): small fixes
paulineribeyre 46af1ba
master rebase
paulineribeyre 71e22c7
chore(python3): dockerrun.bash chmod 644 to 755
paulineribeyre 19f8eb9
trigger jenkins
paulineribeyre 7974071
Merge branch 'master' into chore/python3
paulineribeyre addd965
chore(python3): fix privacy policy tests
paulineribeyre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
workflow "Run python formatter" { | ||
on = "pull_request" | ||
resolves = ["Run wool"] | ||
} | ||
|
||
action "Run wool" { | ||
uses = "uc-cdis/wool@master" | ||
secrets = ["GITHUB_TOKEN"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ python: | |
|
||
matrix: | ||
allow_failures: | ||
- python: "3.6" | ||
- python: "2.7" | ||
|
||
sudo: false | ||
|
||
|
@@ -15,9 +15,6 @@ cache: pip | |
addons: | ||
postgresql: "9.4" | ||
|
||
env: | ||
- REPOSITORY="uc-cdis/fence" PR_NUMBER="$TRAVIS_PULL_REQUEST" | ||
|
||
install: | ||
- pip uninstall -y six || true # travis installs wrong version | ||
- pip uninstall -y userdatamodel || true | ||
|
@@ -27,7 +24,6 @@ install: | |
- python setup.py install | ||
- psql -U postgres -c "create database fence_test_tmp" | ||
- if [[ $TRAVIS_PYTHON_VERSION != 3.6 ]]; then userdatamodel-init --db fence_test_tmp; fi | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -e git+https://[email protected]/uc-cdis/wool.git#egg=wool; fi | ||
- pip list | ||
|
||
before_script: | ||
|
@@ -42,4 +38,3 @@ script: | |
after_script: | ||
- python-codacy-coverage -r coverage.xml | ||
- COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN coveralls | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 && $PR_NUMBER != false ]]; then wool; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!groovy | ||
|
||
@Library('cdis-jenkins-lib@master') _ | ||
@Library('cdis-jenkins-lib@chore/python3') _ | ||
|
||
testPipeline { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from fence import app_init, app | ||
|
||
app_init(app) | ||
application = app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from urlparse import urlparse | ||
from urllib.parse import urlparse | ||
|
||
import flask | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a specific reason for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i didn't update the shibboleth dockerfile to work with python 3 code for now, I discussed with Rudy and he said master fence probably won't be deployed to the commons that's using this dockerfile