MSYS2-packages icon indicating copy to clipboard operation
MSYS2-packages copied to clipboard

[fontforge] UserWarning: pkg_resources is deprecated as an API

Open bardware opened this issue 3 months ago • 1 comments

Description / Steps to reproduce the issue

I'm using your fontforge package https://packages.msys2.org/packages/mingw-w64-clang-x86_64-fontforge and looked onto a ttf file, just today. When the dialog with he glyphs popped up, I got a warning in the console

$ fontforge -?
Copyright (c) 2000-2025. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20230101
 Based on sources from 2025-10-05 05:13 UTC-ML-D-GDK3.
 Based on source from git with hash: 7392a661cf9f19eb50dd9f7b8424c1844f13c2b0
sys:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

Expected behavior

fontforge just works and keeps working in the future

Actual behavior

The warning says, a package will be removed as early as 2025-11-30. I'm wondering if the software will work two weeks from now.

Verification

  • [x] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)

Windows Version

MINGW64_NT-10.0-26100

Are you willing to submit a PR?

No idea how to help

bardware avatar Nov 22 '25 20:11 bardware

Thanks, see https://github.com/fontforge/fontforge/pull/5643

So this will likely be fixed in the next version, though it's unclear when that will be released.

lazka avatar Nov 23 '25 13:11 lazka