mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-26 19:05:13 +00:00
feat: support Python 3.14 and widen range to 3.11-3.14
Move the supported interpreter range to >=3.11,<3.15, dropping the EOL 3.10 floor and unblocking installs on 3.13/3.14. - pyproject: requires-python ">=3.10,<3.13" -> ">=3.11,<3.15" - update_checker: replace deprecated asyncio.get_event_loop() with asyncio.to_thread() (warns on 3.12+, slated for removal) - test_compression: simplify _run() to plain asyncio.run() - README: bump documented Python range to 3.11 - 3.14 - uv.lock: regenerate for the new interpreter floor
This commit is contained in:
@@ -209,8 +209,7 @@ class UpdateChecker:
|
||||
return None
|
||||
|
||||
try:
|
||||
loop = asyncio.get_event_loop()
|
||||
latest_version = await loop.run_in_executor(None, cls._fetch_latest_version)
|
||||
latest_version = await asyncio.to_thread(cls._fetch_latest_version)
|
||||
|
||||
if latest_version and cls._compare_versions(current_version, latest_version):
|
||||
return latest_version
|
||||
|
||||
Reference in New Issue
Block a user