-
Notifications
You must be signed in to change notification settings - Fork 97
Build + Support Py39 and Various CI Updates #270
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
Oh wow. Nice, @JacksonMaxfield. Briefly on the trade-off: @jakirkham suggests that moving to the upstream wheels will be doable and advantageous but will require a number of changes throughout the build system. Once done, it would mean that this repo could be python only. (But no one has yet started on that work) But it looks like you are close so worth moving forward? If so, moving to codecov is completely valid and has been done elsewhere in the org. For that matter, I could see ignoring leaving it temporarily as a TODO as we figure out the other questions. |
Sorry, is this saying I should add the blosc wheel support to this PR or saying handling it in the future. I am a bit afraid to touch any of the |
.github/workflows/wheel.yaml
Outdated
@@ -9,7 +9,7 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
os: [ubuntu-18.04, windows-latest, macos-latest] | |||
os: [ubuntu-18.04, ubuntu-20.04, windows-latest, macos-latest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really necessary, or can we build wheel only on one of the two linux ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think both are needed. So I will just replace with ubuntu-latest
.
I've disable making Appveyor mandatory if we move to gh-action so this can be merged even with appveyor failing. I'm +1 on moving to codecov as well. |
I think we can wait for the migration to the blosc wheel, i will likely not need to touch c/pyx beyond deleting them though, but might need minimal API change internally; I think there was a discussion to at least bump the minor version when we do that. |
The latter.
Exactly. ;) Sorry for being unclear. |
This looks really good! Thanks for working on this Jackson 😄 Did we want to add Windows to GitHub Actions as well? |
That should be pretty easy to do. Just didn't see any windows CI stuff in the repo besides the wheel building. I will add it in later today. |
@jakirkham I spoke too soon. It seems that there is semi-known weird numpy + pickle interaction which results in a single one of the tests failing. Specifically the backwards compatibility test on pickles. StackOverflow explaining the issue. I think it has to do with the Alright if I skip that test on Windows? |
Thanks Jackson! 😄 Yeah that sounds like a good idea. Maybe we can mark it as |
Sounds good! Should be good to go w/ the latest Windows CI passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for adding that 🙂
Made a small suggestion to the xfail comment. Otherwise LGTM
Co-authored-by: jakirkham <[email protected]>
I've also checked the box to disable AppVeyor builds when |
Thanks again Jackson! 😄 |
Thank you all for making this package to begin with 🙂 |
Hey @jakirkham any chance to bumpversion and release to support py39? |
Tagged & pushed. 🤞🏼 |
Last update before I head to bed: my tests now pass w/ Mac Py39 support so hopefully not jinxing it when I say "seems like everything worked" 🙂 |
Should now have wheels and Conda packages. |
@jakirkham : on that note, it looked like in docs/contributing.rst that I should take the checksum of the local .tar.gz?? Can you explicame a bit? |
Ah that's outdated. We can drop that. I think that was when we were still using GitHub archives instead of PyPI as the source of conda-forge packages |
Fixing the doc in PR ( #272 ) |
I was originally trying to get
numcodecs
for py39 + macOS building as I have a build failing, but, in working on this:In addressing the CI changes, I tried to figure out the
travis
andappveyor
prior setups but it was a bit tricky. The one missing thing iscoveralls
which has a GitHub Action that we could use but didn't know how you wanted to handle that. (Sidenote: other option is to move to codecov which is very easy to setup in my experince)Reference Issues:
#262
#261
#269
TODO:
tox -e py39
passes locallytox -e docs
passes locally