Skip to content

Release 0.22.16#308

Merged
salt-pr-bot[bot] merged 2 commits into
mainfrom
auto-update-versions
Jun 29, 2026
Merged

Release 0.22.16#308
salt-pr-bot[bot] merged 2 commits into
mainfrom
auto-update-versions

Conversation

@salt-pr-bot

@salt-pr-bot salt-pr-bot Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Automated version bump for Python and bundled dependencies.

This PR will be merged automatically once CI passes, which will
trigger the release workflow.

The auto-update path for libffi added new entries with
platforms=["linux", "win32"], pointing at the libffi.org source
release URL.  That tarball ships only configure/Makefile.am/msvcc.sh —
no ffi.h, no libffi-8.lib, no libffi-8.dll.  Windows libffi has
always come from python/cpython-bin-deps, whose archive ships those
prebuilt artifacts under amd64/, win32/, and arm64/.

get_dependency_version("libffi", "win32") picks the highest-versioned
entry whose platforms list contains "win32".  As soon as a new source
release (3.6.0 here) got added with win32 in its platforms, it
shadowed the cpython-bin-deps entry (3.4.4) for win32 — so the build
fetched the source tarball, and _ctypes.vcxproj failed with
`error C1083: Cannot open include file: 'ffi.h'` across every Windows
matrix entry on PR #308.

Same root cause as the existing 3.5.2 entry being ["linux"]-only:
that was effectively the correct state, just never enforced in the
auto-updater.

Two changes:

  - relenv/pyversions.py: drop "win32" from the platforms list the
    auto-updater writes for new libffi source releases.  The
    detect_cpython_bin_deps_versions() branch immediately below
    handles the Windows-side entry (platforms=["win32"]) and stays
    untouched.
  - relenv/python-versions.json: drop "win32" from the existing
    3.6.0 entry so the win32 build falls back to 3.4.4 cpython-bin-deps
    and CI unblocks without waiting on a fresh auto-update run.

Auto-updater bug only; libffi 3.6.0 itself is fine on Linux.
@salt-pr-bot
salt-pr-bot Bot merged commit dfa1fe2 into main Jun 29, 2026
79 checks passed
@salt-pr-bot
salt-pr-bot Bot deleted the auto-update-versions branch June 29, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant