Closed ryboe closed 3 years ago
Hello! thank you for pointing this out and apologies for the delay in responding. Taking a look as we are about to roll a new release.
Thanks for the fix in #147! 🙏 ❤️ Any ETA on the next release?
# pyproject.toml
[tool.poetry.dependencies]
opentok = { git = "https://github.com/opentok/Opentok-Python-SDK.git" }
Grabbing the latest commit removes the dependency on enum34
, but cloning and building opentok from source is causing us lots of build failures. Can you please cut a new release soon? Installing from a wheel would prevent these failures.
Installing opentok (2.10.0 cad138e)
#15 65.15
#15 65.15 CalledProcessError
#15 65.15
#15 65.15 Command '['git', 'clone', '--recurse-submodules', 'https://github.com/opentok/Opentok-Python-SDK.git', '/usr/local/src/opentok']' returned non-zero exit status 128.
#15 65.15
#15 65.15 at ~/.poetry/lib/poetry/utils/_compat.py:218 in run
#15 65.21 214│ raise
#15 65.22 215│ retcode = process.poll()
#15 65.22 216│ if check and retcode:
#15 65.22 217│ raise CalledProcessError(
#15 65.22 → 218│ retcode, process.args, output=stdout, stderr=stderr
#15 65.22 219│ )
#15 65.22 220│ finally:
#15 65.22 221│ # None because our context manager __exit__ does not use them.
#15 65.22 222│ process.__exit__(None, None, None)
#15 65.23
The release is coming next week!!
@ryboe new release is out! thank you for your support! - It's a major release https://pypi.org/project/opentok/
enum34
is the source of a lot of grief and breakages for users of Python 3.5+. Unfortunately,poetry
seems to have a bug reading Opentok'ssetup.py
. It mistakenly thinks Opentok depends onenum34
, even when the Python version is 3.5+.I will open an issue about this on the
poetry
repo, but you could also help solve the problem by dropping support for old Python versions and removingenum34
from yoursetup.py
. Python 3.5 and below have reached end-of-life. If anybody is stuck on an old version of Python, they're welcome to continue using Opentok 2.10.0 or below.