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

Hpy update #4

Merged
merged 2 commits into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions numpy/core/src/multiarray/arrayobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1833,4 +1833,5 @@ NPY_NO_EXPORT HPyType_Spec PyArray_Type_spec = {
.flags = (HPy_TPFLAGS_DEFAULT | HPy_TPFLAGS_BASETYPE),
.defines = array_defines,
.legacy_slots = PyArray_Type_slots,
.legacy = true,
};
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires = [
"setuptools<49.2.0",
"wheel<=0.35.1",
"Cython>=0.29.21,<3.0", # Note: keep in sync with tools/cythonize.py
"hpy.devel @ git+https://github.com/hpyproject/hpy.git@5953dc7d4d8fd8c5179c75bded3ff514ffde4323#egg=hpy.devel"
"hpy.devel @ git+https://github.com/hpyproject/hpy.git@2a494355757e98a4187f88255aafd524fc632f78#egg=hpy.devel"
]


Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ cffi
mypy==0.790; platform_python_implementation != "PyPy"
typing_extensions
# HPy
git+https://github.com/hpyproject/hpy.git@5953dc7d4d8fd8c5179c75bded3ff514ffde4323#egg=hpy.devel
git+https://github.com/hpyproject/hpy.git@2a494355757e98a4187f88255aafd524fc632f78#egg=hpy.devel
3 changes: 1 addition & 2 deletions tools/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ if [ -n "$PYTHON_OPTS" ]; then
fi

# make some warnings fatal, mostly to match windows compilers
# werrors="-Werror=vla -Werror=nonnull -Werror=pointer-arith"
werrors="-Werror=nonnull -Werror=pointer-arith"
werrors="-Werror=vla -Werror=nonnull -Werror=pointer-arith"
werrors="$werrors -Werror=implicit-function-declaration"

# build with c99 by default
Expand Down