Skip to content

Conversation

fritzo
Copy link
Member

@fritzo fritzo commented Sep 15, 2023

Addresses #3234

This replaces the unmaintained and difficult-to-install lap dependency with scipy.optimize.linear_sum_assignment. This is important because lap requires an old version of setuptools, and @dependabot has recommended pinning to a newer version of setuptools that fixes a vulnerability. This PR does not attempt to pin setuptools yet.

This PR also fixes a bug in assert_equal() for integer tensors whereby some assertions were not being checked.

Tested

  • refactoring is covered by existing tests
  • removed pytest.skip from affected tests
  • fixed a bug in assert_equal() for integer tensors

Copy link
Member

@eb8680 eb8680 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing this!

@eb8680 eb8680 merged commit 3b6cae3 into dev Sep 20, 2023
@eb8680 eb8680 deleted the replace-lap branch September 20, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants