Skip to content

Commit 152d3f8

Browse files
committed
Drop support for Python 2.6, 3.2 and 3.3
1 parent 4a89e2e commit 152d3f8

File tree

19 files changed

+88
-196
lines changed

19 files changed

+88
-196
lines changed

.travis.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
language: python
22

33
python:
4-
- 2.6
54
- 2.7
6-
- 3.2
7-
- 3.3
85
- 3.4
96
- 3.5
107
- 3.6
@@ -16,13 +13,7 @@ before_install:
1613
- SED_GET_PY='s/[^0-9]//g;s/.//3g;2s/.*/py/;1!G;h;$!d;s/y.2./y/;s/y.3./y3/'
1714
- PY=$(python -V 2>&1 | sed "$SED_GET_PY")
1815
- export TOXENV=py$PY
19-
# On Travis CI environments for Python 2.6 and 3.2, pip is broken
20-
- GET_PIP_URL=https://bootstrap.pypa.io/${PY::1}.${PY:1}/get-pip.py
21-
- if [[ "26 32" =~ $PY ]] ; then python <(curl -fsSL "$GET_PIP_URL") ; fi
22-
- DEPS_TABLE=([26]='virtualenv<16 tox<3'
23-
[32]='virtualenv<14 tox<3'
24-
[33]='virtualenv<15.2 tox<3')
25-
- DEPS=${DEPS_TABLE[$PY]:-'tox'}
16+
- DEPS=tox
2617

2718
install:
2819
- pip install --upgrade $DEPS

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Lukáš Lalinský <[email protected]>
1818
Malthe Borch <[email protected]>
1919
Martin Kreichgauer <[email protected]>
2020
Martin Kreichgauer <[email protected]>
21+
Mickaël Schoentgen <[email protected]>
2122
Mike Lundy <[email protected]>
2223
Raymond Hettinger <[email protected]>
2324
Roman Ovchinnikov <[email protected]>

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Watchdog
22
========
33
Python API and shell utilities to monitor file system events.
44

5+
Works on Python 2.7 and 3.4+. If you want to use an old version of Python, you should stick with watchdog < 0.10.0.
56

67
Example API Usage
78
-----------------
@@ -117,7 +118,7 @@ Installing from PyPI using ``pip``:
117118

118119
.. code-block:: bash
119120
120-
$ pip install watchdog
121+
$ python -m pip install watchdog
121122
122123
Installing from PyPI using ``easy_install``:
123124

@@ -210,9 +211,8 @@ this feature.
210211

211212
Dependencies
212213
------------
213-
1. Python 2.6 or above.
214+
1. Python 2.7, 3.4 or above.
214215
2. pathtools_
215-
3. select_backport_ (select.kqueue replacement for 2.6 on BSD/Mac OS X)
216216
4. XCode_ (only on Mac OS X)
217217
5. PyYAML_ (only for ``watchmedo`` script)
218218
6. argh_ (only for ``watchmedo`` script)
@@ -257,7 +257,6 @@ to do:
257257
.. _issue tracker: http://github.com/gorakhargosh/watchdog/issues
258258

259259
.. _homebrew: http://mxcl.github.com/homebrew/
260-
.. _select_backport: http://pypi.python.org/pypi/select_backport
261260
.. _argh: http://pypi.python.org/pypi/argh
262261
.. _PyYAML: http://www.pyyaml.org/
263262
.. _XCode: http://developer.apple.com/technologies/tools/xcode.html

changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
API changes
44
-----------
55

6+
0.10.0
7+
~~~~~~
8+
9+
- Dropped support for Python 2.6, 3.2 and 3.3.
10+
If you are still running one of these obsolete Python version, you have to keep using watchdog < 0.10.0.
11+
612
0.8.2
713
~~~~~
814

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: python-watchdog
22
Section: free
33
Priority: extra
44
Maintainer: Hannu Valtonen <[email protected]>
5-
Build-Depends: cdbs, debhelper (>= 7.0.50~), python-support, python (>= 2.6), python-setuptools (>= 0.6.14 )
5+
Build-Depends: cdbs, debhelper (>= 7.0.50~), python-support, python (>= 2.7), python-setuptools (>= 0.6.14 )
66
Standards-Version: 3.8.4
77

88
Package: python-watchdog

debian/pyversions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6
1+
2.7

docs/source/global.rst.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
.. _Python: http://python.org
3939
.. _pywin32: http://sourceforge.net/projects/pywin32/
4040
.. _PyYAML: http://www.pyyaml.org/
41-
.. _select_backport: http://pypi.python.org/pypi/select_backport/
4241
.. _sphinx: http://sphinx.pocoo.org/
4342
.. _treewalker: http://github.com/jbd/treewatcher
4443
.. _unison fsmonitor: https://webdav.seas.upenn.edu/viewvc/unison/trunk/src/fsmonitor.py?view=markup&pathrev=471

docs/source/hacking.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ beginning to hack:
2222
2. git_
2323
3. ssh
2424
4. XCode_ (on Mac OS X)
25-
5. select_backport_ (on BSD/Mac OS X if you're using Python 2.6)
2625

2726
Setting up the Work Environment
2827
-------------------------------

docs/source/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Watchdog
1111

1212
Python API library and shell utilities to monitor file system events.
1313

14+
Works on Python 2.7 and 3.4+. If you want to use an old version of Python, you should stick with watchdog < 0.10.0.
15+
1416
Directory monitoring made easy with
1517
-----------------------------------
1618

docs/source/installation.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Installation
66
============
7-
|project_name| requires Python 2.6 or above to work. If you are using a
7+
|project_name| requires Python 2.7 or 3.4+ to work. If you are using a
88
Linux/FreeBSD/Mac OS X system, you already have Python installed. However,
99
you may wish to upgrade your system to Python 2.7 at least, because this
1010
version comes with updates that can reduce compatibility
@@ -56,9 +56,6 @@ using.
5656
+---------------------+-------------+-------------+-------------+-------------+
5757
| argparse_ | Yes | Yes | Yes | Yes |
5858
+---------------------+-------------+-------------+-------------+-------------+
59-
| select_backport_ | | | Yes | Yes |
60-
| (Python 2.6) | | | | |
61-
+---------------------+-------------+-------------+-------------+-------------+
6259
| pathtools_ | Yes | Yes | Yes | Yes |
6360
+---------------------+-------------+-------------+-------------+-------------+
6461

0 commit comments

Comments
 (0)