robofont-mechanic / Mechanic

Package manager for RoboFont extensions
http://robofontmechanic.com
MIT License
26 stars 7 forks source link

messages in output window #24

Open gferreira opened 6 years ago

gferreira commented 6 years ago

I am getting some new messages from Mechanic since the last update.

these are not errors – Mechanic seems to be working fine – it just pollutes the output window.

In RoboFont 1.8:

('|/Users/gferreira/Library/Application Support/RoboFont/plugins/Mechanic.roboFontExt/lib/site-packages/certifi/cacert.pem|', '|None|')

the same message appears lots of times

In RoboFont 3:

/Users/gferreira/Library/Application Support/RoboFont/plugins/Mechanic.roboFontExt/lib/site-packages/requests/packages/urllib3/connectionpool.py:160: DeprecationWarning: invalid escape sequence \*

+ several other deprecation warnings referencing the following files:

jackjennings commented 6 years ago

@typemytype any ideas? I think that some of these packages got updated in the Py3 PR?

typemytype commented 6 years ago

the request package which is embedded into mechanic seems to use some deprecated stuff in py3...

Ive updated those packages to py3 but I did not fix these issues inside the embedded packages

the warning you mentioned is in the doc string, its using \ to escape restructured text formatting, which has to be \\*

see https://github.com/jackjennings/Mechanic/blob/master/src/lib/site-packages/requests/packages/urllib3/connectionpool.py#L103

simplified example:

print("\* hello")
print("\\* hello")