replit-py
                                
                                 replit-py copied to clipboard
                                
                                    replit-py copied to clipboard
                            
                            
                            
                        Can't use "typing-extensions" with the Replit package installed
With the replit package installed, installing the typing-extensions package isn't possible:

Steps to repro:
- Use poetry to install the replitpackage
- Install the typing-extensionspackage
- Should produce the error in the above screenshot
Bump: Is this actively maintained?
Seems like a version conflict. ~~This library needs to update its version of typing-extensions.~~ You'll have to use this library's typing-extensions, since it seems like v4 is backwards-incompatible with this library's current version.
Using an older te is not sufficient, v4 has a lot of commonly used extensions like NotRequired
This library is not currently being maintained
Then why is it still used on replit?
If you aren't maintaining it, you should probably add a warning.
for now, do any of:
- poetry add typing_extensions@^3.7.4- but many other packages would have updated to v4, so they become incompatible
- poetry add git+https://github.com/noneofyourbusiness1415252/replit-py(fork that bumps the- typing_extensionsversion up)
- Wait for #131 to be merged
This is causing issues for me as well. Combined with Poetry being ~forced on the user, is currently making Replit unusable in my case. Will try the workaround stated above but it's concerning that is necessary!
Bumping this too. Likewise, it makes replit unusable in my case of using OpenAI's and Anthropic's SDKs.
this issue had finally been fixed. Run poetry update replit in Shell
I don't think they fixed it, though:
Because no versions of replit match >3.3.1,<4.0.0
 and replit (3.3.1) depends on typing_extensions (>=3.7.4,<4.0.0), replit (>=3.3.1,<4.0.0) requires typing_extensions (>=3.7.4,<4.0.0).
And because sqlalchemy (2.0.20) depends on typing-extensions (>=4.2.0)
 and no versions of sqlalchemy match >2.0.20,<3.0.0, replit (>=3.3.1,<4.0.0) is incompatible with sqlalchemy (>=2.0.20,<3.0.0).
So, because python-template depends on both sqlalchemy (^2.0.20) and replit (^3.3.1), version solving failed.