packageurl-python icon indicating copy to clipboard operation
packageurl-python copied to clipboard

SetuptoolsDeprecationWarning: Invalid dash-separated options

Open santiagorr opened this issue 10 months ago • 0 comments

Hi there!

While packaging packageurl-python for debian, I am getting this warning:

dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'packageurl-python' will not be supported in future
        versions. Please use the underscore name 'packageurl_python' instead.

        By 2025-Mar-03, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)

santiagorr avatar Feb 28 '25 03:02 santiagorr