title: pip install throwing TypeError after updating every pip package
body: <p>I ran an update to every pip package:</p>
  <p><code>pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U</code></p>
  <p>After that I'm running to a problem with: <code>pip install pygame</code></p>
  <p>Is throwing an error:</p>
  <pre><code>Defaulting to user installation because normal site-packages is not writeable
  ERROR: Exception:
  Traceback (most recent call last):
    File &quot;/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py&quot;, line 223, in _main
      status = self.run(options, args)
    File &quot;/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py&quot;, line 180, in wrapper
      return func(self, options, args)
    File &quot;/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py&quot;, line 320, in run
      requirement_set = resolver.resolve(
    File &quot;/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py&quot;, line 121, in resolve
      self._result = resolver.resolve(
    File &quot;/home/user/.local/lib/python3.10/site-packages/resolvelib/resolvers.py&quot;, line 481, in resolve
      state = resolution.resolve(requirements, max_rounds=max_rounds)
    File &quot;/home/user/.local/lib/python3.10/site-packages/resolvelib/resolvers.py&quot;, line 348, in resolve
      self._add_to_criteria(self.state.criteria, r, parent=None)
    File &quot;/home/user/.local/lib/python3.10/site-packages/resolvelib/resolvers.py&quot;, line 147, in _add_to_criteria
      matches = self._p.find_matches(
  TypeError: PipProvider.find_matches() got an unexpected keyword argument 'identifier'
  
  </code></pre>
  <p>pip version: 20.3.4
  python version: 3.10.1</p>