From e3a2fb209b905915874a2a46c4a11ee33c111dc7 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 26 Jun 2017 15:08:33 -1000 Subject: remove python 3.3 from CI (#3729) * remove python 3.3 from CI * remove 3.3 everywhere, not just from CI --- .travis.yml | 6 ------ CHANGELOG.rst | 1 + Jenkinsfile | 5 ++--- README.rst | 2 +- docs/installation.rst | 4 +--- setup.py | 1 - src/cryptography/__init__.py | 6 ------ 7 files changed, 5 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5bfe15b4..79631b8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,6 @@ matrix: env: TOXENV=py26 - python: 2.7 env: TOXENV=py27 - - python: 3.3 - env: TOXENV=py33 - python: 3.4 env: TOXENV=py34 - python: 3.5 @@ -54,10 +52,6 @@ matrix: # see: https://docs.travis-ci.com/user/osx-ci-environment/ osx_image: xcode8.3 env: TOXENV=py27 CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 - - language: generic - os: osx - osx_image: xcode8.3 - env: TOXENV=py33 CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 - language: generic os: osx osx_image: xcode8.3 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 88c945f0..020defa8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,7 @@ Changelog .. note:: This version is not yet released and is under active development. +* **BACKWARDS INCOMPATIBLE:** Support for Python 3.3 has been dropped. * Deprecated the use of ``signer`` on :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey`, diff --git a/Jenkinsfile b/Jenkinsfile index 5440093f..50f53a20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,11 +5,11 @@ if (env.BRANCH_NAME == "master") { def configs = [ [ label: 'windows', - toxenvs: ['py26', 'py27', 'py33', 'py34', 'py35', 'py36'], + toxenvs: ['py26', 'py27', 'py34', 'py35', 'py36'], ], [ label: 'windows64', - toxenvs: ['py26', 'py27', 'py33', 'py34', 'py35', 'py36'], + toxenvs: ['py26', 'py27', 'py34', 'py35', 'py36'], ], [ label: 'freebsd11', @@ -199,7 +199,6 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) { def pythonPath = [ py26: "C:\\Python26\\python.exe", py27: "C:\\Python27\\python.exe", - py33: "C:\\Python33\\python.exe", py34: "C:\\Python34\\python.exe", py35: "C:\\Python35\\python.exe", py36: "C:\\Python36\\python.exe" diff --git a/README.rst b/README.rst index e21fe482..350dc721 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ pyca/cryptography ``cryptography`` is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic -standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 5.3+. +standard library". It supports Python 2.6-2.7, Python 3.4+, and PyPy 5.3+. ``cryptography`` includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and diff --git a/docs/installation.rst b/docs/installation.rst index a18014cb..0fa986a1 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.6, 2.7, 3.3, 3.4, 3.5, 3.6, and +Currently we test ``cryptography`` on Python 2.6, 2.7, 3.4, 3.5, 3.6, and PyPy 5.3+ on these operating systems. * x86-64 CentOS 7.x @@ -24,8 +24,6 @@ PyPy 5.3+ on these operating systems. Python 2.6 is no longer supported by the Python core team. A future version of cryptography will drop support for this version. - Python 3.3 support will be removed in the next cryptography release. - We test compiling with ``clang`` as well as ``gcc`` and use the following OpenSSL releases: diff --git a/setup.py b/setup.py index 5bc4b502..8bb591f9 100644 --- a/setup.py +++ b/setup.py @@ -275,7 +275,6 @@ setup( "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py index a0c8d46d..940c66bc 100644 --- a/src/cryptography/__init__.py +++ b/src/cryptography/__init__.py @@ -25,9 +25,3 @@ if sys.version_info[:2] == (2, 6): "support for Python 2.6", DeprecationWarning ) -if sys.version_info[:2] == (3, 3): - warnings.warn( - "Python 3.3 support will be dropped in the next release of" - "cryptography. Please upgrade your Python.", - DeprecationWarning, - ) -- cgit v1.2.3