Skip to content

Conversation

@jeongseok-meta
Copy link
Contributor

Summary:
Fix linking error when importing geometry from pymomentum PyPI package:

Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Differential Revision: D85474531

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 24, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Oct 24, 2025

@jeongseok-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85474531.

@jeongseok-meta jeongseok-meta mentioned this pull request Oct 24, 2025
2 tasks
jeongseok-meta added a commit that referenced this pull request Oct 24, 2025
Summary:

Fix linking error when importing geometry from pymomentum PyPI package:

```
Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE
```

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Reviewed By: cdtwigg

Differential Revision: D85474531
jeongseok-meta added a commit that referenced this pull request Oct 25, 2025
Summary:
Pull Request resolved: #727

Fix linking error when importing geometry from pymomentum PyPI package:

```
Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE
```

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Reviewed By: cdtwigg

Differential Revision: D85474531
jeongseok-meta added a commit that referenced this pull request Oct 25, 2025
Summary:
Pull Request resolved: #727

Fix linking error when importing geometry from pymomentum PyPI package:

```
Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE
```

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Reviewed By: cdtwigg

Differential Revision: D85474531
jeongseok and others added 2 commits October 25, 2025 05:10
…oad the correct commit data.

Differential Revision: D85488266
Summary:
Fixed incorrect template-id syntax in the destructor definition of `MultiposeSolverFunctionT<T>`. The destructor was incorrectly defined as `~MultiposeSolverFunctionT<T>()` but should be `~MultiposeSolverFunctionT()` per C++ standard - template-ids are not allowed after the destructor operator.

This error was caught by conda-forge builds but not by Meta's internal diff signals because the external pymomentum CI job is currently disabled in GitHub workflows to reduce costs, and internal Buck builds apparently succeed with different compiler flags.

Differential Revision: D85457060
jeongseok-meta added a commit that referenced this pull request Oct 25, 2025
Summary:
Pull Request resolved: #727

Fix linking error when importing geometry from pymomentum PyPI package:

```
Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE
```

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Reviewed By: cdtwigg

Differential Revision: D85474531
Summary:
Pull Request resolved: #727

Fix linking error when importing geometry from pymomentum PyPI package:

```
Python 3.12.11 (main, Sep  2 2025, 14:20:58) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymomentum.geometry
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/jeongseok/dev/tmp/.venv/lib/python3.12/site-packages/pymomentum/geometry.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZTVN4axel3BvhIdLm4EEE
```

This was not caught by any of the CI, which is odd but could happen with different compiler settings.

Reviewed By: cdtwigg

Differential Revision: D85474531
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Oct 25, 2025

This pull request has been merged in 6d39339.

@jeongseok-meta jeongseok-meta deleted the export-D85474531 branch October 27, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants