eoyilmaz/displaycal-py3

Disable Universal Wheel Creation

Closed this issue · 1 comments

Describe the bug
Disable the universal wheel creation as it is now deprecated.

C:\Users\eoyil\AppData\Local\Temp\build-env-iarln3vw\Lib\site-packages\setuptools\_distutils\cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!

        ********************************************************************************
        With Python 2.7 end-of-life, support for building universal wheels
        (i.e., wheels that support both Python 2 and Python 3)
        is being obviated.
        Please discontinue using this option, or if you still need it,
        file an issue with pypa/setuptools describing your use case.

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

!!

To Reproduce
Steps to reproduce the behavior:

  1. Build DisplayCAL with python -m build

Expected behavior
The build module is complaining about the universal wheel creation, it shouldn't.

Versions (please complete the following information):

  • OS: Any
  • Python Version: 3.8+
  • ArgyllCMS Version: Any
  • DisplayCAL Version: 3.9.12

Additional context
N/A

Oh it seems that we shouldn't have enabled universal at all:

If your project contains no C extensions and is expected to work on both Python 2 and 3, you will want to tell wheel to produce universal wheels by adding this to your setup.cfg file:

[bdist_wheel]
universal = 1