Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #26 +/- ##
==========================================
+ Coverage 85.83% 88.57% +2.74%
==========================================
Files 7 7
Lines 360 359 -1
==========================================
+ Hits 309 318 +9
+ Misses 51 41 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
ntk watchcompatibility with Python 3.12+ and modernise dependencies with #25Problem
ntk watchraised aRuntimeErroron Python 3.12+ becauseasyncio.get_event_loop()no longer creates a new event loop implicitly when called outside of a running loop. Also reported by a user on Python 3.14 on macOS.Changes
Bug fixes
asyncio.get_event_loop()/loop.run_until_complete()withasyncio.run()in thewatchcommandwatchfilesChangeenum logging — useevent_type.name.title()instead ofstr(event_type)which was printing integers (2instead ofModified)watchfilesinternal log noise (1 change detected) via logger levelDependencies
watchgodwithwatchfiles(the maintained successor by the same author)python_requiresto>=3.10(Python 3.8/3.9 are EOL)extras_require={"test": ...}insetup.pysopip install -e ".[test]"worksCI / release pipeline
python setup.py sdist bdist_wheelwithpython -m buildTests
pushcommand (missing, added, and filenames scenarios)asyncio.run()is called by thewatchcommandDocs
CLAUDE.mdwith project overview, dev setup, and conventions29 Next→Next Commercein docs