Skip to content

[pre-commit.ci] pre-commit autoupdate#2330

Draft
pre-commit-ci[bot] wants to merge 2 commits intomainfrom
pre-commit-ci-update-config
Draft

[pre-commit.ci] pre-commit autoupdate#2330
pre-commit-ci[bot] wants to merge 2 commits intomainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci bot commented Apr 6, 2026

pre-commit-ci bot added 2 commits April 6, 2026 16:29
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](astral-sh/ruff-pre-commit@v0.14.10...v0.15.9)
- [github.com/astral-sh/uv-pre-commit: 0.9.21 → 0.11.3](astral-sh/uv-pre-commit@0.9.21...0.11.3)
- [github.com/crate-ci/typos: v1.42.0 → v1](crate-ci/typos@v1.42.0...v1)
@pre-commit-ci pre-commit-ci bot requested a deployment to external-pr-approval April 6, 2026 16:30 Waiting
@pre-commit-ci pre-commit-ci bot requested a deployment to external-pr-approval April 6, 2026 16:30 Waiting
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
1984 4 1980 392
View the top 3 failed test(s) by shortest run time
TestBasicExamples::test_basic.example_basic_joints_cpu
Stack Traces | 13.7s run time
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\tests\unittest_utils.py", line 284, in test_func
    func(self, device, **kwargs)
  File "D:\a\newton\newton\newton\tests\test_examples.py", line 183, in run
    test.assertEqual(
AssertionError: 1 != 0 : Failed with return code 1, command: coverage run --data-file=C:\Users\RUNNER~1\AppData\Local\Temp\tmpz076t_mq\tmpzbgo9nuj -m newton.examples.basic.example_basic_joints --device cpu --test --quiet --viewer null

Output:
Warp 1.12.1 initialized:
   CUDA Toolkit 12.9, CUDA driver not available (NVRTC compilation available)
   Devices:
     "cpu"      : "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD"
   Kernel cache:
     \\?\C:\Users\runneradmin\AppData\Local\NVIDIA\warp\Cache\1.12.1

##################################################################
#  PXR_WORK_THREAD_LIMIT is overridden to '1'.  Default is '0'.  #
##################################################################
Warp CUDA warning: Could not find or load the NVIDIA CUDA driver. GPU execution will not be available.
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\examples\basic\example_basic_joints.py", line 297, in <module>
    newton.examples.run(example, args)
  File "D:\a\newton\newton\newton\examples\__init__.py", line 296, in run
    example.test_post_step()
  File "D:\a\newton\newton\newton\examples\basic\example_basic_joints.py", line 225, in test_post_step
    newton.examples.test_body_state(
  File "D:\a\newton\newton\newton\examples\__init__.py", line 77, in test_body_state
    warp_test_fn, _ = wp.utils.create_warp_function(test_fn)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\utils.py", line 711, in create_warp_function
    func = wp.Function(
           ^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\context.py", line 245, in __init__
    self.adj = warp._src.codegen.Adjoint(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\codegen.py", line 1070, in __init__
    adj.tree = ast.parse(adj.source)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\ast.py", line 52, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<unknown>", line 3
    and wp.length(wp.spatial_bottom(qd)) < 1e-5
IndentationError: unexpected indent
TestSelectionAPIExamples::test_selection.example_selection_cartpole_cpu
Stack Traces | 20.7s run time
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\tests\unittest_utils.py", line 284, in test_func
    func(self, device, **kwargs)
  File "D:\a\newton\newton\newton\tests\test_examples.py", line 183, in run
    test.assertEqual(
AssertionError: 1 != 0 : Failed with return code 1, command: coverage run --data-file=C:\Users\RUNNER~1\AppData\Local\Temp\tmpz076t_mq\tmp9a4hbiob -m newton.examples.selection.example_selection_cartpole --device cpu --test --quiet --viewer null --num-frames 10

Output:
Warp 1.12.1 initialized:
   CUDA Toolkit 12.9, CUDA driver not available (NVRTC compilation available)
   Devices:
     "cpu"      : "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD"
   Kernel cache:
     \\?\C:\Users\runneradmin\AppData\Local\NVIDIA\warp\Cache\1.12.1
Articulation '/cartPole': 16
  Link count:     4 (contiguous)
  Shape count:    4 (contiguous)
  Joint count:    4 (contiguous)
  DOF count:      3 (contiguous)
  Fixed base?     True
  Floating base?  False
Link names:
  ['rail', 'cart', 'pole1', 'pole2']
Joint names:
  ['rootJoint', 'railCartJoint', 'cartPoleJoint', 'polePoleJoint']
Joint DOF names:
  ['railCartJoint', 'cartPoleJoint', 'polePoleJoint']
Shapes:
  Link 'rail': ['rail']
  Link 'cart': ['cart']
  Link 'pole1': ['pole1']
  Link 'pole2': ['pole2']

##################################################################
#  PXR_WORK_THREAD_LIMIT is overridden to '1'.  Default is '0'.  #
##################################################################
Warp CUDA warning: Could not find or load the NVIDIA CUDA driver. GPU execution will not be available.
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\examples\selection\example_selection_cartpole.py", line 243, in <module>
    newton.examples.run(example, args)
  File "D:\a\newton\newton\newton\examples\__init__.py", line 303, in run
    example.test_final()
  File "D:\a\newton\newton\newton\examples\selection\example_selection_cartpole.py", line 184, in test_final
    newton.examples.test_body_state(
  File "D:\a\newton\newton\newton\examples\__init__.py", line 125, in test_body_state
    raise ValueError(f'Test "{test_name}" failed for the following bodies: [{", ".join(failed_details)}]')
ValueError: Test "cart only moves along y direction" failed for the following bodies: [/cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail, /cartPole/rail]
TestRobotExamples::test_robot.example_robot_cartpole_cpu
Stack Traces | 22.7s run time
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\tests\unittest_utils.py", line 284, in test_func
    func(self, device, **kwargs)
  File "D:\a\newton\newton\newton\tests\test_examples.py", line 183, in run
    test.assertEqual(
AssertionError: 1 != 0 : Failed with return code 1, command: coverage run --data-file=C:\Users\RUNNER~1\AppData\Local\Temp\tmpz076t_mq\tmphlnji0t_ -m newton.examples.robot.example_robot_cartpole --device cpu --test --quiet --viewer null --num-frames 10

Output:
Warp 1.12.1 initialized:
   CUDA Toolkit 12.9, CUDA driver not available (NVRTC compilation available)
   Devices:
     "cpu"      : "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD"
   Kernel cache:
     \\?\C:\Users\runneradmin\AppData\Local\NVIDIA\warp\Cache\1.12.1

##################################################################
#  PXR_WORK_THREAD_LIMIT is overridden to '1'.  Default is '0'.  #
##################################################################
Warp CUDA warning: Could not find or load the NVIDIA CUDA driver. GPU execution will not be available.
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\examples\robot\example_robot_cartpole.py", line 207, in <module>
    newton.examples.run(example, args)
  File "D:\a\newton\newton\newton\examples\__init__.py", line 303, in run
    example.test_final()
  File "D:\a\newton\newton\newton\examples\robot\example_robot_cartpole.py", line 137, in test_final
    newton.examples.test_body_state(
  File "D:\a\newton\newton\newton\examples\__init__.py", line 77, in test_body_state
    warp_test_fn, _ = wp.utils.create_warp_function(test_fn)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\utils.py", line 711, in create_warp_function
    func = wp.Function(
           ^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\context.py", line 245, in __init__
    self.adj = warp._src.codegen.Adjoint(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\codegen.py", line 1070, in __init__
    adj.tree = ast.parse(adj.source)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\ast.py", line 52, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<unknown>", line 3
    and abs(qd[1]) > 0.05
IndentationError: unexpected indent
TestBasicExamples::test_basic.example_basic_shapes_cpu
Stack Traces | 57.8s run time
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\tests\unittest_utils.py", line 284, in test_func
    func(self, device, **kwargs)
  File "D:\a\newton\newton\newton\tests\test_examples.py", line 183, in run
    test.assertEqual(
AssertionError: 1 != 0 : Failed with return code 1, command: coverage run --data-file=C:\Users\RUNNER~1\AppData\Local\Temp\tmpz076t_mq\tmpp_33mz1e -m newton.examples.basic.example_basic_shapes --device cpu --test --quiet --viewer null --num-frames 150

Output:
Warp 1.12.1 initialized:
   CUDA Toolkit 12.9, CUDA driver not available (NVRTC compilation available)
   Devices:
     "cpu"      : "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD"
   Kernel cache:
     \\?\C:\Users\runneradmin\AppData\Local\NVIDIA\warp\Cache\1.12.1

##################################################################
#  PXR_WORK_THREAD_LIMIT is overridden to '1'.  Default is '0'.  #
##################################################################
Warp CUDA warning: Could not find or load the NVIDIA CUDA driver. GPU execution will not be available.
D:\a\newton\newton\newton\_src\sim\collide.py:617: UserWarning: NarrowPhase running on CPU: mesh-mesh contacts will be skipped (SDF-based mesh-mesh collision requires CUDA). Use a CUDA device for full mesh-mesh contact support.
  self.narrow_phase = NarrowPhase(
Traceback (most recent call last):
  File "D:\a\newton\newton\newton\examples\basic\example_basic_shapes.py", line 245, in <module>
    newton.examples.run(example, args)
  File "D:\a\newton\newton\newton\examples\__init__.py", line 303, in run
    example.test_final()
  File "D:\a\newton\newton\newton\examples\basic\example_basic_shapes.py", line 189, in test_final
    newton.examples.test_body_state(
  File "D:\a\newton\newton\newton\examples\__init__.py", line 77, in test_body_state
    warp_test_fn, _ = wp.utils.create_warp_function(test_fn)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\utils.py", line 711, in create_warp_function
    func = wp.Function(
           ^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\context.py", line 245, in __init__
    self.adj = warp._src.codegen.Adjoint(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\newton\newton\.venv\Lib\site-packages\warp\_src\codegen.py", line 1070, in __init__
    adj.tree = ast.parse(adj.source)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\ast.py", line 52, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<unknown>", line 3
    and abs(q[1] - cylinder_q[1]) < 0.01
IndentationError: unexpected indent

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@preist-nvidia preist-nvidia added this to the 1.2 Release milestone Apr 7, 2026
@shi-eric shi-eric removed the request for review from Kenny-Vilella April 8, 2026 15:35
@shi-eric shi-eric marked this pull request as draft April 8, 2026 15:36
@shi-eric
Copy link
Copy Markdown
Member

shi-eric commented Apr 8, 2026

We should handle this update manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants