From e45001ca8c6adc6560dd8776c3d31b82ed684ffe Mon Sep 17 00:00:00 2001 From: wulan17 Date: Tue, 23 May 2023 20:48:56 +0700 Subject: [PATCH] Revert "PyroFork: Set minimal python version to 3.9" This reverts commit bafef3d71e2b682f0f422fc3d820d69f0d638057. Signed-off-by: wulan17 --- .github/workflows/python.yml | 2 +- setup.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9bb7cd2e..e12233fb 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index 68778e9e..6f7008e0 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,8 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -76,7 +78,7 @@ setup( "Source": "https://github.com/Mayuri-Chan/pyrofork", "Documentation": "https://pyrofork.mayuri.my.id", }, - python_requires="~=3.9", + python_requires="~=3.7", package_data={ "pyrogram": ["py.typed"], },