e-note-ion 2.2.0__tar.gz → 2.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {e_note_ion-2.2.0/e_note_ion.egg-info → e_note_ion-2.2.1}/PKG-INFO +5 -5
  2. {e_note_ion-2.2.0 → e_note_ion-2.2.1/e_note_ion.egg-info}/PKG-INFO +5 -5
  3. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/e_note_ion.egg-info/requires.txt +4 -4
  4. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/health.py +4 -1
  5. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/http.py +9 -1
  6. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/pyproject.toml +11 -11
  7. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/LICENSE.txt +0 -0
  8. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/MANIFEST.in +0 -0
  9. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/README.md +0 -0
  10. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/config.py +0 -0
  11. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/e_note_ion.egg-info/SOURCES.txt +0 -0
  12. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/e_note_ion.egg-info/dependency_links.txt +0 -0
  13. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/e_note_ion.egg-info/entry_points.txt +0 -0
  14. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/e_note_ion.egg-info/top_level.txt +0 -0
  15. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/exceptions.py +0 -0
  16. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/healthalert.py +0 -0
  17. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/homebridge.py +0 -0
  18. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/__init__.py +0 -0
  19. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/bart.py +0 -0
  20. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/calendar.py +0 -0
  21. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/calendar_schedule.py +0 -0
  22. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/color.py +0 -0
  23. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/discogs.py +0 -0
  24. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/diving.py +0 -0
  25. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/google.py +0 -0
  26. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/media.py +0 -0
  27. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/message.py +0 -0
  28. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/moon.py +0 -0
  29. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/morning.py +0 -0
  30. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/notion.py +0 -0
  31. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/parcel.py +0 -0
  32. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/plex.py +0 -0
  33. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/qbittorrent.py +0 -0
  34. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/scheduler.py +0 -0
  35. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/tmdb.py +0 -0
  36. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/trakt.py +0 -0
  37. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/unraid.py +0 -0
  38. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/uptimerobot.py +0 -0
  39. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/vestaboard.py +0 -0
  40. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/weather.py +0 -0
  41. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/ynab.py +0 -0
  42. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/integrations/youtube.py +0 -0
  43. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/public.py +0 -0
  44. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/quiet.py +0 -0
  45. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/scheduler.py +0 -0
  46. {e_note_ion-2.2.0 → e_note_ion-2.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: e-note-ion
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Automation for Vestaboard displays — with emotion
5
5
  Author-email: Jason Puglisi <jason@pugli.si>
6
6
  Maintainer-email: Jason Puglisi <jason@pugli.si>
@@ -19,11 +19,11 @@ Classifier: Topic :: Utilities
19
19
  Requires-Python: >=3.14
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE.txt
22
- Requires-Dist: apscheduler>=3.11.2
22
+ Requires-Dist: apscheduler>=3.11.3
23
23
  Requires-Dist: argon2-cffi>=25.1.0
24
- Requires-Dist: caldav>=3.2.1
25
- Requires-Dist: icalendar>=7.1.2
26
- Requires-Dist: Pillow>=12.3.0
24
+ Requires-Dist: caldav>=3.7.0
25
+ Requires-Dist: icalendar>=7.3.2
26
+ Requires-Dist: Pillow>=13.0.0
27
27
  Requires-Dist: recurring-ical-events>=3.8.2
28
28
  Requires-Dist: requests>=2.34.2
29
29
  Dynamic: license-file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: e-note-ion
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Automation for Vestaboard displays — with emotion
5
5
  Author-email: Jason Puglisi <jason@pugli.si>
6
6
  Maintainer-email: Jason Puglisi <jason@pugli.si>
@@ -19,11 +19,11 @@ Classifier: Topic :: Utilities
19
19
  Requires-Python: >=3.14
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE.txt
22
- Requires-Dist: apscheduler>=3.11.2
22
+ Requires-Dist: apscheduler>=3.11.3
23
23
  Requires-Dist: argon2-cffi>=25.1.0
24
- Requires-Dist: caldav>=3.2.1
25
- Requires-Dist: icalendar>=7.1.2
26
- Requires-Dist: Pillow>=12.3.0
24
+ Requires-Dist: caldav>=3.7.0
25
+ Requires-Dist: icalendar>=7.3.2
26
+ Requires-Dist: Pillow>=13.0.0
27
27
  Requires-Dist: recurring-ical-events>=3.8.2
28
28
  Requires-Dist: requests>=2.34.2
29
29
  Dynamic: license-file
@@ -1,7 +1,7 @@
1
- apscheduler>=3.11.2
1
+ apscheduler>=3.11.3
2
2
  argon2-cffi>=25.1.0
3
- caldav>=3.2.1
4
- icalendar>=7.1.2
5
- Pillow>=12.3.0
3
+ caldav>=3.7.0
4
+ icalendar>=7.3.2
5
+ Pillow>=13.0.0
6
6
  recurring-ical-events>=3.8.2
7
7
  requests>=2.34.2
@@ -576,7 +576,10 @@ def start_periodic_log() -> None:
576
576
 
577
577
  def _tick() -> None:
578
578
  global _log_timer
579
- _log_summary()
579
+ try:
580
+ _log_summary()
581
+ except Exception: # noqa: BLE001 — a summary failure must never kill the timer
582
+ logger.exception('Health summary log failed')
580
583
  _log_timer = threading.Timer(_LOG_INTERVAL, _tick)
581
584
  _log_timer.daemon = True
582
585
  _log_timer.start()
@@ -106,6 +106,11 @@ def raise_for_credentials(response: requests.Response, integration: str) -> None
106
106
  )
