Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Fix build_ext in case where Cython is not available but required and installed via setup_requires - #452

Merged
astrofrog merged 1 commit into
astropy:masterfrom
astrofrog:fix-build-ext
Feb 8, 2019
Merged

astrofrog merged 1 commit into
astropy:masterfrom
astrofrog:fix-build-ext

Conversation

@astrofrog

Copy link
Copy Markdown
Member

See the comment in the code here - basically if cython was needed and specified in setup_requires, things didn't work correctly because we imported setuptools' build_ext command too soon.

@astrofrog astrofrog added this to the v3.2 milestone Feb 7, 2019
@codecov

codecov Bot commented Feb 7, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #452 into master will increase coverage by 0.17%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #452      +/-   ##
==========================================
+ Coverage   77.38%   77.56%   +0.17%     
==========================================
  Files          11       11              
  Lines        1026     1034       +8     
==========================================
+ Hits          794      802       +8     
  Misses        232      232
Impacted Files Coverage Δ
astropy_helpers/commands/build_ext.py 92.3% <100%> (+0.74%) ⬆️

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 f3744da...8305cd0. Read the comment docs.

@bsipocz bsipocz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I trust you have tested this with your PR for astropy core and it works with it as expected.

@astrofrog
astrofrog merged commit 5605ff4 into astropy:master Feb 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants