Skip to content

Deprecation Warning Setuptools #321

@mmzdouc

Description

@mmzdouc

@adraismawur

Following a recent install of bigscape using the conda/mamba guidelines, I receive the following warning when running bigscape:

/lustre/BIF/nobackup/zdouc001/miniconda3/envs/bigscape/lib/python3.11/site-packages/big_scape/paths.py:3: 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.
  import pkg_resources

It is probably wise to quickly address this given the specified deprecation date (30-11-2025) by pinning setuptools.

Alternatively, uv's lock.uv file can be considered for fully reproducible builds, although this will probably need a bigger intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BiG-SCAPE 2Relates to BiG-SCAPE version 2.0bugSomething isn't workingno-stalePrevent this issue from going staleplannedWill be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions