Skip to content

Commit

Permalink
Drop Python 3.5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Dec 7, 2020
1 parent f2c28b2 commit 7f7937d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 36 deletions.
32 changes: 5 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ env:
jobs:
fast_finish: true
include:
- name: Python 3.5 on GNU/Linux
os: linux
python: "3.5"
env: TOXENV=py35
- name: Python 3.6 on GNU/Linux
os: linux
python: "3.6"
Expand All @@ -34,29 +30,18 @@ jobs:
env: TOXENV=py38
- name: Python 3.9 on GNU/Linux
os: linux
python: 3.9-dev
python: "3.9"
env: TOXENV=py39
- name: Python 3.10 on GNU/Linux
os: linux
python: nightly
env: TOXENV=py310

- name: PyPy 3.6 on GNU/Linux
os: linux
python: "pypy3"
python: pypy3
env: TOXENV=pypy3
- name: Python 3.5 on macOS
os: osx
language: shell
install:
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- eval "$(pyenv init -)"
- pyenv install --skip-existing 3.5.10
- pyenv global 3.5.10
env:
- TOXENV=py35
- PYENV_ROOT="$HOME/.pyenv/versions/3.5.10"
- PATH="$PYENV_ROOT/bin:$PATH"

- name: Python 3.6 on macOS
os: osx
language: shell
Expand Down Expand Up @@ -122,14 +107,7 @@ jobs:
- TOXENV=py310
- PYENV_ROOT="$HOME/.pyenv/versions/3.10-dev"
- PATH="$PYENV_ROOT/bin:$PATH"
- name: Python 3.5 on Windows
os: windows
language: shell
before_install:
- choco install python3 --version=3.5.4
env:
- TOXENV=py35
- export PATH="/c/Python35:/c/Python35/Scripts:$PATH"

- name: Python 3.6 on Windows
os: windows
language: shell
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Watchdog

Python API and shell utilities to monitor file system events.

Works on 3.5+.
Works on 3.6+.

If you want to use Python 2.6, you should stick with watchdog < 0.10.0.

If you want to use Python 2.7 or 3.4, you should stick with watchdog < 1.0.0.
If you want to use Python 2.7, 3.4 or 3.5, you should stick with watchdog < 1.0.0.

Example API Usage
-----------------
Expand Down Expand Up @@ -236,7 +236,7 @@ appropriate observer like in the example above, do::
Dependencies
------------

1. Python 3.5 or above.
1. Python 3.6 or above.
2. XCode_ (only on Mac OS X)
3. PyYAML_ (only for ``watchmedo`` script)
4. argh_ (only for ``watchmedo`` script)
Expand Down
2 changes: 1 addition & 1 deletion changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Changelog
2021-xx-xx • `full history <https://github.com/gorakhargosh/watchdog/compare/v0.10.4...master>`__

- Versioning is now following `semver <https://semver.org/>`_
- Drop support for Python 2.7 and 3.4
- Drop support for Python 2.7, 3.4 and 3.5
- Allow file paths on Unix that don't follow the file system encoding (`#703 <https://github.com/gorakhargosh/watchdog/pull/703>`_)
- Use ``pathlib`` from the standard library, instead of pathtools (`#556 <https://github.com/gorakhargosh/watchdog/pull/556>`_)
- Removed the long-time deprecated ``events.LoggingFileSystemEventHandler`` class, use ``LoggingEventHandler`` instead
Expand Down
5 changes: 3 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ Watchdog

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

Works on 3.5+.
Works on 3.6+.

If you want to use Python 2.6, you should stick with watchdog < 0.10.0.
If you want to use Python 2.7 or 3.4, you should stick with watchdog < 1.0.0.

If you want to use Python 2.7, 3.4 or 3.5, you should stick with watchdog < 1.0.0.

Directory monitoring made easy with
-----------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Installation
============
|project_name| requires 3.5+ to work. See a list of :ref:`installation-dependencies`.
|project_name| requires 3.6+ to work. See a list of :ref:`installation-dependencies`.

Installing from PyPI using pip
------------------------------
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand All @@ -150,6 +149,6 @@
entry_points={'console_scripts': [
'watchmedo = watchdog.watchmedo:main [watchmedo]',
]},
python_requires='>=3.5',
python_requires='>=3.6',
zip_safe=False
)

0 comments on commit 7f7937d

Please sign in to comment.