spectacles-ci / spectacles

A continuous integration tool for Looker and LookML.
https://spectacles.dev
MIT License
217 stars 35 forks source link

Spectacles connect fails because of incorrect httpx version installed #728

Closed lakovicUros closed 9 months ago

lakovicUros commented 1 year ago

Since 11th of September our CLI spectacles tests are failing. Even though the httpx version specified in the requirements.txt file is 0.23.0, 0.25.0 gets installed instead. https://pypi.org/project/httpx/#history

ERROR: httpx 0.25.0 has requirement httpcore<0.19.0,>=0.18.0, but you'll have httpcore 0.15.0 which is incompatible. Encountered unexpected TypeError: "__init__() got an unexpected keyword argument 'socket_options'"

We solved the issue by changing commands to: pip install spectacles && pip install httpx==0.23.0

Nevertheless, it would be great for this to be solved so we don't have to continue specifying httpx version in the future.

joshtemple commented 9 months ago

Should be resolved now as our current dependency for these libraries is:

httpx = "^0.26.0"
httpcore = ">=1.0.3"