pytorch / data

A PyTorch repo for data loading and utilities to be shared by the PyTorch domain libraries.
BSD 3-Clause "New" or "Revised" License
1.12k stars 149 forks source link

removesuffix is not available 3.8, thus reverting the changes to rstrip #1239

Closed gokulavasan closed 6 months ago

gokulavasan commented 6 months ago

Without these changes, it will result in CI failing. When 3.8 support is dropped, this change can be landed.

Fixes #{issue number}

Changes

facebook-github-bot commented 6 months ago

@gokulavasan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 6 months ago

@gokulavasan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 6 months ago

@gokulavasan merged this pull request in pytorch/data@de72b34c32b6fed5220a9e3f6d0a5ff8d1e28218.