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
Add python3 support #196
Merged
Merged
Add python3 support #196
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2b7df58
ENH: Add dependency to "six" project to facilitate support of both py…
jcfr 62c511d
ENH: py3: Use "six.string_types" instead of "basestring"
jcfr d1862d1
ENH: py3: Update code to use "print" function.
jcfr 62e367e
ENH: py3: Use "six.next()" instead of "it.next()
jcfr bac8af1
ENH: py3: Use "six.iteritems()" instead of "dict.iteritems()"
jcfr 3890702
ENH: py3: Use "six.moves.range()" instead of "xrange()"
jcfr f8ab5da
ENH: py3: Use "except Exception as exc" syntax
jcfr 6317a52
ENH: py3: Directly compare test settings instead of using "cmp" funct…
jcfr a7a6d60
STYL: py3: Use "print" function in notebooks and documentation.
jcfr 76fb4ee
ENH: py3: Convert output of dict.keys() from dict_keys to a list
jcfr a1c2cc6
BUG: py3: testUtils: Fix opening of baselineFile
jcfr a572427
BUG: Fix use of updated SimpleITK ConstantPadImage and CropImage filters
JoostJM 13ba365
BUG: py3: Fix iteration error in GLRLM
JoostJM 8a950d9
BUG: py3: Update testUtils function to work with nose by casting to "…
jcfr 9f9f9e3
BUG: py3: Fix RadiomicsShape._getMaximum2Ddiameter
JoostJM 346b4fc
ci: Enable py3 testing on Appveyor (Windows) and CircleCI (Linux)
jcfr 2a25157
ci: Do not test for Python 3.3. Numpy packages are not available.
jcfr 41e4791
STYL: Remove unused and obsolete radiomics.in_py3 variable
jcfr de8ee88
ci: manylinux: Avoid sdist failure with workaround for distutils/setu…
jcfr File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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.
Doesn't this mean that python 3.x testing for Mac is still disabled?
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.
Indeed. Waiting for SimpleITK wheels, we do not have a choice. See https://itk.org/SimpleITKDoxygen/html/PyDownloadPage.html
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.
There are however conda packages for SimpleITK, would it make sense to get the mac tests working on miniconda/anaconda (https://anaconda.org/simpleitk/simpleitk) instead of standard python?
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.
@jcfr ?
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.
That would make sense, the idea would be to submit a recipe to conda-forge. With that in place, the package would be available on conda on linux, macosx and windows.
That said, conda-forge recipe are updated only when there is a release of the package. If you would like to setup continuous integration using miniconda, you would have to set it up on your own.
I currently do not have the bandwidth to set miniconda CI up for pyradiomics, in the mean time I would be happy to review PR.
@blowekamp Do we know when macosx wheels will be available for python 35 ?
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 was just working on some scripts for the 1.0 release... I'll see if I can run them on the release branch too like the recent x86_64 0.10.0.post3 wheel.