future plugin format after eggs

Suggestions and discussion of future versions
Post Reply
basher
Seeder
Seeder
Posts: 101
Joined: Wed Sep 29, 2021 8:42 am
Location: Estonia/Spain

future plugin format after eggs

Post by basher »

Paging @Cas

Is there any clarity as to where we'll be moving to from the egg format? Found your github issue on how wheels do not fit the bill and u/jaraco raised discussion that seems to have run its course with no alternatives as a result.

Note our docs on plugin development still guides users to eggs. Think we should at least add a deprecation warning there and say how things are.

Running python setup.py bdist_egg now produces following warning:

Code: Select all

/home/basher/.pyenv/versions/plugin-venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
Afraid it's only matter of time 'til setuptools removes bdist_egg support.

For the uninitiated, there are two problems:
- egg format is deprecated, and
- invoking setup.py directly is also deprecated (see the warning above), whilst newer build tools do not support producing eggs at all.
Post Reply