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

[bindings] Re-enable some gym test cases on macOS #22112

Merged

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Nov 1, 2024

This involves deferring the import of the non-hermetic dumpster fire known as matplotlib.pyplot until it is needed, so that unit tests are not exposed to it.

Closes #21577.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added priority: low status: single reviewer ok https://drake.mit.edu/reviewable.html release notes: none This pull request should not be mentioned in the release notes labels Nov 1, 2024
@jwnimmer-tri jwnimmer-tri force-pushed the numpy2-reenable-tests branch from b035c85 to b3ee1b7 Compare November 2, 2024 16:48
@jwnimmer-tri jwnimmer-tri marked this pull request as ready for review November 2, 2024 17:58
@jwnimmer-tri
Copy link
Collaborator Author

+@sammy-tri for both reviews per schedule, please.

Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee sammy-tri(platform)

@sammy-tri sammy-tri merged commit e46ea5b into RobotLocomotion:master Nov 6, 2024
9 checks passed
@jwnimmer-tri jwnimmer-tri deleted the numpy2-reenable-tests branch November 6, 2024 18:34
cohnt added a commit to cohnt/drake that referenced this pull request Nov 7, 2024
Merge remote-tracking branch 'upstream/master' into gcs-preprocessing-parallel

[tools] Suppress more Valgrind false positives in MOSEK (RobotLocomotion#22140)

Update parsing infrastructure (RobotLocomotion#22102)

1. MultibodyPlant::RegisterVisualGeometry() can now take a GeometryInstance.
  - Clean up documentation.
  - Extend tests to include what is *actually* done.
2. SDF parser makes use of new API.
   - Stop returning optional<unique_ptr<>> (simply return the unique ptr).
   - Instead of constructing, deconstructing, and reconstructing geometry
     instances, we just pass the instance.
[schema] Add Rotation::Sample (RobotLocomotion#22113)

This bring it on par with Transform::Sample.
Move the warning on small-size PSD matrix to each solver backend. (RobotLocomotion#22136)

[solvers] Fix Gurobi console logging config to happen first (RobotLocomotion#22134)

[bindings] Re-enable some gym test cases on macOS (RobotLocomotion#22112)

[drake_gym] Add info_handler callback (RobotLocomotion#21900)

Set gradient sparsity pattern in LorentzConeConstraint and RotatedLorentzConeConstraint. (RobotLocomotion#22125)

Merge master.

Drop a TODO.

Fix bug when inadvertantly trying to preprocess edges into the start and goal vertex.

Hold a limited number of programs in memory at one time.

Move the construction of the preprocessing program to a separate function for better portability.

Merge up-to-date version of SolveInParallel.

Merge in preprocessing solver options behavior from branch.

wip

lint

Use the preprocessing solver options even if a specific preprocessing solver is not specified.

Fix another segfault.

Bring back the parallelization, revealing the segfault.

Update this test to reflect the new error message.

First pass at parallelizing PreprocessShortestPath.

Fix a segfault when initial_guesses is unset.

Temporarily disable the parallelism for debugging.

finalize interface

wip
RussTedrake pushed a commit to RussTedrake/drake that referenced this pull request Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low release notes: none This pull request should not be mentioned in the release notes status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NumPy 2.0 support (AttributeError: "itemset")
2 participants