Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MNT]: setuptools-scm v8.0.1 compatibility #26846

Closed
Milestone
@ksunden

Description

@ksunden

Summary

setuptools-scm released today and even after the biggest issue having been resolved and the 8.0.0 release being yanked we are seeing CI failures, primarily on azure.

This is mostly me documenting what I'm seeing, probably mostly for myself, but if others have insights/opinions, happy to hear them

There are actually two seemingly disjoint problems:

  • setuptools-scm is complaining that we do not have config inpyproject.toml

    • There is a release note stating "remove legacy version parser api - config arg always required"
    • Despite this, appears to actually install and get the version number and everything, so not fully sure what is required
  • Azure CI is picking up an older version ofsetuptools, despite having apparently installed the latest version.

    • setuptools-scm is issuing a runtime warning for older setuptools, which is failing tests
    • setuptools-scm doesnot pin the version ofsetuptools in their requirements, despite having checks against specific versions
    • setuptools-scm now requires setuptools>=61
    • During install, it appears that setuptools 68 is installed on the Azure runs, so thereshouldn't be a CI problem
    • But it is still picking up setuptools 58 at runtime

Proposed fix

Possible solutions:

  • Pin setuptools-scm<8

    • not super viable long term, and if we can just fix compatibility easily, probably better, but if it is hard in the interim, may be a stopgap to employ.
  • Pin our own version of setuptools

    • Not sure it would help as it looks like newer is installed in CI, but may not hurt
  • Add config to pyproject.toml

    • need to determine what even needs to go in here, as far as I'm aware, we don't use any non-default settings
    • From their readme, looks like it can be an empty toml table or at most specifying where the version file goes... if the former, I think it is strange to error on missing, but not hard to add I guess...
  • Figure out where azure is getting the older setuptools from?

    • is it preinstalled and onsys.path first?
    • Seems to only be on the 3.9 builds, but that may be because of the Azure images?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp