Replit.py version conflicts: `typing_extensions` should be v4

Actual behaviour

The typing_extensions dependency on the replit python package has a version constraint ^3.7.4 currently, but many packages now depend on ^4, causing a version conflict which has been reported in the discord help channels numerous times.
Also, the terminal is cleared right after the packages fail to install, so it’ll cause confusing import errors later and the user may not see the actual error. This is what happened in Why do i get the error 'Only one listener allowed at a time'? in sshkeyboard

Expected behaviour

Should be changed to >=3.7.4,<5 as it is compatible with v4. Of course, change it to the latest stable version (currently ^4.4) if you plan to add new functionality (and so end up using new types)
The console should not be cleared if there is an error in the package install. And maybe stderred the package install output as well so it’s clear when there’s an error

2 Likes

@haroon @BD103 @PotentialStyx

bump

and why am I pinged in here?

because you are a contributor

he probably isn’t a maintainer tho XD

The only thing I’ve done in replit-py is fix a minor spelling mistake lmao

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.