-
Notifications
You must be signed in to change notification settings - Fork 8
BLD: use cibuildwheel to create wheel matrix #21
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
44754e1
BLD: try cibuildwheel
tangkong 91fbf74
BLD: use cibuildwheel action
tangkong 2b105a7
BLD: make epicscorelibs available before build
tangkong a8a39bf
BLD: make pyepics available before build
tangkong d4f0a5f
BLD: pip --no-build-isolation
tangkong 8280bb9
BLD: try explicitly linking LD_LIBRARY_PATH
tangkong b6d9729
BLD: skip pypy builds
tangkong 41f8d4c
BLD: re-enable wheel repair, expand build matrix
tangkong 62e7197
BLD: adjust before all step, show env for debugging
tangkong 6508706
BLD: move installs to before_build
tangkong db0e1a7
BLD: set library path right before wheel
tangkong cdf8e72
BLD: extend library path instead of overwriting
tangkong 3f18074
BLD: clean up unused commands, path setting
tangkong f80046d
BLD: whoops dangling &&
tangkong 0e8a308
BLD: add windows, macos platforms
tangkong 927b0dc
BLD: use DYLD_LIBRARY_PATH for macos runner
tangkong 7b02faa
BLD: remove windows, pthread not available on windows. Add test impo…
tangkong dc32d23
BLD: I forgot another &&
tangkong 406817d
BLD: include numpy for conda builds
tangkong cd059a4
BLD: autoupdate pre-commit
tangkong 7b9db80
BLD/TST: try pinning package version in conda recipe for simplicity o…
tangkong 1a09f48
BLD: fetch-depth=0 to grab all tags
tangkong 4a9357a
BLD: explicitly fetch tags
tangkong 35d630b
BLD: use build to make wheels, try to trigger setuptools_scm
tangkong 502c26e
BLD: use proper isolation flag
tangkong 009107a
BLD: specify all build dependencies
tangkong d16e97e
BLD: separate build and test workflows, set up framework for twine up…
tangkong 998c149
BLD: rename build wheels workflow
tangkong b398ed2
BLD: activate wheel build on tag
tangkong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
|
|
||
| def get_library_paths(): | ||
| try: | ||
| from epicscorelibs.path import lib_path | ||
| print(lib_path) | ||
| except ImportError: | ||
| return | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| get_library_paths() |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
In the PR here, this ends up building wheels marked at version 0.0.0. Is this expected for the non-tag build?
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 haven't sorted this bit out yet. I saw this on my fork and hoped that it was just missing tags.
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.
It looks like all the other cibuildwheel examples end up either collecting the tag ahead of time or setting it statically. I'll deal with this in a similar way, maybe
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.
Some more digging, setuptools_scm generates the version files on import or build. Turns out we had been using the old default wheel build method (
python -m pip wheel), and switching this topython -m buildgenerates those files properly.