From fc629b6ae9bb389158fe4f8ad7f49cf02e368b99 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Thu, 6 Jul 2023 21:52:35 +0400 Subject: [PATCH 1/2] Drop Python 3.7 support. --- .github/workflows/main.yml | 6 ------ setup.py | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0bdbef3..a012e36 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,6 @@ jobs: fail-fast: false matrix: include: - - python-version: 3.7 - env: - TOXENV: py - python-version: 3.8 env: TOXENV: py @@ -25,9 +22,6 @@ jobs: TOXENV: py # PyPY - - python-version: pypy3.7 - env: - TOXENV: pypy3 - python-version: pypy3.9 env: TOXENV: pypy3 diff --git a/setup.py b/setup.py index c799e51..f9b1d47 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ package_dir={'': 'src'}, packages=find_packages('src'), py_modules=['protego'], - python_requires='>=3.7', + python_requires='>=3.8', tests_require=['pytest'], include_package_data=True, keywords=['robots.txt', 'parser', 'robots', 'rep'], @@ -24,7 +24,6 @@ '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', From 483e217554a5f8219428f64babfa6ea64e532fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Tue, 8 Aug 2023 11:38:41 +0200 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a012e36..97e808f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,10 @@ jobs: TOXENV: py # PyPY - - python-version: pypy3.9 + - python-version: pypy3.8 + env: + TOXENV: pypy3 + - python-version: pypy3.10 env: TOXENV: pypy3