107
107
 
108
108
 
109
+ # Fallback for callers that omit timeout=. Every current caller passes its own;
110
+ # this keeps the helper safe by construction rather than by convention.
111
+ _DEFAULT_TIMEOUT = 10
112
+
113
+
109
114
  def fetch_with_retry(
110
115
  method: str,
111
116
  url: str,
@@ -130,8 +135,11 @@ def fetch_with_retry(
130
135
  (0s before attempt 0, 1s before attempt 1, 2s before attempt 2).
131
136
  retry_on: Extra status codes to treat as retryable (e.g. YouTube RSS uses
132
137
  404 as a rate-limit signal).
133
- **kwargs: Passed through to requests.request (e.g. params, headers, timeout).
138
+ **kwargs: Passed through to requests.request (e.g. params, headers,
139
+ timeout). timeout defaults to _DEFAULT_TIMEOUT when omitted,
140
+ so no caller can issue an unbounded request.
134
141
  """
142
+ kwargs.setdefault('timeout', _DEFAULT_TIMEOUT)
135
143
  last_exc: Exception | None = None
136
144
 
137
145
  for attempt in range(retries):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "e-note-ion"
3
- version = "2.2.0"
3
+ version = "2.2.1"
4
4
  description = "Automation for Vestaboard displays — with emotion"
5
5
  keywords = ["vestaboard", "note", "flagship", "automation", "schedule", "scheduling"]
6
6
  authors = [
@@ -23,11 +23,11 @@ classifiers = [
23
23
  "Topic :: Utilities",
24
24
  ]
25
25
  dependencies = [
26
- "apscheduler>=3.11.2",
26
+ "apscheduler>=3.11.3",
27
27
  "argon2-cffi>=25.1.0",
28
- "caldav>=3.2.1",
29
- "icalendar>=7.1.2",
30
- "Pillow>=12.3.0",
28
+ "caldav>=3.7.0",
29
+ "icalendar>=7.3.2",
30
+ "Pillow>=13.0.0",
31
31
  "recurring-ical-events>=3.8.2",
32
32
  "requests>=2.34.2",
33
33
  ]
@@ -59,12 +59,12 @@ include = ["integrations*"]
59
59
  [dependency-groups]
60
60
  dev = [
61
61
  "bandit>=1.9.4",
62
- "pip-audit>=2.10.0",
63
- "pre-commit>=4.6.0",
64
- "pyright>=1.1.410",
65
- "pytest>=9.0.3",
62
+ "pip-audit>=2.10.1",
63
+ "pre-commit>=4.7.0",
64
+ "pyright>=1.1.414",
65
+ "pytest>=9.2.0",
66
66
  "pytest-cov>=7.1.0",
67
- "ruff>=0.15.16",
67
+ "ruff>=0.17.6",
68
68
  ]
69
69
 
70
70
  [tool.bandit]
@@ -99,7 +99,7 @@ select = ["E", "F", "I"] # pycodestyle errors, pyflakes, isort
99
99
  [tool.coverage.run]
100
100
  # Measure coverage on the project source — integrations + root-level modules.
101
101
  # Tests themselves are excluded; .venv is excluded by default.
102
- source = ["integrations", "scheduler", "config", "health", "public", "quiet", "exceptions"]
102
+ source = ["integrations", "scheduler", "config", "health", "healthalert", "homebridge", "public", "quiet", "exceptions"]
103
103
 
104
104
  [tool.coverage.report]
105
105
  # Report-only — no fail_under threshold yet. Establish a baseline first; add
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes