diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-04-16 21:40:56 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-07-10 17:41:17 -0700 |
commit | 2e7b4c257a048645e97f8351c323dbb0da2f1f3f (patch) | |
tree | 49f712563c28fed4f272675bc109ad036b7ef52b /.travis.yml | |
parent | a13e7bcc45660c8cc81f889f2aa8db359a20a947 (diff) | |
download | dateutil-2e7b4c257a048645e97f8351c323dbb0da2f1f3f.tar.gz |
Drop support for Python 2.6
I would humbly like to suggest dateutil drop support for Python 2.6.
The last release of Python 2.6 was 2013-10-29, over 3 years ago. It is
no longer receiving security fixes.
https://www.python.org/dev/peps/pep-0361/
The pip project itself has recently dropped support for 2.6. Their
numbers estimate that Python 2.6 accounts for ~2% of their downloads.
pypa/pip#4343
For projects that still use Python 2.6, they can continue to pip install
an older version.
I've tried my best to remove as much 2.6 specific code as I can,
including the 'Programming Language :: Python :: 2.6' trove classifier
from setup.py. I've also removed Travis CI testing, which should result
in faster testing and fewer wasted resources.
Code changed:
- Removed Python2.6 from testing configuration
- setup.py cleanups due to fewer version complications
- Removed unittest2 dependency and monkey patching
- Use set literals
- Use dict comprehension
- Remove total_seconds workaround
- Remove TarFile.open() context manager workaround
Thanks for considering.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 59a5f26..d6ffcc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python cache: pip python: - - "2.6" - "2.7" - "3.2" - "3.3" @@ -25,7 +24,6 @@ before_install: install: - pip install six - - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi - ./ci_tools/retry.sh python updatezinfo.py script: |