Closed AKShaw closed 5 months ago
Took down my CI pipeline. Keen to get resolved.
Thanks for raising, if someone wants to open a PR I can get a release build going to patch the issue tonight.
Update: Tenacity already knows about it, (see issue here) and have pushed out a new patch fixing the issue.
Tenacity 8.4.0 is broken, but 8.4.1 is fixed. So we probably don't need to fix anything at all, and just upgrading to the latest version of tenacity
is enough to fix the problem.
Great, thanks for reporting the update. Going to close the issue here then
🐛 Bug
When installing papermill, version 8.4.0 of tenacity gets installed as a dependency, but this has an issue that prevents the import from working correctly.
Steps to reproduce
From a fresh environment:
pip install papermill
python
import papermill
> ModuleNotFoundError: No module named 'tenacity.asyncio'
This issue arises from the use of
tenacity==8.4.0
- downgrading totenacity==8.3.0
solves this issue. I think setting https://github.com/nteract/papermill/blob/main/requirements.txt#L8 totenacity >= 5.0.2,<8.4.0
would solve this.Feel free to reach out for any additional information!