Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 7, 2017

… in setup.py (GH18113).

@brychlicki-reef
Copy link

brychlicki-reef commented Nov 8, 2017

Consider removing the second check in

pandas/setup.py

Line 645 in 2bd0ffc

if suffix == '.pyx' and 'setuptools' in sys.modules:

'setuptools' in sys.modules

is always True

@brychlicki-reef
Copy link

👍
I did not find anything beyond the above #4 (comment) . And I am not that certain it should be removed, it won't fail and documents the actual conditions when the bug described in next line happens. Use your best judgement, I would still lean towards removing it as the path to not having setuptools in setup.py is closed IMO.

@brychlicki-reef
Copy link

brychlicki-reef commented Nov 8, 2017

I also checked if any other dependencies to distutils can be removed, namely I checked if

from distutils.version import LooseVersion
was possibly reimplemented in setuptools and no, it was not, that was a dead end.

@ghost
Copy link
Author

ghost commented Nov 8, 2017

Thank you for the review 👍
Fixed applied according to #4 (comment)

@ghost ghost force-pushed the GH18113 branch 2 times, most recently from 19dcfeb to 58ce358 Compare November 9, 2017 01:22
@codecov-io
Copy link

codecov-io commented Nov 9, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@c634352). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   91.34%           
=========================================
  Files             ?      163           
  Lines             ?    49691           
  Branches          ?        0           
=========================================
  Hits              ?    45388           
  Misses            ?     4303           
  Partials          ?        0
Flag Coverage Δ
#multiple 89.14% <ø> (?)
#single 39.67% <ø> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c634352...62254e5. Read the comment docs.

@ghost ghost force-pushed the GH18113 branch 2 times, most recently from 88c4878 to 8ac8c16 Compare November 10, 2017 17:46
@gkonefal-reef gkonefal-reef force-pushed the GH18113 branch 2 times, most recently from a0c5f6f to 62254e5 Compare November 23, 2017 12:52
PhyNerd and others added 18 commits November 23, 2017 10:29
…#18388)

Added teardowns for hdfstore, io and packers benchmarks.
topper-123 and others added 29 commits November 27, 2017 06:28
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.

BLD: since we already use setuptools, let's remove the optional logic in setup.py