ci: upgrade `pip` for 3.11 on macOS
ci: upgrade `pip` for 3.11 on macOS

Applying same workaround as in
https://github.com/python-poetry/poetry/pull/6586.

python-poetry/poetry-core,python-poetry/poetry-core,python-poetry/poetry-core