Skip to content

Commit

Permalink
feat: Python 3.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Jul 28, 2024
1 parent 914923c commit 6ef25d8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13-dev"
- "pypy-3.8"
- "pypy-3.9"
include:
Expand Down
1 change: 1 addition & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Changelog

2024-xx-xx • `full history <https://github.com/gorakhargosh/watchdog/compare/v4.0.1...HEAD>`__

- Add support for Python 3.13
- [fsevents] Add missing ``event_filter`` keyword-argument to ``FSEventsObserver.schedule()`` (`#1049 <https://github.com/gorakhargosh/watchdog/pull/1049>`__)
- Thanks to our beloved contributors: @BoboTiG

Expand Down
2 changes: 1 addition & 1 deletion requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eventlet
eventlet; python_version < "3.13"
flake8
flaky
isort
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: C",
"Topic :: Software Development :: Libraries",
Expand Down
6 changes: 1 addition & 5 deletions tests/test_skip_repeats_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ def test_consecutives_allowed_across_empties():

@cpython_only
def test_eventlet_monkey_patching():
try:
import eventlet # type: ignore[import-untyped]
except Exception:
pytest.skip("eventlet not installed")

eventlet = pytest.importorskip("eventlet")
eventlet.monkey_patch()
basic_actions()
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{312,311,310,39,38,py3}
py{313,312,311,310,39,38,py3}
docs
mypy
skip_missing_interpreters = True
Expand Down

0 comments on commit 6ef25d8

Please sign in to comment.