python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 386 forks source link

chore(core): pin pytest to 7.1.3 #690

Closed bringhurst closed 1 year ago

bringhurst commented 1 year ago

Why is this needed?

This change is intended to avoid errors like the following at build (tox) time:

ModuleNotFoundError: No module named 'py'

pytest removed the dependency on py in:

https://github.com/pytest-dev/pytest/commit/19dda7c9bdc8ef71c792e0f77a9595bfad8d9248

This change pins the version of pytest to one that includes py until a path forward can be agreed on (e.g. include py explicitly or via a transitive dependency).

Proposed Changes

Does this PR introduce any breaking change?

No. This change affects build/test only.

bringhurst commented 1 year ago

Closing this. Although this is a problem -- the real issue I was seeing is that tox-wheel is deprecated and doesn't work with tox 4. See https://github.com/python-zk/kazoo/pull/691 instead.