Skip to content

Fix use of deprecated setuptools functions #839

@mhucka

Description

@mhucka

Describe the issue

Building qsim produces the following warning messages due to constructs used in setup.py:

/Users/mhucka/.local/lib/python3.10/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.

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

!!
  dist.fetch_build_eggs(dist.setup_requires)

We should update this to use whatever the modern setuptools equivalents are.

What version of qsim are you using?

0.23.0.dev0

How can the issue be reproduced?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and or other DevOps topicsarea/healthInvolves general matters of project configuration, health, maintenance, and similar concernscontributors welcomeHelp with this would be appreciatedpriority/p2Medium priority

    Type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions