pip-tools
pip-tools copied to clipboard
Remove duplicate PyPIRepository().finder.find_all_candidates cache
Hi! I believe that PyPIRepository()._available_candidates_cache
is redundant, as PackageFinder().find_all_candidates
has been lru_cache
d since Pip 20.3 (https://github.com/pypa/pip/commit/1dd6d562789b06dc1508212505e32f36bd71d310).
Contributor checklist
- [ ] Provided the tests for the changes.
- [x] Assure PR title is short, clear, and good to be included in the user-oriented changelog
Maintainer checklist
- [ ] Assure one of these labels is present:
backwards incompatible
,feature
,enhancement
,deprecation
,bug
,dependency
,docs
orskip-changelog
as they determine changelog listing. - [ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).