diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 1ff20f9..2e5ea94 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -49,7 +49,6 @@ jobs: macos-latest, ] python-version: [ - '3.8', '3.9', '3.10', '3.11', diff --git a/pyproject.toml b/pyproject.toml index 4118459..069cb9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ repository = "https://github.com/sherlock-project/sherlock" "Bug Tracker" = "https://github.com/sherlock-project/sherlock/issues" [tool.poetry.dependencies] -python = "^3.8" +python = "^3.9" certifi = ">=2019.6.16" colorama = "^0.4.1" PySocks = "^1.7.0" @@ -48,8 +48,7 @@ requests = "^2.22.0" requests-futures = "^1.0.0" stem = "^1.8.0" torrequest = "^0.1.0" -# pandas can likely be bumped up to ^2.0.0 after fc39 EOL -pandas = ">=1.0.0,<3.0.0" +pandas = "^2.2.1" openpyxl = "^3.0.10" [tool.poetry.extras] diff --git a/sherlock_project/__main__.py b/sherlock_project/__main__.py index 3193831..a252de0 100644 --- a/sherlock_project/__main__.py +++ b/sherlock_project/__main__.py @@ -14,8 +14,8 @@ if __name__ == "__main__": # Check if the user is using the correct version of Python python_version = sys.version.split()[0] - if sys.version_info < (3, 8): - print(f"Sherlock requires Python 3.8+\nYou are using Python {python_version}, which is not supported by Sherlock.") + if sys.version_info < (3, 9): + print(f"Sherlock requires Python 3.9+\nYou are using Python {python_version}, which is not supported by Sherlock.") sys.exit(1) from sherlock_project import sherlock diff --git a/tests/sherlock_interactives.py b/tests/sherlock_interactives.py index 2c9d9d9..be901fb 100644 --- a/tests/sherlock_interactives.py +++ b/tests/sherlock_interactives.py @@ -20,8 +20,7 @@ class Interactives: raise InteractivesSubprocessError(e.output.decode()) - # -> list[str] is prefered, but will require deprecation of support for Python 3.8 - def walk_sherlock_for_files_with(pattern: str) -> list: + def walk_sherlock_for_files_with(pattern: str) -> list[str]: """Check all files within the Sherlock package for matching patterns""" pattern:re.Pattern = re.compile(pattern) matching_files:list[str] = [] diff --git a/tox.ini b/tox.ini index 0c18215..1e9a47d 100644 --- a/tox.ini +++ b/tox.ini @@ -41,4 +41,3 @@ python = 3.11: py311 3.10: py310 3.9: py39 - 3.8: py38