Skip to content

Give notice and/or workaround to developers that end users of packages produced via setuptools_scm need setuptools version >= 12 #312

@nealmcb

Description

@nealmcb

I was deeply surprised that it seems that adopting setuptools_scm for use in building my package places a requirement on the environment that users of my package must have. I hate to get error reports from users like that when I've changed so little in the actual code I'm delivering (or at least know I'm delivering).

They reported seeing this error

setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)

They are on RHEL 7 (the latest version of RHEL), which apparently has something like setuptools 0.9.8, vs the current version 40.4.3(!!).

This seems related to this note in the 2.0.0 release notes: breaking change: remove support for setuptools before parsed versions. But I have no idea what that really means.

I've seen and experienced problems in the past with users upgrading core aspects of Python, and really don't want to have to explain to them how to set up a virtual environment starting from RHEL 7. Are there any known issues with the latest setuptools on RHEL 7? Can it be upgraded all by itself or do other surrounding packages need to be upgraded?

What are my options:

  1. Can I build my package with an older version of setuptools_scm which doesn't force end-user upgrades? Which version?
  2. Is is safe for end-users to upgrade? What is the best way to do so?
  3. Should I just drop use of setuptools_scm and go back to a manually updated MANIFEST?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions