Skip to content

Comments

Fix crash on Python 3.8 or lower#24

Open
lucastnr wants to merge 1 commit intoivnvxd:mainfrom
lucastnr:main
Open

Fix crash on Python 3.8 or lower#24
lucastnr wants to merge 1 commit intoivnvxd:mainfrom
lucastnr:main

Conversation

@lucastnr
Copy link

This fixes #23.

I had to fix two things:

  1. Tuple typing is not available on Python <= 3.8
  2. get_version can return a tuple with None, but it was not included in the typing

This fixes the script for Python <= 3.8
@lucastnr lucastnr changed the title fix: Import tuple from typing and fix typing error Fix crash on Python 3.8 or lower Apr 17, 2025
@lucastnr
Copy link
Author

lucastnr commented Apr 17, 2025

I've created #25 (suggestion 1) and #24 (suggestion 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash on Python <= 3.8

1 participant