-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BLD: Build shared c dependencies as a library #47081
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
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
13aa2f9
BLD: Build shared c dependencies as a library
lithomas1 6cd1449
Update action.yml
lithomas1 8325ff8
clean
lithomas1 9128cd5
Merge branch 'c-shared-library' of github-other.com:lithomas1/pandas …
lithomas1 9e09243
Merge branch 'main' into c-shared-library
lithomas1 b5545a7
change np_datetime.c references to be to the library (#16)
Dr-Irv 21d121e
Merge branch 'main' into c-shared-library
lithomas1 8f92177
Merge branch 'main' into c-shared-library
lithomas1 681eacb
pre-commit
lithomas1 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,4 @@ runs: | |
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index | ||
shell: bash -el {0} | ||
env: | ||
# Cannot use parallel compilation on Windows, see https://github.com/pandas-dev/pandas/issues/30873 | ||
# GH 47305: Parallel build causes flaky ImportError: /home/runner/work/pandas/pandas/pandas/_libs/tslibs/timestamps.cpython-38-x86_64-linux-gnu.so: undefined symbol: pandas_datetime_to_datetimestruct | ||
N_JOBS: 1 | ||
#N_JOBS: ${{ runner.os == 'Windows' && 1 || 2 }} | ||
N_JOBS: 4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might still be worth aligning this with the number of core on the GH hosted runners (2 Window/Linux, 3 MacOS): https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources= |
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
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.
Unless this address's @simonjayhawkins #47081 (comment) I would prefer to keep this at
N_JOBS: 1
Otherwise, I would suggest this be specific to the number of cores available on GHA hosted runners by OS: #47081 (comment)
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've needed to restart a few workflows this last week or so as they fail on the initial build, but it maybe once it is fixed that the initial build is successful, that subsequent incremental builds for commits in the range of the last couple of weeks could also be successful.
And it could also be that if this is a reoccurring problem that I can change the workflow to repeat the previous build step if the pandas import fails.
so I am happy that any comments/concerns are fully addressed before merging this.