Skip to content

[Archery] Avoid relying on internal setuptools_scm API #40163

Closed

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

The Crossbow submission routines depend on an unstable setuptools_scm API that forces us to pin the setuptools_scm version:

from setuptools_scm.git import parse as parse_git_version

We should rewrite this function to avoid relying on setuptools_scm and do the version parsing entirely ourselves, instead.

This affects the comment bot, example at #40162

Component(s)

Archery, Continuous Integration

Activity

  1. added this to the 16.0.0 milestone on Feb 20, 2024
  2. pitrou commented on Feb 20, 2024

    @pitrou
    MemberAuthor
  3. modified the milestones: 16.0.0, 17.0.0 on Apr 8, 2024
  4. modified the milestones: 17.0.0, 18.0.0 on Jun 28, 2024
  5. modified the milestones: 18.0.0, 19.0.0 on Oct 9, 2024
  6. modified the milestones: 19.0.0, 20.0.0 on Jan 2, 2025
  7. modified the milestones: 20.0.0, 21.0.0 on Apr 1, 2025
  8. modified the milestones: 21.0.0, 22.0.0 on Jun 30, 2025
  9. modified the milestones: 22.0.0, 23.0.0 on Oct 6, 2025
  10. removed this from the 23.0.0 milestone on Jan 7, 2026
  11. aashirvad08 commented on Mar 27, 2026

    @aashirvad08

    may I work on this ?

  12. added a commit that references this issue on Jul 28, 2026
  13. added a commit that references this issue on Jul 28, 2026
  14. added this to the 26.0.0 milestone on Jul 28, 2026
  15. pitrou commented on Jul 28, 2026

    @pitrou
    MemberAuthor

    Issue resolved by pull request 50669
    #50669

  16. pitrou commented on Jul 28, 2026

    @pitrou
    MemberAuthor

    @LarryHu0217 can you post here so that we can assign this issue to you?

  17. LarryHu0217 commented on Jul 28, 2026

    @LarryHu0217
    Contributor

    Thanks. I implemented the fix in #50669, which is now merged. Please assign this issue to me when convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions