typemytype / drawbot

http://www.drawbot.com
Other
393 stars 61 forks source link

Install Python Packages causes deprecation warning under Python 3.12 #563

Open justvanrossum opened 5 months ago

justvanrossum commented 5 months ago

I'll have to investigate what we do wrong here, and how it can be fixed.

Collecting pyyaml
  Using cached PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.1 kB)
Using cached PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl (165 kB)
DEPRECATION: Loading egg at /Users/just/code/git/drawbot/dist/DrawBot.app/Contents/Resources/lib/python312.zip is deprecated. 
pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. 
Discussion can be found at https://github.com/pypa/pip/issues/12330
Installing collected packages: pyyaml
Successfully installed pyyaml-6.0.1

Perhaps it relates to py2app. I'm not sure how */Contents/Resources/lib/python312.zip is considered an egg.