Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build-aiofastnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: tarasko/aiofastnet
ref: v${{ env.AIOFASTNET_VERSION }}
# 1.2.0 was released to PyPI without a v1.2.0 tag (gotcha 103); pin the
# release/1.2.0 branch tip instead, whose tree matches the sdist exactly.
ref: ${{ matrix.version == '1.2.0' && '93b4789508eea3f86255d8ec46903bdd17b16ba9' || format('v{0}', env.AIOFASTNET_VERSION) }}
persist-credentials: false

- name: Build wheels
Expand All @@ -79,7 +81,10 @@ jobs:
CIBW_TEST_REQUIRES: >-
aiohttp async_timeout pytest pytest-aiohttp pytest-asyncio pytest-xdist
${{ matrix.libc == 'manylinux' && 'uvloop' || '' }}
CIBW_TEST_SOURCES: tests pyproject.toml
# 1.1.1's tests/test_changelog.py imports the top-level tools/ package,
# which 1.2.0 dropped; stage it only for 1.1.1 (gotcha: CIBW_TEST_SOURCES
# must list every top-level dir the test suite imports from).
CIBW_TEST_SOURCES: tests${{ matrix.version == '1.1.1' && ' tools' || '' }} pyproject.toml
# test_benchmarks.py is upstream's CodSpeed harness, run in its own benchmarks job.
# The riscv64 runner kernel has no CONFIG_TLS, so tests asserting kTLS is active can't pass.
# Its software AES-128-GCM (~38 MB/s) can't move multi-MB TLS payloads within the suite's 1-4s timeouts.
Expand Down
2 changes: 2 additions & 0 deletions docs/packages/aiofastnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ versions:
- filename: aiofastnet-1.1.0-cp314-cp314t-musllinux_1_2_riscv64.whl
sha256: 2ad698eb5001ef849654f9a74f5526aa756d9a69d7d4fe87bec080389a6d848b
requires-python: '>=3.9'
- version: 1.1.1
- version: 1.2.0
Loading