aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-06-27 20:07:14 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2018-06-27 23:07:14 -0400
commit4ee1cb949767a882d56053cde922f260874f00c6 (patch)
tree0a84ef7b71bbfa21ef63f14bc33cefd8bd393c14
parent3bab819c558ead888825e33f8df3f17707ff2c20 (diff)
downloadcryptography-4ee1cb949767a882d56053cde922f260874f00c6.tar.gz
cryptography-4ee1cb949767a882d56053cde922f260874f00c6.tar.bz2
cryptography-4ee1cb949767a882d56053cde922f260874f00c6.zip
Add py37 (#4298)
* test against python 3.7 for windows * update docs to say we test on 3.7 * more succinct * maybe make this actually work. * link properly * moar changes
-rw-r--r--.jenkins/Jenkinsfile-cryptography-wheel-builder9
-rw-r--r--CHANGELOG.rst1
-rw-r--r--Jenkinsfile9
-rw-r--r--docs/installation.rst2
-rw-r--r--setup.py1
-rw-r--r--tox.ini2
6 files changed, 14 insertions, 10 deletions
diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder
index c46238bd..68991da9 100644
--- a/.jenkins/Jenkinsfile-cryptography-wheel-builder
+++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder
@@ -8,11 +8,11 @@ properties([
def configs = [
[
label: 'windows',
- versions: ['py27', 'py34', 'py35', 'py36'],
+ versions: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'windows64',
- versions: ['py27', 'py34', 'py35', 'py36'],
+ versions: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'sierra',
@@ -49,9 +49,10 @@ def build(version, label, imageName) {
py27: "C:\\Python27\\python.exe",
py34: "C:\\Python34\\python.exe",
py35: "C:\\Python35\\python.exe",
- py36: "C:\\Python36\\python.exe"
+ py36: "C:\\Python36\\python.exe",
+ py37: "C:\\Python36\\python.exe"
]
- if (version == "py35" || version == "py36") {
+ if (version == "py35" || version == "py36" || version == "py37") {
opensslPaths = [
"windows": [
"include": "C:\\OpenSSL-Win32-2015\\include",
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 57ea2da3..c3a415c3 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -8,6 +8,7 @@ Changelog
.. note:: This version is not yet released and is under active development.
+* Added support for Python 3.7.
* Added :meth:`~cryptography.fernet.Fernet.extract_timestamp` to get the
authenticated timestamp of a :doc:`Fernet </fernet>` token.
* Support for Python 2.7.x without ``hmac.compare_digest`` has been deprecated.
diff --git a/Jenkinsfile b/Jenkinsfile
index 33bce2d2..2697b8f6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -5,11 +5,11 @@ if (env.BRANCH_NAME == "master") {
def configs = [
[
label: 'windows',
- toxenvs: ['py27', 'py34', 'py35', 'py36'],
+ toxenvs: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'windows64',
- toxenvs: ['py27', 'py34', 'py35', 'py36'],
+ toxenvs: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'freebsd11',
@@ -152,9 +152,10 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
py27: "C:\\Python27\\python.exe",
py34: "C:\\Python34\\python.exe",
py35: "C:\\Python35\\python.exe",
- py36: "C:\\Python36\\python.exe"
+ py36: "C:\\Python36\\python.exe",
+ py37: "C:\\Python37\\python.exe"
]
- if (toxenv == "py35" || toxenv == "py36") {
+ if (toxenv == "py35" || toxenv == "py36" || toxenv == "py37") {
opensslPaths = [
"windows": [
"include": "C:\\OpenSSL-Win32-2015\\include",
diff --git a/docs/installation.rst b/docs/installation.rst
index f96cc505..13cd75e1 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -10,7 +10,7 @@ You can install ``cryptography`` with ``pip``:
Supported platforms
-------------------
-Currently we test ``cryptography`` on Python 2.7, 3.4, 3.5, 3.6, and
+Currently we test ``cryptography`` on Python 2.7, 3.4+, and
PyPy 5.3+ on these operating systems.
* x86-64 CentOS 7.x
diff --git a/setup.py b/setup.py
index 593925e4..2fbbd046 100644
--- a/setup.py
+++ b/setup.py
@@ -273,6 +273,7 @@ setup(
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
diff --git a/tox.ini b/tox.ini
index 86d23aae..b76bfc97 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 2.4
-envlist = py27,pypy,py34,py35,py36,docs,pep8,py3pep8
+envlist = py27,pypy,py34,py35,py36,py37,docs,pep8,py3pep8
[testenv]
extras =