FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoiding conflict with numpy for static build by shadchin · Pull Request #1446 · libgit2/pygit2 · GitHub

Repository navigation

Avoiding conflict with numpy for static build - #1446

Merged
jdavid merged 1 commit into
libgit2:masterfrom
shadchin:patch-1
Jan 6, 2026
Merged

jdavid merged 1 commit into
libgit2:masterfrom
shadchin:patch-1

Conversation

shadchin commented Jan 6, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

numpy also defines this symbol - https://github.com/numpy/numpy/blob/7f804860112f31d92771c97201246b9c425f4b79/numpy/_core/src/umath/_rational_tests.c#L1100

If you build statically, there will be a name conflict. Common practice is to write static PyMethodDef module_methods[] = ....

Related numpy/numpy#30585

jdavid merged commit 6ce62a2 into libgit2:master Jan 6, 2026
14 checks passed
shadchin deleted the patch-1 branch January 6, 2026 11:04
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
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.

2 participants


Back | FazBrowse Home | New Git URL