diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fecdc08..c482acb2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,11 +41,11 @@ jobs: emoji: 🪟 runs-on: [windows-latest] python: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" - "pypy-3.8" - "pypy-3.9" include: diff --git a/README.rst b/README.rst index 5db08988..b817bf33 100755 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ Watchdog Python API and shell utilities to monitor file system events. -Works on 3.7+. +Works on 3.8+. Example API Usage ----------------- @@ -213,7 +213,7 @@ appropriate observer like in the example above, do:: Dependencies ------------ -1. Python 3.7 or above. +1. Python 3.8 or above. 2. XCode_ (only on macOS when installing from sources) 3. PyYAML_ (only for ``watchmedo``) diff --git a/changelog.rst b/changelog.rst index d6754ddb..bd180a0b 100644 --- a/changelog.rst +++ b/changelog.rst @@ -8,6 +8,8 @@ Changelog 2023-xx-xx • `full history `__ +- Drop support for Python 3.7. +- Add support for Python 3.12. - [snapshot] Add typing to ``dirsnapshot`` (`#1012 `__) - [snapshot] Added ``DirectorySnapshotDiff.ContextManager`` (`#1011 `__) - [events] ``FileSystemEvent``, and subclasses, are now ``dataclass``es, and their ``repr()`` has changed diff --git a/docs/source/index.rst b/docs/source/index.rst index ce60b699..8365309a 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,7 +11,7 @@ Watchdog Python API library and shell utilities to monitor file system events. -Works on 3.7+. +Works on 3.8+. Directory monitoring made easy with ----------------------------------- diff --git a/docs/source/installation.rst b/docs/source/installation.rst index f7fea16f..e1e331d6 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -4,7 +4,7 @@ Installation ============ -|project_name| requires 3.7+ to work. See a list of :ref:`installation-dependencies`. +|project_name| requires 3.8+ to work. See a list of :ref:`installation-dependencies`. Installing from PyPI using pip ------------------------------ diff --git a/setup.py b/setup.py index 337e4be4..320d951c 100644 --- a/setup.py +++ b/setup.py @@ -129,11 +129,11 @@ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: C", "Topic :: Software Development :: Libraries", @@ -154,6 +154,6 @@ "watchmedo = watchdog.watchmedo:main [watchmedo]", ] }, - python_requires=">=3.7", + python_requires=">=3.8", zip_safe=False, ) diff --git a/tox.ini b/tox.ini index a211e616..2f5849ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{311,310,39,38,37,36,py3} + py{312,311,310,39,38,py3} docs mypy skip_missing_interpreters = True