Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asset_converter.py requires new python #15

Open
smcameron opened this issue Jun 6, 2023 · 2 comments
Open

asset_converter.py requires new python #15

smcameron opened this issue Jun 6, 2023 · 2 comments
Assignees

Comments

@smcameron
Copy link
Contributor

smcameron commented Jun 6, 2023

Traceback (most recent call last):
File "../github/badge2023/tools/asset_converter.py", line 124, in
def get_c_file_name(asset: dict[str, str | int]) -> str:

| was added in python 3.10, so not available in python 3.8.

Python 3.10 was released on October 4, 2021.

That's too fucking new.

@smcameron
Copy link
Contributor Author

Worked around it via:

git show 0a5ef4c7fc7271c5547f675eea81ad5e304c6921:tools/asset_converter.py > tools/ass_converter.py

@paulbruggeman
Copy link

paulbruggeman commented Jun 6, 2023 via email

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

No branches or pull requests

3 participants