Skip to content

fix: require daily-python>=0.38 to avoid daily module mix-up - #23

Open
Purvab07 wants to merge 1 commit into
VapiAI:mainfrom
Purvab07:fix/pin-daily-python
Open

Purvab07 wants to merge 1 commit into
VapiAI:mainfrom
Purvab07:fix/pin-daily-python

Conversation

@Purvab07

Copy link
Copy Markdown

What

Fixes #16. Related: #9, #17, #19.

requirements.txt listed daily-python with no version. Users can end up with the unrelated daily package, or an old daily-python, and then get AttributeError: module 'daily' has no attribute 'EventHandler'.

How

  • Require daily-python>=0.38, which has EventHandler and the other APIs the SDK uses.
  • Raise python_requires to >=3.9, the minimum current daily-python supports.
  • Add a README troubleshooting note for the daily / daily-python mix-up.

Testing

Installed daily-python 0.38 in a clean virtual environment and checked that import daily; daily.EventHandler works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant