Bump theHavester required python version to be 3.10+

This commit is contained in:
L1ghtn1ng 2022-11-13 01:21:28 +00:00
parent a987e6f961
commit 46760915c3
3 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ jobs:
max-parallel: 8
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ 3.8, 3.9, 3.10.0 ]
python-version: [ 3.10.0, 3.11.0 ]
steps:
- uses: actions/checkout@v3

View file

@ -4,8 +4,8 @@ import sys
import asyncio
from theHarvester import __main__
if sys.version_info.major < 3 or sys.version_info.minor < 7:
print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
if sys.version_info.major < 3 or sys.version_info.minor < 10:
print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':
@ -23,6 +23,6 @@ if __name__ == '__main__':
if "linux" in platform:
import aiomultiprocess
# As we are not using Windows we can change the spawn method to fork for greater performance
# As we are not using Windows, we can change the spawn method to fork for greater performance
aiomultiprocess.set_context("fork")
asyncio.run(__main__.entry_point())

View file

@ -4,8 +4,8 @@
import asyncio
from theHarvester import __main__
if sys.version_info.major < 3 or sys.version_info.minor < 7:
print('\033[93m[!] Make sure you have Python 3.7+ installed, quitting.\n\n \033[0m')
if sys.version_info.major < 3 or sys.version_info.minor < 10:
print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':
@ -23,6 +23,6 @@
if "linux" in platform:
import aiomultiprocess
# As we are not using Windows we can change the spawn method to fork for greater performance
# As we are not using Windows, we can change the spawn method to fork for greater performance
aiomultiprocess.set_context("fork")
asyncio.run(__main__.entry_point())