Update dependencies and drop Python 3.9 support

This commit is contained in:
Tulir Asokan
2024-01-08 17:34:35 +02:00
parent 731d5e028a
commit 19a4b4374d
4 changed files with 12 additions and 8 deletions
+4 -4
View File
@@ -6,17 +6,17 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.12"
- uses: isort/isort-action@master - uses: isort/isort-action@master
with: with:
sortPaths: "./mautrix_telegram" sortPaths: "./mautrix_telegram"
- uses: psf/black@stable - uses: psf/black@stable
with: with:
src: "./mautrix_telegram" src: "./mautrix_telegram"
version: "23.1.0" version: "23.11.0"
- name: pre-commit - name: pre-commit
run: | run: |
pip install pre-commit pip install pre-commit
+5
View File
@@ -1,3 +1,8 @@
# unreleased
* Dropped support for Python 3.9.
* Updated Telegram API to layer 170.
# v0.15.1 (2023-12-26) # v0.15.1 (2023-12-26)
* Updated Telegram API to layer 169. * Updated Telegram API to layer 169.
+2 -2
View File
@@ -3,8 +3,8 @@ python-magic>=0.4,<0.5
commonmark>=0.8,<0.10 commonmark>=0.8,<0.10
aiohttp>=3,<4 aiohttp>=3,<4
yarl>=1,<2 yarl>=1,<2
mautrix>=0.20.3,<0.21 mautrix>=0.20.4,<0.21
tulir-telethon==1.34.0a2 tulir-telethon==1.34.0a3
asyncpg>=0.20,<0.30 asyncpg>=0.20,<0.30
mako>=1,<2 mako>=1,<2
setuptools setuptools
+1 -2
View File
@@ -51,7 +51,7 @@ setuptools.setup(
install_requires=install_requires, install_requires=install_requires,
extras_require=extras_require, extras_require=extras_require,
python_requires="~=3.9", python_requires="~=3.10",
classifiers=[ classifiers=[
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
@@ -60,7 +60,6 @@ setuptools.setup(
"Framework :: AsyncIO", "Framework :: AsyncIO",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",