Skip to content

fix: prevent NumPy 2 ABI mismatches - #3615

Merged
LauraGPT merged 1 commit into
modelscope:mainfrom
LauraGPT:codex/pin-numpy-one-abi
Sep 2, 2026
Merged

LauraGPT merged 1 commit into
modelscope:mainfrom
LauraGPT:codex/pin-numpy-one-abi

Conversation

@LauraGPT

@LauraGPT LauraGPT commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • constrain the core NumPy dependency to the supported NumPy 1 ABI
  • add a packaging contract test for the bound

Validation

  • python -m pytest -q tests/test_pypi_metadata.py tests/test_top_level_import.py tests/test_moss_transcribe_diarize_model.py tests/test_moss_transcribe_diarize_docs.py tests/test_server_app_openai_segments.py tests/test_docs_funasr_install_commands.py (73 passed)
  • python -m pip wheel --no-deps --wheel-dir /tmp/funasr-numpy-abi-wheel .
  • wheel metadata contains Requires-Dist: numpy<2

Signed-off-by: LauraGPT 18321252+LauraGPT@users.noreply.github.com

Signed-off-by: LauraGPT <18321252+LauraGPT@users.noreply.github.com>
@LauraGPT
LauraGPT merged commit 4dc6e5d into modelscope:main Sep 2, 2026
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.

1 participant