diff --git a/.github/workflows/py-test.yml b/.github/workflows/py-test.yml index b794fccf3..32881c45b 100644 --- a/.github/workflows/py-test.yml +++ b/.github/workflows/py-test.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ae08e95c8..44202c4a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Support for Python 3.12. + ## [2.17.1] - 2023-10-01 ### Fixed - Explicitly passing `ephemeral=False` to `create_initial_response` or diff --git a/dev-requirements/constraints.txt b/dev-requirements/constraints.txt index 144fb648e..38a6373ac 100644 --- a/dev-requirements/constraints.txt +++ b/dev-requirements/constraints.txt @@ -2,9 +2,9 @@ # This file is autogenerated by pip-compile-cross-platform # To update, run: # -# pip-compile-cross-platform dev-requirements/constraints.in --output-file dev-requirements/constraints.txt --min-python-version 3.9.0,<3.12 +# pip-compile-cross-platform dev-requirements/constraints.in --output-file dev-requirements/constraints.txt --min-python-version 3.9.0,<3.13 # -aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f \ --hash=sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c \ --hash=sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af \ @@ -81,25 +81,25 @@ aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28 \ --hash=sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065 \ --hash=sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca -aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc \ --hash=sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17 -alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3855a459498bfe4292862057d0df7f130323ad98451b2d9345abd498f24e8d8c \ --hash=sha256:702fbc13ade0c85ac9a6e0fac9c596ab2906ee3c09cf4d1750a4d52c23ffad9d async-timeout==4.0.3 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \ --hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028 -attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04 \ --hash=sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015 -colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.12" and sys_platform == "win32" \ +colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.13" and sys_platform == "win32" \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 -colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4ed23b05a1154294ac99f511fabe8c1d6d4364ec1f7fc989c7fb515ccc29d375 \ --hash=sha256:fbb6fdf9d5685f2517f388fb29bb27d54e8654dd31f58bc2a3b217e967a95ca6 -frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04ced3e6a46b4cfffe20f9ae482818e34eba9b5fb0ce4056e4cc9b6e212d09b7 \ --hash=sha256:0633c8d5337cb5c77acbccc6357ac49a1770b8c487e5b3505c57b949b4b82e98 \ --hash=sha256:068b63f23b17df8569b7fdca5517edef76171cf3897eb68beb01341131fbd2ad \ @@ -177,13 +177,13 @@ frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:fbeb989b5cc29e8daf7f976b421c220f1b8c731cbf22b9130d8815418ea45887 \ --hash=sha256:fde5bd59ab5357e3853313127f4d3565fc7dad314a74d7b5d43c22c6a5ed2ced \ --hash=sha256:fe1a06da377e3a1062ae5fe0926e12b84eceb8a50b350ddca72dc85015873f74 -hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:5bc873776320f465b727a9e56e58eb063ab7e5a7147dc9e2d775946bd6943f1c \ --hash=sha256:84c94c7991249397a311b6aa47e03f810e6ee3dee08cecebf22df7789171cb1b -idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca \ --hash=sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f -multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9 \ --hash=sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8 \ --hash=sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03 \ @@ -258,10 +258,10 @@ multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf \ --hash=sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d \ --hash=sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba -typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \ --hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd -yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51 \ --hash=sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce \ --hash=sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559 \ diff --git a/dev-requirements/tests.txt b/dev-requirements/tests.txt index 94ef2f3aa..004309578 100644 --- a/dev-requirements/tests.txt +++ b/dev-requirements/tests.txt @@ -2,9 +2,9 @@ # This file is autogenerated by pip-compile-cross-platform # To update, run: # -# pip-compile-cross-platform dev-requirements/tests.in --output-file dev-requirements/tests.txt --min-python-version 3.9.0,<3.12 +# pip-compile-cross-platform dev-requirements/tests.in --output-file dev-requirements/tests.txt --min-python-version 3.9.0,<3.13 # -aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f \ --hash=sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c \ --hash=sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af \ @@ -81,25 +81,25 @@ aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28 \ --hash=sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065 \ --hash=sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca -aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc \ --hash=sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17 -alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3855a459498bfe4292862057d0df7f130323ad98451b2d9345abd498f24e8d8c \ --hash=sha256:702fbc13ade0c85ac9a6e0fac9c596ab2906ee3c09cf4d1750a4d52c23ffad9d async-timeout==4.0.3 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \ --hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028 -attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04 \ --hash=sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015 -colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.12" and sys_platform == "win32" \ +colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.13" and sys_platform == "win32" \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 -colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4ed23b05a1154294ac99f511fabe8c1d6d4364ec1f7fc989c7fb515ccc29d375 \ --hash=sha256:fbb6fdf9d5685f2517f388fb29bb27d54e8654dd31f58bc2a3b217e967a95ca6 -coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04387a4a6ecb330c1878907ce0dc04078ea72a869263e53c72a1ba5bbdf380ca \ --hash=sha256:0676cd0ba581e514b7f726495ea75aba3eb20899d824636c6f59b0ed2f88c471 \ --hash=sha256:0e8d06778e8fbffccfe96331a3946237f87b1e1d359d7fbe8b06b96c95a5407a \ @@ -155,13 +155,13 @@ coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.1 exceptiongroup==1.2.0 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14 \ --hash=sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68 -execnet==2.0.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +execnet==2.0.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:88256416ae766bc9e8895c76a87928c0012183da3cc4fc18016e6f050e025f41 \ --hash=sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af -freezegun==1.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +freezegun==1.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:10939b0ba0ff5adaecf3b06a5c2f73071d9678e507c5eaedb23c761d56ac774b \ --hash=sha256:55e0fc3c84ebf0a96a5aa23ff8b53d70246479e9a68863f1fcac5a3e52f19dd6 -frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04ced3e6a46b4cfffe20f9ae482818e34eba9b5fb0ce4056e4cc9b6e212d09b7 \ --hash=sha256:0633c8d5337cb5c77acbccc6357ac49a1770b8c487e5b3505c57b949b4b82e98 \ --hash=sha256:068b63f23b17df8569b7fdca5517edef76171cf3897eb68beb01341131fbd2ad \ @@ -239,19 +239,19 @@ frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:fbeb989b5cc29e8daf7f976b421c220f1b8c731cbf22b9130d8815418ea45887 \ --hash=sha256:fde5bd59ab5357e3853313127f4d3565fc7dad314a74d7b5d43c22c6a5ed2ced \ --hash=sha256:fe1a06da377e3a1062ae5fe0926e12b84eceb8a50b350ddca72dc85015873f74 -hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:5bc873776320f465b727a9e56e58eb063ab7e5a7147dc9e2d775946bd6943f1c \ --hash=sha256:84c94c7991249397a311b6aa47e03f810e6ee3dee08cecebf22df7789171cb1b -idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca \ --hash=sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f -iniconfig==2.0.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +iniconfig==2.0.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 -mock==5.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +mock==5.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:18c694e5ae8a208cdb3d2c20a993ca1a7b0efa258c247a1e565150f477f83744 \ --hash=sha256:5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d -multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9 \ --hash=sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8 \ --hash=sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03 \ @@ -326,46 +326,46 @@ multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf \ --hash=sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d \ --hash=sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba -packaging==23.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +packaging==23.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 -pluggy==1.3.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pluggy==1.3.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 -pytest-asyncio==0.23.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-asyncio==0.23.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc \ --hash=sha256:ea9021364e32d58f0be43b91c6233fb8d2224ccef2398d6837559e587682808f -pytest-cov==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-cov==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6 \ --hash=sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a -pytest-sugar==0.9.7 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-sugar==0.9.7 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:8cb5a4e5f8bbcd834622b0235db9e50432f4cbd71fef55b467fe44e43701e062 \ --hash=sha256:f1e74c1abfa55f7241cf7088032b6e378566f16b938f3f08905e2cf4494edd46 -pytest-timeout==2.2.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-timeout==2.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3b0b95dabf3cb50bac9ef5ca912fa0cfc286526af17afc806824df20c2f72c90 \ --hash=sha256:bde531e096466f49398a59f2dde76fa78429a09a12411466f88a07213e220de2 -pytest-xdist==3.5.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-xdist==3.5.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a \ --hash=sha256:d075629c7e00b611df89f490a5063944bee7a4362a5ff11c7cc7824a03dfce24 -pytest==7.4.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest==7.4.3 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac \ --hash=sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5 -python-dateutil==2.8.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +python-dateutil==2.8.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 -six==1.16.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +six==1.16.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 -termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:9297c0df9c99445c2412e832e882a7884038a25617c60cea2ad69488d4040d63 \ --hash=sha256:aab9e56047c8ac41ed798fa36d892a37aca6b3e9159f3e0c24bc64a9b3ac7b7a tomli==2.0.1 ; python_full_version >= "3.9.0" and python_full_version <= "3.11.0a6" \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f -typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \ --hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd -yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51 \ --hash=sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce \ --hash=sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559 \ diff --git a/dev-requirements/type-checking.txt b/dev-requirements/type-checking.txt index eb3669f5c..6bcd5f817 100644 --- a/dev-requirements/type-checking.txt +++ b/dev-requirements/type-checking.txt @@ -2,9 +2,9 @@ # This file is autogenerated by pip-compile-cross-platform # To update, run: # -# pip-compile-cross-platform dev-requirements/type-checking.in --output-file dev-requirements/type-checking.txt --min-python-version 3.9.0,<3.12 +# pip-compile-cross-platform dev-requirements/type-checking.in --output-file dev-requirements/type-checking.txt --min-python-version 3.9.0,<3.13 # -aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:02ab6006ec3c3463b528374c4cdce86434e7b89ad355e7bf29e2f16b46c7dd6f \ --hash=sha256:04fa38875e53eb7e354ece1607b1d2fdee2d175ea4e4d745f6ec9f751fe20c7c \ --hash=sha256:0b0a6a36ed7e164c6df1e18ee47afbd1990ce47cb428739d6c99aaabfaf1b3af \ @@ -81,31 +81,31 @@ aiohttp==3.9.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f694dc8a6a3112059258a725a4ebe9acac5fe62f11c77ac4dcf896edfa78ca28 \ --hash=sha256:f800164276eec54e0af5c99feb9494c295118fc10a11b997bbb1348ba1a52065 \ --hash=sha256:ffcd828e37dc219a72c9012ec44ad2e7e3066bec6ff3aaa19e7d435dbf4032ca -aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +aiosignal==1.3.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc \ --hash=sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17 -alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +alluka==0.1.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3855a459498bfe4292862057d0df7f130323ad98451b2d9345abd498f24e8d8c \ --hash=sha256:702fbc13ade0c85ac9a6e0fac9c596ab2906ee3c09cf4d1750a4d52c23ffad9d -annotated-types==0.6.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +annotated-types==0.6.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43 \ --hash=sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d -argcomplete==3.2.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +argcomplete==3.2.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:30891d87f3c1abe091f2142613c9d33cac84a5e15404489f033b20399b691fec \ --hash=sha256:437f67fb9b058da5a090df505ef9be0297c4883993f3f56cb186ff087778cfb4 async-timeout==4.0.3 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f \ --hash=sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028 -attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +attrs==23.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04 \ --hash=sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015 -colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.12" and sys_platform == "win32" \ +colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.13" and sys_platform == "win32" \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 -colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +colorlog==6.8.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4ed23b05a1154294ac99f511fabe8c1d6d4364ec1f7fc989c7fb515ccc29d375 \ --hash=sha256:fbb6fdf9d5685f2517f388fb29bb27d54e8654dd31f58bc2a3b217e967a95ca6 -coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04387a4a6ecb330c1878907ce0dc04078ea72a869263e53c72a1ba5bbdf380ca \ --hash=sha256:0676cd0ba581e514b7f726495ea75aba3eb20899d824636c6f59b0ed2f88c471 \ --hash=sha256:0e8d06778e8fbffccfe96331a3946237f87b1e1d359d7fbe8b06b96c95a5407a \ @@ -158,22 +158,22 @@ coverage[toml]==7.4.0 ; python_full_version >= "3.9.0" and python_version < "3.1 --hash=sha256:e7defbb9737274023e2d7af02cac77043c86ce88a907c58f42b580a97d5bcca9 \ --hash=sha256:e9d1bf53c4c8de58d22e0e956a79a5b37f754ed1ffdbf1a260d9dcfa2d8a325e \ --hash=sha256:ea81d8f9691bb53f4fb4db603203029643caffc82bf998ab5b59ca05560f4c06 -distlib==0.3.8 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +distlib==0.3.8 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784 \ --hash=sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64 exceptiongroup==1.2.0 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14 \ --hash=sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68 -execnet==2.0.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +execnet==2.0.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:88256416ae766bc9e8895c76a87928c0012183da3cc4fc18016e6f050e025f41 \ --hash=sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af -filelock==3.13.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +filelock==3.13.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e \ --hash=sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c -freezegun==1.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +freezegun==1.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:10939b0ba0ff5adaecf3b06a5c2f73071d9678e507c5eaedb23c761d56ac774b \ --hash=sha256:55e0fc3c84ebf0a96a5aa23ff8b53d70246479e9a68863f1fcac5a3e52f19dd6 -frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04ced3e6a46b4cfffe20f9ae482818e34eba9b5fb0ce4056e4cc9b6e212d09b7 \ --hash=sha256:0633c8d5337cb5c77acbccc6357ac49a1770b8c487e5b3505c57b949b4b82e98 \ --hash=sha256:068b63f23b17df8569b7fdca5517edef76171cf3897eb68beb01341131fbd2ad \ @@ -251,19 +251,19 @@ frozenlist==1.4.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:fbeb989b5cc29e8daf7f976b421c220f1b8c731cbf22b9130d8815418ea45887 \ --hash=sha256:fde5bd59ab5357e3853313127f4d3565fc7dad314a74d7b5d43c22c6a5ed2ced \ --hash=sha256:fe1a06da377e3a1062ae5fe0926e12b84eceb8a50b350ddca72dc85015873f74 -hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +hikari==2.0.0.dev122 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:5bc873776320f465b727a9e56e58eb063ab7e5a7147dc9e2d775946bd6943f1c \ --hash=sha256:84c94c7991249397a311b6aa47e03f810e6ee3dee08cecebf22df7789171cb1b -idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +idna==3.6 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca \ --hash=sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f -iniconfig==2.0.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +iniconfig==2.0.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 -jinja2==3.1.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +jinja2==3.1.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852 \ --hash=sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61 -markupsafe==2.1.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +markupsafe==2.1.3 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e \ --hash=sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e \ --hash=sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431 \ @@ -324,10 +324,10 @@ markupsafe==2.1.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f698de3fd0c4e6972b92290a45bd9b1536bffe8c6759c62471efaa8acb4c37bc \ --hash=sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2 \ --hash=sha256:ffcc3f7c66b5f5b7931a5aa68fc9cecc51e685ef90282f4a82f0f5e9b704ad11 -mock==5.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +mock==5.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:18c694e5ae8a208cdb3d2c20a993ca1a7b0efa258c247a1e565150f477f83744 \ --hash=sha256:5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d -multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9 \ --hash=sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8 \ --hash=sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03 \ @@ -402,10 +402,10 @@ multidict==6.0.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf \ --hash=sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d \ --hash=sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba -mypy-extensions==1.0.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +mypy-extensions==1.0.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d \ --hash=sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782 -mypy==1.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +mypy==1.8.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:028cf9f2cae89e202d7b6593cd98db6759379f17a319b5faf4f9978d7084cdc6 \ --hash=sha256:2afecd6354bbfb6e0160f4e4ad9ba6e4e003b767dd80d85516e71f2e955ab50d \ --hash=sha256:2b5b6c721bd4aabaadead3a5e6fa85c11c6c795e0c81a7215776ef8afc66de02 \ @@ -433,22 +433,22 @@ mypy==1.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ --hash=sha256:df9824ac11deaf007443e7ed2a4a26bebff98d2bc43c6da21b2b64185da011c4 \ --hash=sha256:e46f44b54ebddbeedbd3d5b289a893219065ef805d95094d16a0af6630f5d410 \ --hash=sha256:f5ac9a4eeb1ec0f1ccdc6f326bcdb464de5f80eb07fb38b5ddd7b0de6bc61e55 -nodeenv==1.8.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +nodeenv==1.8.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2 \ --hash=sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec -nox==2023.4.22 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +nox==2023.4.22 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0b1adc619c58ab4fa57d6ab2e7823fe47a32e70202f287d78474adcc7bda1891 \ --hash=sha256:46c0560b0dc609d7d967dc99e22cb463d3c4caf54a5fda735d6c11b5177e3a9f -packaging==23.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +packaging==23.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 -platformdirs==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +platformdirs==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:11c8f37bcca40db96d8144522d925583bdb7a31f7b0e37e3ed4318400a8e2380 \ --hash=sha256:906d548203468492d432bcb294d4bc2fff751bf84971fbb2c10918cc206ee420 -pluggy==1.3.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pluggy==1.3.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 -pydantic-core==2.14.6 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pydantic-core==2.14.6 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:00646784f6cd993b1e1c0e7b0fdcbccc375d539db95555477771c27555e3c556 \ --hash=sha256:00b1087dabcee0b0ffd104f9f53d7d3eaddfaa314cdd6726143af6bc713aa27e \ --hash=sha256:0348b1dc6b76041516e8a854ff95b21c55f5a411c3297d2ca52f5528e49d8411 \ @@ -554,52 +554,52 @@ pydantic-core==2.14.6 ; python_full_version >= "3.9.0" and python_version < "3.1 --hash=sha256:f96ae96a060a8072ceff4cfde89d261837b4294a4f28b84a28765470d502ccc6 \ --hash=sha256:fd9e98b408384989ea4ab60206b8e100d8687da18b5c813c11e92fd8212a98e0 \ --hash=sha256:ffff855100bc066ff2cd3aa4a60bc9534661816b110f0243e59503ec2df38421 -pydantic==2.5.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pydantic==2.5.3 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:b3ef57c62535b0941697cce638c08900d87fcb67e29cfa99e8a68f747f393f7a \ --hash=sha256:d0caf5954bee831b6bfe7e338c32b9e30c85dfe080c843680783ac2b631673b4 -pyright==1.1.343 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pyright==1.1.343 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:75a0d24e8227328198bdfa1f4904ce66b78c2bacf49c269d9e6e3b174b026225 \ --hash=sha256:871e122d74003e8e5fddb17867220b06ee892de61fa967ca7ca031acdc176738 -pytest-asyncio==0.23.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-asyncio==0.23.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc \ --hash=sha256:ea9021364e32d58f0be43b91c6233fb8d2224ccef2398d6837559e587682808f -pytest-cov==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-cov==4.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6 \ --hash=sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a -pytest-sugar==0.9.7 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-sugar==0.9.7 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:8cb5a4e5f8bbcd834622b0235db9e50432f4cbd71fef55b467fe44e43701e062 \ --hash=sha256:f1e74c1abfa55f7241cf7088032b6e378566f16b938f3f08905e2cf4494edd46 -pytest-timeout==2.2.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-timeout==2.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3b0b95dabf3cb50bac9ef5ca912fa0cfc286526af17afc806824df20c2f72c90 \ --hash=sha256:bde531e096466f49398a59f2dde76fa78429a09a12411466f88a07213e220de2 -pytest-xdist==3.5.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest-xdist==3.5.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a \ --hash=sha256:d075629c7e00b611df89f490a5063944bee7a4362a5ff11c7cc7824a03dfce24 -pytest==7.4.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +pytest==7.4.3 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac \ --hash=sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5 -python-dateutil==2.8.2 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +python-dateutil==2.8.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 -setuptools==69.0.3 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +setuptools==69.0.3 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:385eb4edd9c9d5c17540511303e39a147ce2fc04bc55289c322b9e5904fe2c05 \ --hash=sha256:be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78 -six==1.16.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +six==1.16.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 -termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:9297c0df9c99445c2412e832e882a7884038a25617c60cea2ad69488d4040d63 \ --hash=sha256:aab9e56047c8ac41ed798fa36d892a37aca6b3e9159f3e0c24bc64a9b3ac7b7a -tomli==2.0.1 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +tomli==2.0.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f -typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +typing-extensions==4.9.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \ --hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd -virtualenv==20.25.0 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +virtualenv==20.25.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4238949c5ffe6876362d9c0180fc6c3a824a7b12b80604eeb8085f2ed7460de3 \ --hash=sha256:bf51c0d9c7dd63ea8e44086fa1e4fb1093a31e963b86959257378aef020e1f1b -yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.12" \ +yarl==1.9.4 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:008d3e808d03ef28542372d01057fd09168419cdc8f848efe2804f894ae03e51 \ --hash=sha256:03caa9507d3d3c83bca08650678e25364e1843b484f19986a527630ca376ecce \ --hash=sha256:07574b007ee20e5c375a8fe4a0789fad26db905f9813be0f9fef5a68080de559 \ diff --git a/pyproject.toml b/pyproject.toml index ec9ab8ecb..e1f2bf7ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" name = "hikari-tanjun" version = "2.17.1" readme = "README.md" -requires-python = ">=3.9.0,<3.12" +requires-python = ">=3.9.0,<3.13" license = {file = "LICENSE"} authors = [ {name = "Faster Speeding", email="lucina@lmbyrne.dev"} ] keywords = ["hikari"] @@ -162,7 +162,7 @@ top_level_targets = ["./docs_src", "./examples", "./noxfile.py", "./tanjun", "./ [tool.piped.github_actions.publish] [tool.piped.github_actions.py_test] codeclimate_token = "117363998d7c6b4bab4ac57348026e1089767e142ccca3eb8cc37da6cf4cc8b9" -python_versions = ["3.9", "3.10", "3.11"] +python_versions = ["3.9", "3.10", "3.11", "3.12"] [tool.piped.github_actions.reformat] [tool.piped.github_actions.release_docs] @@ -210,7 +210,12 @@ asyncio_mode = "strict" testpaths = ["tests"] timeout = 15 required_plugins = ["pytest-asyncio", "pytest-timeout"] -filterwarnings = ["error"] +filterwarnings = [ + "error", + # Remove after dateutil >2.8.2 release + # https://github.com/dateutil/dateutil/issues/1314 + "ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated:DeprecationWarning:dateutil.tz.tz:37", +] [tool.slotscheck] strict-imports = true diff --git a/tests/test_conversion.py b/tests/test_conversion.py index 4bbc58fbf..d0f01d0f5 100644 --- a/tests/test_conversion.py +++ b/tests/test_conversion.py @@ -1851,7 +1851,7 @@ def test_from_datetime_with_default_style(): def test_from_datetime_for_naive_datetime(): - date = datetime.datetime.utcnow() + date = datetime.datetime.now() with pytest.raises(ValueError, match="Cannot convert naive datetimes, please specify a timezone."): tanjun.conversion.from_datetime(date) diff --git a/tests/test_schedules.py b/tests/test_schedules.py index 645663ce4..673ff5bae 100644 --- a/tests/test_schedules.py +++ b/tests/test_schedules.py @@ -714,7 +714,7 @@ async def test_stop_when_some_tasks_time_out(self): await asyncio.wait_for(interval.stop(), 0.3) # This is done to allow any finished tasks to be removed. - await asyncio.sleep(0) + await asyncio.sleep(0.1) mock_task.cancel.assert_called_once_with() assert interval.is_alive is False @@ -1208,6 +1208,9 @@ async def test_stop_when_some_tasks_time_out(self): with pytest.raises(asyncio.TimeoutError): await asyncio.wait_for(interval.stop(), 0.25) + # This is done to allow any finished tasks to be removed. + await asyncio.sleep(0.1) + mock_task.cancel.assert_called_once_with() assert interval.is_alive is False assert interval._task is None