[Python-modules-commits] [python-social-auth] 04/06: Ditch Python 2.6, bump up requirements

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:16:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.17
in repository python-social-auth.

commit 8f8de02d7c6912847b8b092940ab957f5bf0a1d6
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Fri Apr 15 13:29:15 2016 -0300

    Ditch Python 2.6, bump up requirements
---
 .travis.yml              |  1 -
 requirements-python3.txt | 12 ++++++------
 requirements.txt         | 12 ++++++------
 run_tox.sh               |  4 +---
 setup.py                 |  1 -
 social/tests/__init__.py |  9 ---------
 tox.ini                  |  2 +-
 7 files changed, 14 insertions(+), 27 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fc67088..b6841d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ env:
     - REQUIREMENTS=requirements.txt
     - TEST_REQUIREMENTS=social/tests/requirements.txt
 python:
-  - "2.6"
   - "2.7"
 matrix:
   include:
diff --git a/requirements-python3.txt b/requirements-python3.txt
index 7a856df..b834c7f 100644
--- a/requirements-python3.txt
+++ b/requirements-python3.txt
@@ -1,6 +1,6 @@
-python3-openid>=3.0.1
-requests>=1.1.0
-oauthlib>=0.3.8
-requests-oauthlib>0.3.2
-six>=1.2.0
-PyJWT>=1.0.0
+python3-openid>=3.0.9
+requests>=2.9.1
+oauthlib>=1.0.3
+requests-oauthlib>=0.6.1
+six>=1.10.0
+PyJWT>=1.4.0
diff --git a/requirements.txt b/requirements.txt
index 1d05eed..aa94fff 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
-python-openid>=2.2
-requests>=2.5.1
-oauthlib>=0.3.8
-requests-oauthlib>=0.3.1
-six>=1.2.0
-PyJWT>=1.0.0
+python-openid>=2.2.5
+requests>=2.9.1
+oauthlib>=1.0.3
+requests-oauthlib>=0.6.1
+six>=1.10.0
+PyJWT>=1.4.0
diff --git a/run_tox.sh b/run_tox.sh
index b38f764..55d0d6b 100755
--- a/run_tox.sh
+++ b/run_tox.sh
@@ -2,16 +2,14 @@
 
 # 1. Install pyenv
 # 2. Install python versions
-#      pyenv install 2.6.9
 #      pyenv install 2.7.11
 #      pyenv install 3.3.6
 #      pyenv install 3.4.4
 #      pyenv install pypy-4.0.1
 # 3. Switch to each version and install / update setuptools, pip, tox
-#      pyenv local 2.6.9
 #      pip install -U setuptools pip tox
 # 4. Enable versions
-#      pyenv local 2.6.9 2.7.11 3.3.6 3.4.4 pypy-4.0.1
+#      pyenv local 2.7.11 3.3.6 3.4.4 pypy-4.0.1
 # 5. Run tox
 
 which pyenv && eval "$(pyenv init -)"
diff --git a/setup.py b/setup.py
index a706a77..41282fc 100644
--- a/setup.py
+++ b/setup.py
@@ -76,7 +76,6 @@ setup(
         'Intended Audience :: Developers',
         'Environment :: Web Environment',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3'
     ],
diff --git a/social/tests/__init__.py b/social/tests/__init__.py
index 46c7ced..e69de29 100644
--- a/social/tests/__init__.py
+++ b/social/tests/__init__.py
@@ -1,9 +0,0 @@
-import sys
-import warnings
-
-
-# Ignore deprecation warnings on Python2.6. Maybe it's time to ditch this
-# oldie?
-if sys.version_info[0] == 2 and sys.version_info[1] == 6 or \
-   hasattr(sys, 'pypy_version_info'):
-    warnings.filterwarnings('ignore', category=Warning)
diff --git a/tox.ini b/tox.ini
index 57eec34..3d1952b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@
 # and then run "tox" from this directory.
 
 [tox]
-envlist = py26, py27, py33, py34, pypy, doc
+envlist = py27, py33, py34, pypy, doc
 
 [testenv]
 commands = nosetests --where=social/tests --stop

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list