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

Move pytest-runner and numpy from setup_requires to install requires in setup.py #345

Merged
merged 1 commit into from Jul 15, 2018

Conversation

Danila89
Copy link

@Danila89 Danila89 commented Jul 8, 2018

There is an issue with setup_requires when installing the packages not from pypi (for example in our office we use artifactory instead). When you're doing pip install fastparquet it tries to install packages from setup_requires by easy_install from the default source (pypi) ignoring all the configs. If you don't have access to pypi the setup fails although you do have all the sources for requirements at the artifactory. I've moved packages from setup_requires to install_requires thus they are installed by pip with respect to pip.conf.

'pytest-runner',
[p for p in install_requires if p.startswith('numpy')][0]
],
# remove wierd setup_requires to get rid of easy_install
Copy link
Member

Choose a reason for hiding this comment

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

Leaving comments here probably just confuses people

@martindurant
Copy link
Member

Is there any chance that you can explicitly try this with the conda-forge feedstock, to make sure that the change here doesn't effect the building of the conda package?

@Danila89
Copy link
Author

Actually I'm using pip, so I can't be sure that it doesn't affect building conda package.

@martindurant martindurant merged commit 14a6af6 into dask:master Jul 15, 2018
javabrett added a commit to javabrett/fastparquet that referenced this pull request Feb 20, 2019
This reverts commit 14a6af6.

setup.py requires setup_requires including numpy - numpy must be installed
before the fastparquet wheel build.

The changes made in dask#345 and now reverted can be instead managed through
configuration of distutils.

Fixes dask#389.

Signed-off-by: Brett Randall <javabrett@gmail.com>
martindurant pushed a commit that referenced this pull request Feb 20, 2019
This reverts commit 14a6af6.

setup.py requires setup_requires including numpy - numpy must be installed
before the fastparquet wheel build.

The changes made in #345 and now reverted can be instead managed through
configuration of distutils.

Fixes #389.

Signed-off-by: Brett Randall <javabrett@gmail.com>
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.

None yet

2 participants