Skip to content
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

[Bugfix] fix pymnn release for numpy 2.0. #3037

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions pymnn/pip_package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ requires = [
"setuptools>=42",
"wheel",
"ninja; sys_platform == 'windows'",
"numpy==1.13.3; python_version<'3.5'",
"oldest-supported-numpy; python_version>='3.5'",
"numpy"
]

build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
test-skip = [
"cp36-*",
"*-macosx_arm64"
"*-macosx_arm64",
"*-macosx_x86_64"
]
test-requires = [
"opencv-python==4.6.0.66",
"opencv-python",
"numpy",
"torch"
]
Expand All @@ -30,9 +30,8 @@ test-command = [
archs = ["native"]
build = "cp*-macosx_*"
before-all = [
"pip3 install torch",
"pushd pymnn/pip_package",
"python3 build_deps.py --torch",
"python3 build_deps.py",
"popd"
]
repair-wheel-command = ""
Expand All @@ -41,9 +40,8 @@ repair-wheel-command = ""
build = "cp*-manylinux*"
skip = "pp*"
before-all = [
"yum install -y wget",
"pushd pymnn/pip_package",
"python3 build_deps.py --torch",
"python3 build_deps.py",
"popd"
]
archs = ["native"]
Expand Down
Loading