Skip to content

Commit

Permalink
Release 3.6.0a9
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Aug 29, 2019
1 parent 8aa6fe6 commit 50a91b1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion aiohttp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.6.0a8'
__version__ = '3.6.0a9'

from typing import Tuple # noqa

Expand Down
4 changes: 2 additions & 2 deletions requirements/ci-wheel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ pytest==5.1.1
pytest-cov==2.7.1
pytest-mock==1.10.4
tox==3.13.2
trustme==0.5.2
cryptography==2.7
trustme==0.5.2; platform_machine=="x86_64" or python_version>"3.5"
cryptography==2.7; platform_machine=="x86_64" or python_version>"3.5"
twine==1.13.0
yarl==1.3.0

Expand Down
10 changes: 6 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import hashlib
import pathlib
import platform
import shutil
import ssl
import tempfile
import uuid

import pytest
import trustme
try:
import trustme
TRUSTME = True
except ImportError:
TRUSTME = False

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

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

@pytest.fixture
def tls_certificate_authority():
if (platform.system() == 'Linux' and
platform.architecture() == ('32bit', 'ELF')):
if not TRUSTME:
pytest.xfail("trustme fails on 32bit Linux")
return trustme.CA()

Expand Down
4 changes: 1 addition & 3 deletions tools/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ORIG_WHEEL_DIR="${BUILD_DIR}/original-wheelhouse"
SRC_DIR="${BUILD_DIR}/src"
WHEELHOUSE_DIR="${WORKDIR_PATH}/dist"

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

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

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

0 comments on commit 50a91b1

Please sign in to comment.