Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
packaging
version for minimal install
Summary: As explained in pypa/packaging#631, `packaging v22` completely removes `version.LegacyVersion`. This change breaks `compat.py`. Unfortunately we cannot check for the version of `packaging` inside of `compat.py`, because `version.parse()` used to return a `version.LegacyVersion` in certain instances, but will now throw an error. Until a more robust fix is developed, we will have to lock the version of `packaging<22` to avoid build errors. Reviewed By: peiyizhang Differential Revision: D42275881 fbshipit-source-id: 9eae10b9400efd24b02b2142d219b8a22d16d99e
- Loading branch information