You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bundle script located in tools/bundle.py fails with Python version 3.13:
$ python tools/bundle.py applications/Tools/upython/manifest.yml bundle.zip
Traceback (most recent call last):
File "/home/ofa/dev/flipper-application-catalog/tools/bundle.py", line 15, in <module>
from dataclass_wizard.dumpers import asdict
File "/home/ofa/.local/lib/python3.13/site-packages/dataclass_wizard/__init__.py", line 100, in <module>
from .bases_meta import LoadMeta, DumpMeta
File "/home/ofa/.local/lib/python3.13/site-packages/dataclass_wizard/bases_meta.py", line 10, in <module>
from .abstractions import AbstractJSONWizard
File "/home/ofa/.local/lib/python3.13/site-packages/dataclass_wizard/abstractions.py", line 14, in <module>
from .models import Extras
File "/home/ofa/.local/lib/python3.13/site-packages/dataclass_wizard/models.py", line 3, in <module>
from dataclasses import MISSING, Field, _create_fn
ImportError: cannot import name '_create_fn' from 'dataclasses' (/usr/lib64/python3.13/dataclasses.py)
I did a quick test with a clean Python 3.12 and 3.13 environment in Docker to ensure the problem is not on my side: same result with 3.13 and works as expected with 3.12.
FROM python:3.13
WORKDIR /app
COPY . .
RUN pip install -r tools/requirements.txt
CMD [ "python", "tools/bundle.py", "applications/Tools/upython/manifest.yml", "bundle.zip" ]
I'm on Fedora 41 (KDE Spin) using a standard Python 3.13 (obviously) installation and Intel i7 CPU.
The text was updated successfully, but these errors were encountered:
The bundle script located in
tools/bundle.py
fails with Python version 3.13:I did a quick test with a clean Python 3.12 and 3.13 environment in Docker to ensure the problem is not on my side: same result with 3.13 and works as expected with 3.12.
I'm on Fedora 41 (KDE Spin) using a standard Python 3.13 (obviously) installation and Intel i7 CPU.
The text was updated successfully, but these errors were encountered: