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

Use oldest-supported-numpy in wheel building #131

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

benjeffery
Copy link
Member

Fixes #129

@codecov
Copy link

codecov bot commented Jun 15, 2020

Codecov Report

Merging #131 into master will decrease coverage by 1.32%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
- Coverage   99.70%   98.37%   -1.33%     
==========================================
  Files           7        8       +1     
  Lines        1000     1166     +166     
  Branches       64       64              
==========================================
+ Hits          997     1147     +150     
- Misses          1       17      +16     
  Partials        2        2              
Flag Coverage Δ
#C 98.37% <ø> (-1.33%) ⬇️
#python 96.85% <ø> (?)
Impacted Files Coverage Δ
python/_kastoremodule.c 90.36% <0.00%> (ø)

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 7fb05b4...9f0ae24. Read the comment docs.

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

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

LGTM - one minor comment

@@ -24,10 +24,13 @@ jobs:
env:
PYTHON: "py -${{ matrix.python }}-${{ matrix.wordsize }}"
shell: bash
# Instead of letting setup.py install a newer numpy we install it here
# using the oldest supported version for ABI compatibility
run: |
set -ex
${PYTHON} -m pip install --upgrade pip
${PYTHON} -m pip install setuptools wheel cython
Copy link
Member

Choose a reason for hiding this comment

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

Does cython pull in numpy? If so, maybe better to install oldest-supported-numpy first?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed cython

@benjeffery
Copy link
Member Author

@jeromekelleher Removed cython - should be ready to go.

@jeromekelleher
Copy link
Member

Great, thanks @benjeffery. Let's give it a go!

@jeromekelleher jeromekelleher merged commit df4e6ed into tskit-dev:master Jun 20, 2020
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.

oldest-supported-numpy needs to go into wheel building
2 participants