Skip to content

Commit

Permalink
Merge pull request #3037 from wangzhaode/feature/pymnn_release_fix
Browse files Browse the repository at this point in the history
[Bugfix] fix pymnn release for numpy 2.0.
  • Loading branch information
wangzhaode authored Sep 27, 2024
2 parents ddd9a61 + 29e9e19 commit 407a1c1
Showing 1 changed file with 6 additions and 8 deletions.
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

0 comments on commit 407a1c1

Please sign in to comment.