Title: 'No time zone found with key EST' in debian 13 · Issue #1579 · python-kasa/python-kasa · GitHub
Open Graph Title: 'No time zone found with key EST' in debian 13 · Issue #1579 · python-kasa/python-kasa
X Title: 'No time zone found with key EST' in debian 13 · Issue #1579 · python-kasa/python-kasa
Description: Description In debian 13, the tzdata package has changed and no longer includes timezones like EST. Code within python-kasa is causing it to break when used in debian 13, whereas the same code functions fine in debian 12. Workaround A ba...
Open Graph Description: Description In debian 13, the tzdata package has changed and no longer includes timezones like EST. Code within python-kasa is causing it to break when used in debian 13, whereas the same code func...
X Description: Description In debian 13, the tzdata package has changed and no longer includes timezones like EST. Code within python-kasa is causing it to break when used in debian 13, whereas the same code func...
Opengraph URL: https://github.com/python-kasa/python-kasa/issues/1579
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'No time zone found with key EST' in debian 13","articleBody":"## Description\n\nIn debian 13, the tzdata package has changed and no longer includes timezones like `EST`. Code within python-kasa is causing it to break when used in debian 13, whereas the same code functions fine in debian 12.\n\n## Workaround\n\nA bandaid for this is to install the `tzdata-legacy` package, which includes the deprecated timezones.\n\n## Examples\n\nBoth of these examples were set up by running a docker container and then:\n\n```sh\napt update \u0026\u0026 apt install -y curl\ncurl -LsSf https://astral.sh/uv/install.sh | sh\nexport PATH=\"$HOME/.local/bin:$PATH\"\nuv tool install python-kasa\n```\n\n### Debian 12\n\nA working command:\n```\nroot@a33d3da471be:/# kasa --host 192.168.9.79 off\nDiscovering device 192.168.9.79 for 10 seconds\nTurning off Office AA0F\n```\n\nAnd some debug info:\n```\nroot@a33d3da471be:/# head -n1 /root/.local/bin/kasa\n#!/root/.local/share/uv/tools/python-kasa/bin/python\nroot@a33d3da471be:/# /root/.local/share/uv/tools/python-kasa/bin/python --version\nPython 3.13.7\nroot@a33d3da471be:/# kasa --version\nkasa, version 0.10.2\nroot@a33d3da471be:/# ls /usr/share/zoneinfo/EST\n/usr/share/zoneinfo/EST\nroot@a33d3da471be:/# dpkg -l tzdata\nDesired=Unknown/Install/Remove/Purge/Hold\n| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend\n|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)\n||/ Name Version Architecture Description\n+++-==============-===============-============-=======================================\nii tzdata 2025b-0+deb12u2 all time zone and daylight-saving time data\n```\n\n### Debian 13\n\nA failing command:\n```\nroot@1332b6287f11:/# kasa --host 192.168.9.79 off\nDiscovering device 192.168.9.79 for 10 seconds\nRaised error: 'No time zone found with key EST'\nRun with --debug enabled to see stacktrace\n```\n\nAnd some debug info:\n```\nroot@1332b6287f11:/# head -n1 /root/.local/bin/kasa\n#!/root/.local/share/uv/tools/python-kasa/bin/python\nroot@1332b6287f11:/# /root/.local/share/uv/tools/python-kasa/bin/python --version\nPython 3.13.7\nroot@1332b6287f11:/# kasa --version\nkasa, version 0.10.2\nroot@1332b6287f11:/# ls /usr/share/zoneinfo/EST\nls: cannot access '/usr/share/zoneinfo/EST': No such file or directory\nroot@1332b6287f11:/# dpkg -l tzdata\nDesired=Unknown/Install/Remove/Purge/Hold\n| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend\n|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)\n||/ Name Version Architecture Description\n+++-==============-===============-============-=======================================\nii tzdata 2025b-4+deb13u1 all time zone and daylight-saving time data\n```\n\n## Additional information\n\n- \u003chttps://www.debian.org/releases/trixie/release-notes/issues.en.html#timezones-split-off-into-tzdata-legacy-package\u003e\n- \u003chttps://rachelbythebay.com/w/2025/09/11/debtz/\u003e\n- \u003chttps://news.ycombinator.com/item?id=45218111\u003e","author":{"url":"https://github.com/danielhoherd","@type":"Person","name":"danielhoherd"},"datePublished":"2025-09-24T20:21:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/1579/python-kasa/issues/1579"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4e061cc5-3cc9-b3ea-cc98-1bc891df2f0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B174:2F5602:2CD7:3A9F:6981CA37 |
| html-safe-nonce | 092874c5811d19e82ac354bb98eea8b44d486f76cd556c198a5aa719c173fb27 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTc0OjJGNTYwMjoyQ0Q3OjNBOUY6Njk4MUNBMzciLCJ2aXNpdG9yX2lkIjoiMzg4MzU5MDM2MDg4MjA3MjExOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6285f9a525e5b4857a1f69bf7d264ee96aeb366a1711b278ec6b998f3946a2fd |
| hovercard-subject-tag | issue:3450865028 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-kasa/python-kasa/1579/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4aaeb30085395b7fbb2d1345a996530eff1de5f896c46424225e13afef5a880d/python-kasa/python-kasa/issues/1579 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4aaeb30085395b7fbb2d1345a996530eff1de5f896c46424225e13afef5a880d/python-kasa/python-kasa/issues/1579 |
| og:image:alt | Description In debian 13, the tzdata package has changed and no longer includes timezones like EST. Code within python-kasa is causing it to break when used in debian 13, whereas the same code func... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danielhoherd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95dd6eb30a064b87bd2c653e622fe2eb6a2ec1d12751c5463c252220548e75a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-kasa/python-kasa git https://github.com/python-kasa/python-kasa.git |
| octolytics-dimension-user_id | 57733869 |
| octolytics-dimension-user_login | python-kasa |
| octolytics-dimension-repository_id | 221571611 |
| octolytics-dimension-repository_nwo | python-kasa/python-kasa |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 221571611 |
| octolytics-dimension-repository_network_root_nwo | python-kasa/python-kasa |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f9fe298cbc605034955dde47054b68dbf531efd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width