Skip to content
Snippets Groups Projects

Insert proper patch for py37+ support on dataclasses

Merged André Anjos requested to merge dataclasses-py37+ into master

The patch is proposed on https://github.com/ericvsmith/dataclasses/pull/161 on goes beyond what I did for this package in the past.

It (gracefully) falls-back to the built-in dataclasses on python 3.7+ instead of replacing that library.

This package was added here to stop pytorch=1.7 from complaining during installation. pytorch depends (wrongly) on dataclasses for any version of Python, whereas this should be done, only for python<3.7. A fix will only be available on pytorch=1.8 (but that may take another couple of weeks to show).

Closes bob/bob.ip.binseg#5

Edited by André Anjos

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading