seandstewart / typical

Typical: Fast, simple, & correct data-validation using Python 3 typing.
https://python-typical.org
MIT License
183 stars 9 forks source link

Version conflicts installed the pinned typing-extensions #198

Closed timcera closed 1 year ago

timcera commented 2 years ago

Description

Starting to use typical, and recently installed my package which also has a dependency on "rich". "rich" requires "typing-extensions" > 4 and "typical" has "typing-extensions" pinned to 3.10.0.2.

What I Did

Searched "typing-extensions" in the "typical" github repository and it isn't used in any code - so there must be a deeper reason why "typical" needs the pinned version.

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
seandstewart commented 1 year ago

Hey @timcera -

Apologies for the long delay here, I've been head down on v3 for a while and unfortunately missed this.

It seems like typing-extensions has changed their versioning schema and no longer follows major Python versions. I will get a patch out to make this pin more flexible asap.

seandstewart commented 1 year ago

Hey @timcera -

Wanted to follow up here - turns out there are numerous breaking changes in typing-extensions > 4. While this doesn't affect the everyday user, it has drastic impacts on this library. I'm still working to suss out all the details.