codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
245 stars 42 forks source link

[BUG] ImportError: cannot import name 'Literal' from 'typing' #412

Closed frederikstonge closed 3 months ago

frederikstonge commented 3 months ago

Receiving this error this morning : ImportError: cannot import name 'Literal' from 'typing'. Seems to be related to the latest release.

priitlatt commented 3 months ago

@frederikstonge thanks for reporting this. That'll be resolved ASAP.

frederikstonge commented 3 months ago

@frederikstonge thanks for reporting this. That'll be resolved ASAP.

I think it's because Literal has been introduced in python 3.8. The documentation still says 3.7+.

priitlatt commented 3 months ago

Yes, you are absolutely correct. It happens only with Python 3.7.

priitlatt commented 3 months ago

@frederikstonge this is now fixed in version 0.53.2. Also available from PyPI @ https://pypi.org/project/codemagic-cli-tools/0.53.2/.

I'm really sorry for this mishap.

frederikstonge commented 3 months ago

Thanks a lot for the quick response!