Skip to content

Commit

Permalink
Drop official support for Python 3.2
Browse files Browse the repository at this point in the history
We should still be able to run on 3.2, but current versions of pip made
breaking changes to stop supporting 3.2.  There are several things we
can change (one noted here, but also we can use `u''` strings rather
than `six.u()`.

Honestly, I don't know how many people run old versions of Python 3,
especially as far back as 3.2, we could probably safely drop 3.3, and
thus not need to support trollius on Python 3.
  • Loading branch information
flacjacket committed Jan 22, 2016
1 parent 33475f8 commit a2deab1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -5,8 +5,6 @@ matrix:
include:
- python: 2.7 # these are just to make travis's UI a bit prettier
env: TOXENV=py27-trollius
- python: 3.2
env: TOXENV=py32-trollius
- python: 3.3
env: TOXENV=py33-trollius
- python: 3.3
Expand Down
6 changes: 6 additions & 0 deletions docs/manual/install/index.rst
Expand Up @@ -22,6 +22,12 @@ Installing From Source
First, you need to install all of Qtile's dependencies (although some are
optional/not needed depending on your Python version, as noted below).

Note that Python 3 versions 3.3 and newer are currently supported and tested.
Python 3.2 should still work with Qtile, however the latest versions of pip
have dropped support for Qtile, so you will need to either use an older
version, or install all the required packages by running the respective
``setup.py`` scripts.

xcffib
------

Expand Down
1 change: 1 addition & 0 deletions libqtile/widget/__init__.py
Expand Up @@ -36,6 +36,7 @@ def safe_import(module_name, class_name):
safe_import(module_name, name)
return
package = __package__
# TODO: remove when we really want to drop 3.2 support
# python 3.2 don't set __package__
if not package:
package = __name__
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -116,7 +116,6 @@ def finalize_options(self):
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
Expand Down
6 changes: 1 addition & 5 deletions tox.ini
Expand Up @@ -4,7 +4,6 @@ skipsdist=True
minversion = 1.8
envlist =
py27-trollius,
py32-trollius,
py33-trollius,
py33-tulip,
py34,
Expand All @@ -23,7 +22,7 @@ setenv = LC_CTYPE = en_US.UTF-8
# Pass Display down to have it for the tests available
passenv = DISPLAY TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
whitelist_externals = /bin/bash
# Install trollius for 2, 3.2, and pypy
# Install trollius for 2 and pypy
# Install either trollius or tulip for 3.3
# Asyncio is in the standard library for 3.4+
deps =
Expand All @@ -32,9 +31,6 @@ deps =

trollius: trollius
tulip: asyncio

# https://github.com/travis-ci/travis-ci/issues/4866
py32: coverage<4.0.0
commands =
# xcffib has to be installed before cairo
pip install xcffib
Expand Down

0 comments on commit a2deab1

Please sign in to comment.