Skip to content

util: conda --refresh-pins exits 0 silently when no release qualifies for a pin #2025

Closed

Description

@JarryShaw

Describe the bug
When --refresh-pins cannot move a pin, util/conda_vendor.py refresh_pins() leaves the pin as it is, prints no warning, and exits 0. This happens whenever no release has a wheel for every conda Python on the pinned platform, because newest_wheel returns None. So a refresh that should flag a pin as stuck reports success.

Reproduction

  • This hid a real defect in ci: promote free-threaded 3.14t to supported, with the GIL off (#1958) #2024. With 3.14t in the supported tier, conda_pythons() required an osx-64 cp314t wheel that no release has. The pin stayed at 48.0.1 / 2026-12-01 with no message. Only test_conda_platform_pin_refresh_1851::RefreshCommandTests::test_a_moved_pin_is_written_with_its_new_date caught it.
  • Reading refresh_pins(): it returns 0 after ::warning or ::notice lines. The sys.exit(1 if failures else 0) belongs to a different mode.

Expected behavior
A pin that is due for review but cannot move, because no release qualifies, should at least emit a ::warning naming the pin and the missing wheel, or fail the refresh.

System information

  • commit: main 185b3176f

Additional context

Activity

  1. added
    bugIssues reporting a defect (set by the bug report template; a default, not an assessment)
    ciPull requests that change CI or workflow configuration (ci: subject prefix)
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 21, 2026
  2. moved this to Blocked in PyPCAPKiton Oct 21, 2026
  3. JarryShaw commented on Oct 22, 2026

    @JarryShaw
    OwnerAuthor

    Unblocked: #2024 closed without landing, so util/conda_vendor.py is free. A fix is starting now.

  4. added
    wipWork in flight - a covering PR is open or an agent is actively on it
    and removed
    blockedDeferred pending another issue or decision; see the last comment for what unblocks it
    on Oct 22, 2026
  5. moved this from Blocked to WIP in PyPCAPKiton Oct 22, 2026
  6. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Oct 22, 2026
  7. added this to the PyPCAPKit v1.5 milestone on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues reporting a defect (set by the bug report template; a default, not an assessment)ciPull requests that change CI or workflow configuration (ci: subject prefix)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions