[CI] Remove OpenSSL install added in #1937 when `cryptography` ships `win_arm64` wheels
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, python
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
Bắt đầu trong .github/workflows/wheels.yml và kiểm tra job Windows ARM64 cùng bước OpenSSL tạm thời của nó. Xác nhận phiên bản cryptography đã được resolve và wheel win_arm64 tương ứng trên PyPI, sau đó xóa bootstrap và comment TODO. Chạy job windows-11-arm và kiểm tra rằng job này chạy thành công mà không có OPENSSL_DIR hoặc vcpkg build, với thời lượng ngắn hơn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
#1937 added Windows ARM64 (win_arm64) wheel builds. cryptography is a base
dependency of autobahn and publishes no win_arm64 wheel, so pip builds it from
sdist on the windows-11-arm runner. That build links openssl-sys, which needs a
native ARM64 OpenSSL.
To unblock the ARM64 build we added a temporary bootstrap step in
.github/workflows/wheels.yml:
- name: Build OpenSSL for cryptography (Windows ARM64 only)
if: matrix.os == 'windows-11-arm'
shell: pwsh
run: |
vcpkg install --triplet arm64-windows-static-md --clean-after-build openssl
"OPENSSL_DIR=$env:VCPKG_INSTALLATION_ROOT\installed\arm64-windows-static-md" |
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
This step exists only to work around the missing upstream wheel. It should be
deleted once upstream ships one again.
Upstream status
WoA support landed via pyca/cryptography#15350
and win_arm64 wheels were published — then dropped again:
| cryptography | win_arm64 wheels |
|---|---|
| 46.0.0 – 46.0.3 | yes (cp38-abi3, cp311-abi3, cp314-cp314t) |
| 46.0.4 – 50.0.1 | no |
Verified against the PyPI JSON API on 2026-09-22; latest release is 50.0.1 and still
has none.
Do NOT gate this on the version floor
pyproject.toml declares cryptography>=3.4.6. Tying removal to that floor — or to any
version bound — is unsound, because availability is not monotonic: 46.0.3 has the
wheel and 46.0.4+ do not. A >=46.0.0 floor would wrongly imply the bootstrap is
unnecessary.
The correct condition is about the resolved version at build time, not a declared
bound.
Exit criteria
Remove the step when the version that actually resolves on the ARM64 runner ships a
win_arm64 wheel:
pip index versions cryptography # note the version that resolves
# then confirm a *-win_arm64.whl exists for it on PyPI
Work items
- Confirm the resolved
cryptographyships awin_arm64wheel - Delete the
Build OpenSSL for cryptography (Windows ARM64 only)step fromwheels.yml - Confirm the
windows-11-armjob still passes (noOPENSSL_DIR, no vcpkg build) - Check job duration — removing the vcpkg OpenSSL build should be a noticeable saving
- Remove the
TODOcomment block above the step
Related
See also #1935 (wheel tiers) — win_arm64 is best-effort, which is part of why this
workaround is acceptable in the interim.
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 766
- Merge trung bình
- 12 giờ 40 phút
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của crossbario/autobahn-python
-
bug CI-CD
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
crossbario/autobahn-python#1932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI-CD enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
crossbario/autobahn-python#1829 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CI-CD
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
crossbario/autobahn-python#2013 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
crossbario/autobahn-python#1963 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
crossbario/autobahn-python#1962 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của crossbario/autobahn-python
Issue tương tự
-
URLValidator ignores an explicit empty scheme allowlistCó thể đã có người làm @IlyaKhalafi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
tortoise/tortoise-orm#2393 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
frappe/frappe_docker#2046 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Weekly link check failedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
AXI SMU SPEC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
tenstorrent/tt-oca-harness#3556 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/agent-framework#9946 ·
Maintainer thường phản hồi trong vòng 1 ngày