Upgrade to Python 3.11
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
aiohttp
|
||||||
|
Telethon
|
||||||
|
validators
|
||||||
+39
-34
@@ -1,35 +1,40 @@
|
|||||||
aiohttp==3.7.3
|
# This file was autogenerated by uv via the following command:
|
||||||
appdirs==1.4.3
|
# uv pip compile --python-version 3.11 -o requirements.txt requirements.in
|
||||||
async-timeout==3.0.1
|
aiohappyeyeballs==2.7.1
|
||||||
attrs==20.3.0
|
# via aiohttp
|
||||||
CacheControl==0.12.6
|
aiohttp==3.14.5
|
||||||
certifi==2019.11.28
|
# via -r requirements.in
|
||||||
chardet==3.0.4
|
aiosignal==1.4.0
|
||||||
colorama==0.4.3
|
# via aiohttp
|
||||||
contextlib2==0.6.0
|
attrs==26.1.0
|
||||||
decorator==4.4.2
|
# via aiohttp
|
||||||
distlib==0.3.0
|
frozenlist==1.8.0
|
||||||
distro==1.4.0
|
# via
|
||||||
html5lib==1.0.1
|
# aiohttp
|
||||||
idna==2.8
|
# aiosignal
|
||||||
ipaddr==2.2.0
|
idna==3.20
|
||||||
lockfile==0.12.2
|
# via yarl
|
||||||
msgpack==0.6.2
|
multidict==7.2.1
|
||||||
multidict==5.1.0
|
# via
|
||||||
packaging==20.3
|
# aiohttp
|
||||||
pep517==0.8.2
|
# yarl
|
||||||
progress==1.5
|
propcache==0.5.4
|
||||||
|
# via
|
||||||
|
# aiohttp
|
||||||
|
# yarl
|
||||||
pyaes==1.6.1
|
pyaes==1.6.1
|
||||||
pyasn1==0.4.8
|
# via telethon
|
||||||
pyparsing==2.4.6
|
pyasn1==0.6.5
|
||||||
pytoml==0.1.21
|
# via rsa
|
||||||
requests==2.22.0
|
rsa==4.9.1
|
||||||
retrying==1.3.3
|
# via telethon
|
||||||
rsa==4.7.1
|
telethon==1.46.0
|
||||||
six==1.14.0
|
# via -r requirements.in
|
||||||
Telethon==1.19.5
|
typing-extensions==4.16.0
|
||||||
typing-extensions==3.7.4.3
|
# via
|
||||||
urllib3==1.25.8
|
# aiohttp
|
||||||
validators==0.18.2
|
# aiosignal
|
||||||
webencodings==0.5.1
|
validators==0.36.0
|
||||||
yarl==1.6.3
|
# via -r requirements.in
|
||||||
|
yarl==1.25.1
|
||||||
|
# via aiohttp
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ service = load_service()
|
|||||||
|
|
||||||
|
|
||||||
class GreenOceanUpgradeTests(unittest.TestCase):
|
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):
|
def test_domain_and_url_inputs_keep_their_distinct_redirect_paths(self):
|
||||||
self.assertTrue(validators.domain('example.com'))
|
self.assertTrue(validators.domain('example.com'))
|
||||||
self.assertFalse(validators.url('example.com'))
|
self.assertFalse(validators.url('example.com'))
|
||||||
|
|||||||
Reference in New Issue
Block a user