Enabled tests on Python 3.13, disabled on Python 3.8 (#1589)

* Try to enable tests on Python 3.13

* Remove support for Python 3.8 and PyPy 3.8

Dropped Python 3.8 and PyPy 3.8 from the CI workflow and updated the minimum required Python version to 3.9 in pyproject.toml. Also updated dependencies and tools to align with the new minimum Python version.

* Added changelog

* Reformat code

* Bump mypy python version
This commit is contained in:
Alex Root Junior 2024-10-19 14:55:38 +03:00 committed by GitHub
parent 1dbdcf0516
commit 51beb48257
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 51 deletions

16
CHANGES/1589.misc.rst Normal file
View file

@ -0,0 +1,16 @@
Checked compatibility with Python 3.13 (added to the CI/CD processes),
so now aiogram is totally compatible with it.
Dropped compatibility with Python 3.8 due to this version being `EOL <https://devguide.python.org/versions/>`_.
.. warning::
In some cases you will need to have the installed compiler (Rust or C++)
to install some of the dependencies to compile packages from source on `pip install` command.
- If you are using Windows, you will need to have the `Visual Studio <https://visualstudio.microsoft.com/visual-cpp-build-tools/>`_ installed.
- If you are using Linux, you will need to have the `build-essential` package installed.
- If you are using macOS, you will need to have the `Xcode <https://developer.apple.com/xcode/>`_ installed.
When developers of this dependencies will release new versions with precompiled wheels for Windows, Linux and macOS,
this action will not be necessary anymore until the next version of the Python interpreter.