-
Notifications
You must be signed in to change notification settings - Fork 537
BF: install requires configparser #1697
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
Conversation
|
@yarikoptic I just confirmed that we missed out configparser from the requirements. It is important to note that the list of requirements is not given by the Thanks for spotting this :) EDIT: I just realized this is a PR itself, closed mine (duplicated). |
Current coverage is 70.75% (diff: 100%)@@ master #1697 diff @@
==========================================
Files 1030 1030
Lines 51764 51764
Methods 0 0
Messages 0 0
Branches 7327 7327
==========================================
Hits 36628 36628
Misses 14045 14045
Partials 1091 1091
|
|
we should update this in |
|
@satra - absolutely right, with setuptools, the requirements.txt files are a bit misleading. They are useful when you want to set up an specific environment (for instance, the requirements_rtd.txt for readthedocs is the perfect example). In practice, we shouldn't use requirements.txt in travis or circle (and I guess they are there, I will submit a PR for it ASAP, if I confirm we are doing this). We could keep the +1 to remove the |
|
I notice that |
|
@matthew-brett - it should install configparser for https://github.com/nipy/nipype/blob/master/nipype/info.py#L148 |
|
Right - sorry - I should have said - I was testing on Python 2.7 - it does not install configparser. Does it install configparser for you? |
|
Here's me installing into a fresh Python 2.7 virtualenv: |
|
@matthew-brett - i did not test with pip from pypi after pushing the wheel. looks like the wheel file is the issue. if you do: i had created the wheel with: |
|
Is there any cost to installing configparser on Python >= 3.4? If not, then I guess you could just rebuild the wheel with Python 2.7 (so it picks up the dependency). Use build tags to upload the wheel - see https://github.com/MacPython/wiki/wiki/Build-Tags . Otherwise, I guess you'll have to either remove the wheel or make different wheels for Python < 3.4 and Python >= 3.4, making sure that you're building with a Python giving the correct result for the |
|
Checking now, I think installing configparser has no effect on Python 3.5, importing configparser gets the system version. |
|
@matthew-brett - thank you. for the moment i deleted the wheel file, just keeping the source file in pypi. since nipype doesn't really have any binary components it should work just fine. |
otherwise - kaboom: