Latest version of pyymal and fontawesome causes generate.py issues
generate.py requires the following changes: (see relevant pyymal issue)
Importing:
from yaml import CLoader as Loader
Execution:
icons_dict = yaml.load(requests.get(uri).text, Loader=Loader)
This does not fix the problem fully when as when using --revision=6.x (the latest for font-awesome) 2 "character" unicode characters are added to icons.py. For example:
'0': '\u30', # 0
Therefore` when building the following occurs:
Traceback (most recent call last):
File "/home/viking/Repos/fontawesome-python/setup.py", line 3, in
Removing them from icons.py permits successful build and install.
Also description file needs an update:
/usr/lib/python3.10/site-packages/setuptools/dist.py:757: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
/usr/lib/python3.10/site-packages/setuptools/dist.py:530: UserWarning: The version specified ('6.x-1') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.