From 115de35325ae684b1f628d2ee4512ae9d1f3ec86 Mon Sep 17 00:00:00 2001 From: 4shen0ne <4shen.01@gmail.com> Date: Fri, 13 Sep 2024 10:25:20 +0800 Subject: [PATCH] requires Python 3.8+ --- .github/workflows/ci.yml | 2 +- README.md | 2 +- dirsearch.py | 4 ++-- setup.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39cc9a1ae..8551da363 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.9] + python-version: [3.8, 3.9] os: ['ubuntu-latest', 'windows-latest'] steps: diff --git a/README.md b/README.md index c8d3b4a74..a21a3879e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Table of Contents Installation & Usage ------------ -**Requirement: python 3.7 or higher** +**Requirement: python 3.8 or higher** Choose one of these installation options: diff --git a/dirsearch.py b/dirsearch.py index 60cef5161..1b0a6f4b7 100755 --- a/dirsearch.py +++ b/dirsearch.py @@ -28,8 +28,8 @@ from lib.core.settings import OPTIONS_FILE from lib.parse.config import ConfigParser -if sys.version_info < (3, 7): - sys.stderr.write("Sorry, dirsearch requires Python 3.7 or higher\n") +if sys.version_info < (3, 8): + sys.stderr.write("Sorry, dirsearch requires Python 3.8 or higher\n") sys.exit(1) diff --git a/setup.py b/setup.py index b0941d64e..bc7cfc127 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ entry_points={"console_scripts": ["dirsearch=dirsearch.dirsearch:main"]}, package_data={"dirsearch": ["*", "db/*"]}, include_package_data=True, - python_requires=">=3.7", + python_requires=">=3.8", install_requires=get_dependencies(), classifiers=[ "Programming Language :: Python", @@ -39,7 +39,7 @@ "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Topic :: Security", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], keywords=["infosec", "bug bounty", "pentesting", "security"], )