Upgrade to Python 3.11

This commit is contained in:
Tanner
2026-11-18 17:52:06 +00:00
parent bd84e34085
commit 9bd30bbeec
3 changed files with 45 additions and 34 deletions
+3
View File
@@ -0,0 +1,3 @@
aiohttp
Telethon
validators
+39 -34
View File
@@ -1,35 +1,40 @@
aiohttp==3.7.3
appdirs==1.4.3
async-timeout==3.0.1
attrs==20.3.0
CacheControl==0.12.6
certifi==2019.11.28
chardet==3.0.4
colorama==0.4.3
contextlib2==0.6.0
decorator==4.4.2
distlib==0.3.0
distro==1.4.0
html5lib==1.0.1
idna==2.8
ipaddr==2.2.0
lockfile==0.12.2
msgpack==0.6.2
multidict==5.1.0
packaging==20.3
pep517==0.8.2
progress==1.5
# This file was autogenerated by uv via the following command:
# uv pip compile --python-version 3.11 -o requirements.txt requirements.in
aiohappyeyeballs==2.7.1
# via aiohttp
aiohttp==3.14.5
# via -r requirements.in
aiosignal==1.4.0
# via aiohttp
attrs==26.1.0
# via aiohttp
frozenlist==1.8.0
# via
# aiohttp
# aiosignal
idna==3.20
# via yarl
multidict==7.2.1
# via
# aiohttp
# yarl
propcache==0.5.4
# via
# aiohttp
# yarl
pyaes==1.6.1
pyasn1==0.4.8
pyparsing==2.4.6
pytoml==0.1.21
requests==2.22.0
retrying==1.3.3
rsa==4.7.1
six==1.14.0
Telethon==1.19.5
typing-extensions==3.7.4.3
urllib3==1.25.8
validators==0.18.2
webencodings==0.5.1
yarl==1.6.3
# via telethon
pyasn1==0.6.5
# via rsa
rsa==4.9.1
# via telethon
telethon==1.46.0
# via -r requirements.in
typing-extensions==4.16.0
# via
# aiohttp
# aiosignal
validators==0.36.0
# via -r requirements.in
yarl==1.25.1
# via aiohttp
+3
View File
@@ -49,6 +49,9 @@ service = load_service()
class GreenOceanUpgradeTests(unittest.TestCase):
def test_python_311_or_newer_runtime(self):
self.assertGreaterEqual(sys.version_info[:2], (3, 11))
def test_domain_and_url_inputs_keep_their_distinct_redirect_paths(self):
self.assertTrue(validators.domain('example.com'))
self.assertFalse(validators.url('example.com'))