Fixes #187 -- test and build wheels on py38 (#188)

* Fixes #187 -- test and build wheels on py38

* Remove 3.8 for now

* Tell tox to use isolated builds
This commit is contained in:
Alex Gaynor 2019-10-19 23:20:40 -04:00 committed by Paul Kehrer
parent dd4ca13821
commit 92fd05271f
5 changed files with 27 additions and 1 deletions

View File

@ -143,6 +143,14 @@ jobs:
containerImage: 'pyca/cryptography-runner-windows:py3-x86_64'
PYTHON_VERSION: '37'
WINDOWS_ARCH: 'x86_64'
Python38-x86:
containerImage: 'pyca/cryptography-runner-windows:py3-x86'
PYTHON_VERSION: '38'
WINDOWS_ARCH: 'x86'
Python38-x86-64:
containerImage: 'pyca/cryptography-runner-windows:py3-x86_64'
PYTHON_VERSION: '38'
WINDOWS_ARCH: 'x86_64'
steps:
- script: '"C:/Python%PYTHON_VERSION%/python.exe" -m pip install -U pip==10.0.1'
displayName: Downgrade pip lol

View File

@ -18,6 +18,10 @@ matrix:
env: TOXENV=py37 CC=gcc
dist: xenial
sudo: true
- python: 3.8
env: TOXENV=py38 CC=gcc
dist: xenial
sudo: true
- python: pypy
env: TOXENV=pypy CC=gcc
- python: 2.7
@ -32,6 +36,10 @@ matrix:
env: TOXENV=py37 CC=clang
dist: xenial
sudo: true
- python: 3.8
env: TOXENV=py38 CC=clang
dist: xenial
sudo: true
- python: pypy
env: TOXENV=pypy CC=clang
- python: 2.7

View File

@ -84,6 +84,14 @@ jobs:
TOXENV: py37
containerImage: 'pyca/cryptography-runner-windows:py3-x86_64'
PYTHON_DIR: 'Python37'
Python38-x86:
TOXENV: py38
containerImage: 'pyca/cryptography-runner-windows:py3-x86'
PYTHON_DIR: 'Python38'
Python38-x86-64:
TOXENV: py38
containerImage: 'pyca/cryptography-runner-windows:py3-x86_64'
PYTHON_DIR: 'Python38'
steps:
- script: "C:/%PYTHON_DIR%/Scripts/tox"
displayName: 'Run tests'

View File

@ -233,6 +233,7 @@ setup(
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
ext_package="bcrypt",

View File

@ -1,5 +1,6 @@
[tox]
envlist = py27,pypy,py34,py35,py36,py37,pep8,py3pep8,packaging
envlist = py27,pypy,py34,py35,py36,py37,py38,pep8,py3pep8,packaging
isolated_build = True
[testenv]
extras =