Upgrade to Python 3.11

This commit is contained in:
Tanner
2026-11-18 17:52:06 +00:00
parent 940080106c
commit 38265f6201
3 changed files with 51 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
aiohttp
requests
Telethon
+47 -15
View File
@@ -1,16 +1,48 @@
aiohttp==3.6.3 # This file was autogenerated by uv via the following command:
async-timeout==3.0.1 # uv pip compile --python-version 3.11 -o requirements.txt requirements.in
attrs==21.2.0 aiohappyeyeballs==2.7.1
certifi==2021.10.8 # via aiohttp
chardet==3.0.4 aiohttp==3.14.5
idna==2.10 # via -r requirements.in
idna-ssl==1.1.0 aiosignal==1.4.0
multidict==4.7.6 # via aiohttp
attrs==26.1.0
# via aiohttp
certifi==2026.10.23
# via requests
charset-normalizer==3.5.2
# via requests
frozenlist==1.8.0
# via
# aiohttp
# aiosignal
idna==3.20
# via
# requests
# yarl
multidict==7.2.1
# via
# aiohttp
# yarl
propcache==0.5.4
# via
# aiohttp
# yarl
pyaes==1.6.1 pyaes==1.6.1
pyasn1==0.4.8 # via telethon
requests==2.25.1 pyasn1==0.6.5
rsa==4.7.2 # via rsa
Telethon==1.23.0 requests==2.34.2
typing-extensions==3.10.0.0 # via -r requirements.in
urllib3==1.26.8 rsa==4.9.1
yarl==1.5.1 # via telethon
telethon==1.46.0
# via -r requirements.in
typing-extensions==4.16.0
# via
# aiohttp
# aiosignal
urllib3==2.8.0
# via requests
yarl==1.25.1
# via aiohttp
+1 -1
View File
@@ -62,7 +62,7 @@ class _FakeRequest:
class T0SigUpgradeTests(unittest.TestCase): class T0SigUpgradeTests(unittest.TestCase):
def test_suite_runs_on_supported_python(self): def test_suite_runs_on_supported_python(self):
self.assertEqual(sys.version_info[0], 3) self.assertEqual(sys.version_info[0], 3)
self.assertGreaterEqual(sys.version_info[:2], (3, 8)) self.assertGreaterEqual(sys.version_info[:2], (3, 11))
def test_service_sources_compile_under_target_python(self): def test_service_sources_compile_under_target_python(self):
for path in ROOT.rglob('*.py'): for path in ROOT.rglob('*.py'):