From 09957c38ca07f47a14e31b56d1fecc63461f79ad Mon Sep 17 00:00:00 2001 From: Matt Rixman <5834582+MatrixManAtYrService@users.noreply.github.com> Date: Mon, 12 Dec 2022 19:43:54 -0700 Subject: [PATCH] Version restriction on cmudict Hi, I noticed [this](https://github.com/prosegrinder/python-cmudict/issues/32) which makes me think that new versions of `cmudict` have broken `pronouncing`. I noticed that my problems go away if I explicitly install cmudict like: ```Dockerfile pip install cmudict==1.0.2 ``` So I think it's likely that other users of your library would also benefit from this version restriction. That said, I haven't actually tested the change that I'm proposing here, it's just a hunch. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 47c9aec..8a5af20 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ history = history_file.read().replace('.. :changelog:', '') requirements = [ - 'cmudict>=0.4.0' + 'cmudict>=0.4.0,<=1.0.2' ] test_requirements = [