Skip to content

Commit 62a9f40

Browse files
committed
update all-requirements
1 parent f421110 commit 62a9f40

File tree

6 files changed

+33
-27
lines changed

6 files changed

+33
-27
lines changed

.ci/all_requirements.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ ml-dtypes==0.5.1 ; python_version < "3.13" \
194194
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
195195
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
196196
# via -r mlir/python/requirements.txt
197-
nanobind==2.7.0 \
198-
--hash=sha256:73b12d0e751d140d6c1bf4b215e18818a8debfdb374f08dc3776ad208d808e74 \
199-
--hash=sha256:f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34
200-
# via -r mlir/python/requirements.txt
197+
# # WARNING: pip install will require the following package to be hashed.
198+
# # Consider using a hashable URL like https://github.com/jazzband/pip-tools/archive/SOMECOMMIT.zip
199+
# nanobind @ git+https://github.com/wjakob/nanobind
200+
# # via -r mlir/python/requirements.txt
201201
numpy==2.0.2 \
202202
--hash=sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a \
203203
--hash=sha256:11a76c372d1d37437857280aa142086476136a8c0f373b2e648ab2c8f18fb195 \
@@ -383,6 +383,10 @@ swig==4.3.1 \
383383
--hash=sha256:efec16327029f682f649a26da726bb0305be8800bd0f1fa3e81bf0769cf5b476 \
384384
--hash=sha256:fc496c0d600cf1bb2d91e28d3d6eae9c4301e5ea7a0dec5a4281b5efed4245a8
385385
# via -r lldb/test/requirements.txt
386+
typing-extensions==4.15.0 \
387+
--hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
388+
--hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
389+
# via -r mlir/python/requirements.txt
386390
urllib3==2.5.0 \
387391
--hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
388392
--hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc

.ci/monolithic-linux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-outpu
3434
start-group "CMake"
3535
export PIP_BREAK_SYSTEM_PACKAGES=1
3636
pip install -q -r "${MONOREPO_ROOT}"/.ci/all_requirements.txt
37+
pip install -q "nanobind @ git+https://github.com/wjakob/nanobind#53dce4e"
3738

3839
# Set the system llvm-symbolizer as preferred.
3940
export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`

.ci/monolithic-windows.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ runtimes_targets="${4}"
2222

2323
start-group "CMake"
2424
pip install -q -r "${MONOREPO_ROOT}"/.ci/all_requirements.txt
25-
pip install typing_extensions
26-
pip install "nanobind @ git+https://github.com/wjakob/nanobind" --force
25+
pip install -q "nanobind @ git+https://github.com/wjakob/nanobind#53dce4e"
2726

2827
export CC=cl
2928
export CXX=cl

mlir/cmake/modules/AddMLIRPython.cmake

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -742,26 +742,28 @@ function(add_mlir_python_extension libname extname)
742742
# the super project handle compile options as it wishes.
743743
get_property(NB_LIBRARY_TARGET_NAME TARGET ${libname} PROPERTY LINK_LIBRARIES)
744744
target_compile_options(${NB_LIBRARY_TARGET_NAME}
745-
PRIVATE
746-
-Wall -Wextra -Wpedantic
747-
-Wno-c++98-compat-extra-semi
748-
-Wno-cast-qual
749-
-Wno-covered-switch-default
750-
-Wno-nested-anon-types
751-
-Wno-unused-parameter
752-
-Wno-zero-length-array
753-
${eh_rtti_enable})
745+
PRIVATE
746+
-Wall -Wextra -Wpedantic
747+
-Wno-c++98-compat-extra-semi
748+
-Wno-cast-qual
749+
-Wno-covered-switch-default
750+
-Wno-deprecated-literal-operator
751+
-Wno-nested-anon-types
752+
-Wno-unused-parameter
753+
-Wno-zero-length-array
754+
${eh_rtti_enable})
754755

755756
target_compile_options(${libname}
756-
PRIVATE
757-
-Wall -Wextra -Wpedantic
758-
-Wno-c++98-compat-extra-semi
759-
-Wno-cast-qual
760-
-Wno-covered-switch-default
761-
-Wno-nested-anon-types
762-
-Wno-unused-parameter
763-
-Wno-zero-length-array
764-
${eh_rtti_enable})
757+
PRIVATE
758+
-Wall -Wextra -Wpedantic
759+
-Wno-c++98-compat-extra-semi
760+
-Wno-cast-qual
761+
-Wno-covered-switch-default
762+
-Wno-deprecated-literal-operator
763+
-Wno-nested-anon-types
764+
-Wno-unused-parameter
765+
-Wno-zero-length-array
766+
${eh_rtti_enable})
765767
endif()
766768

767769
if(APPLE)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
_mlir/**/*.pyi
1+
_mlir/**/*.pyi

mlir/python/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
nanobind>=2.4, <3.0
1+
nanobind @ git+https://github.com/wjakob/nanobind#53dce4e
22
numpy>=1.19.5, <=2.1.2
33
pybind11>=2.10.0, <=2.13.6
44
PyYAML>=5.4.0, <=6.0.1
55
ml_dtypes>=0.1.0, <=0.6.0; python_version<"3.13" # provides several NumPy dtype extensions, including the bf16
66
ml_dtypes>=0.5.0, <=0.6.0; python_version>="3.13"
7-
typing_extensions
7+
typing_extensions>=4.12.2

0 commit comments

Comments
 (0)