diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d49bb4e7..5f3dd9a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: mkdir -p dist/ echo "${VERSION}" > dist/VERSION - - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + - uses: actions/upload-artifact@v4.6.2 with: name: dist path: dist/ @@ -64,7 +64,7 @@ jobs: python -m pip install --upgrade setuptools wheel pip python setup.py sdist - - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + - uses: actions/upload-artifact@v4.6.2 with: name: dist path: dist/*.tar.* @@ -122,7 +122,7 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_arch }} CIBW_TEST_SKIP: "*universal2:arm64" - - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + - uses: actions/upload-artifact@v4.6.2 with: name: dist path: wheelhouse/*.whl diff --git a/tests/test_tcp.py b/tests/test_tcp.py index 8759383d..d5cf3241 100644 --- a/tests/test_tcp.py +++ b/tests/test_tcp.py @@ -404,7 +404,7 @@ async def client(addr): writer.write(b'AAAA') self.assertEqual(await reader.readexactly(2), b'OK') - re = r'(a bytes-like object)|(must be byte-ish)' + re = r'(must be a bytes)|(a bytes-like object)|(must be byte-ish)' with self.assertRaisesRegex(TypeError, re): writer.write('AAAA') diff --git a/uvloop/_version.py b/uvloop/_version.py index 9e1722c0..c5fffb10 100644 --- a/uvloop/_version.py +++ b/uvloop/_version.py @@ -10,4 +10,4 @@ # supported platforms, publish the packages on PyPI, merge the PR # to the target branch, create a Git tag pointing to the commit. -__version__ = '0.21.0' +__version__ = '0.22.0'