Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50a91b1

Browse files
committed
Release 3.6.0a9
1 parent 8aa6fe6 commit 50a91b1

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

aiohttp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '3.6.0a8'
1+
__version__ = '3.6.0a9'
22

33
from typing import Tuple # noqa
44

requirements/ci-wheel.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ pytest==5.1.1
1212
pytest-cov==2.7.1
1313
pytest-mock==1.10.4
1414
tox==3.13.2
15-
trustme==0.5.2
16-
cryptography==2.7
15+
trustme==0.5.2; platform_machine=="x86_64" or python_version>"3.5"
16+
cryptography==2.7; platform_machine=="x86_64" or python_version>"3.5"
1717
twine==1.13.0
1818
yarl==1.3.0
1919

tests/conftest.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import hashlib
22
import pathlib
3-
import platform
43
import shutil
54
import ssl
65
import tempfile
76
import uuid
87

98
import pytest
10-
import trustme
9+
try:
10+
import trustme
11+
TRUSTME = True
12+
except ImportError:
13+
TRUSTME = False
1114

1215
pytest_plugins = ['aiohttp.pytest_plugin', 'pytester']
1316

@@ -24,8 +27,7 @@ def shorttmpdir():
2427

2528
@pytest.fixture
2629
def tls_certificate_authority():
27-
if (platform.system() == 'Linux' and
28-
platform.architecture() == ('32bit', 'ELF')):
30+
if not TRUSTME:
2931
pytest.xfail("trustme fails on 32bit Linux")
3032
return trustme.CA()
3133

tools/build-wheels.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ORIG_WHEEL_DIR="${BUILD_DIR}/original-wheelhouse"
1818
SRC_DIR="${BUILD_DIR}/src"
1919
WHEELHOUSE_DIR="${WORKDIR_PATH}/dist"
2020

21-
set -xeuo pipefail
21+
set -euo pipefail
2222
# ref: https://coderwall.com/p/fkfaqq/safer-bash-scripts-with-set-euxo-pipefail
2323

2424
PYTHON_VERSIONS="cp35-cp35m cp36-cp36m cp37-cp37m"
@@ -82,8 +82,6 @@ for PYTHON in ${PYTHON_VERSIONS}; do
8282

8383
echo
8484
echo -n "Test $PYTHON: "
85-
yum install -y openssl-devel libffi-devel python-devel
86-
yum update
8785
/opt/python/${PYTHON}/bin/python -c "import platform; print('Building wheel for {platform} platform.'.format(platform=platform.platform()))"
8886
/opt/python/${PYTHON}/bin/pip install -r ${WORKDIR_PATH}/requirements/ci-wheel.txt
8987
/opt/python/${PYTHON}/bin/pip install "$package_name" --no-index -f "file://${WHEELHOUSE_DIR}"

0 commit comments

Comments
 (0)