Skip to content

Commit 7529c7b

Browse files
committed
Core: Revert volatility 3.7 bump and associated features
1 parent d7301d6 commit 7529c7b

File tree

5 files changed

+6
-29
lines changed

5 files changed

+6
-29
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
steps:
88
- uses: actions/checkout@v2
99

10-
- name: Set up Python 3.7
10+
- name: Set up Python 3.6
1111
uses: actions/setup-python@v2
1212
with:
13-
python-version: '3.7'
13+
python-version: '3.6'
1414

1515
- name: Install dependencies
1616
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ more details.
2020

2121
## Requirements
2222

23-
Volatility 3 requires Python 3.7.0 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as:
23+
Volatility 3 requires Python 3.6.0 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as:
2424

2525
```shell
2626
pip3 install -r requirements-minimal.txt

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,16 @@
99
with open("README.md", "r", encoding = "utf-8") as fh:
1010
long_description = fh.read()
1111

12-
1312
def get_install_requires():
1413
requirements = []
15-
with open("requirements-minimal.txt", "r", encoding = "utf-8") as fh:
14+
with open("requirements-minimal.txt", "r", encoding="utf-8") as fh:
1615
for line in fh.readlines():
1716
stripped_line = line.strip()
1817
if stripped_line == "" or stripped_line.startswith("#"):
1918
continue
2019
requirements.append(stripped_line)
2120
return requirements
2221

23-
2422
setuptools.setup(name = "volatility3",
2523
description = "Memory forensics framework",
2624
version = constants.PACKAGE_VERSION,
@@ -36,7 +34,7 @@ def get_install_requires():
3634
"Documentation": "https://volatility3.readthedocs.io/",
3735
"Source Code": "https://github.com/volatilityfoundation/volatility3",
3836
},
39-
python_requires = '>=3.7.0',
37+
python_requires = '>=3.6.0',
4038
include_package_data = True,
4139
exclude_package_data = {
4240
'': ['development', 'development.*'],

volatility3/framework/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import sys
88
import zipfile
99

10-
required_python_version = (3, 7, 0)
10+
required_python_version = (3, 6, 0)
1111
if (sys.version_info.major != required_python_version[0] or sys.version_info.minor < required_python_version[1] or
1212
(sys.version_info.minor == required_python_version[1] and sys.version_info.micro < required_python_version[2])):
1313
raise RuntimeError(

volatility3/framework/constants/__init__.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import enum
1010
import os.path
1111
import sys
12-
import warnings
1312
from typing import Callable, Optional
1413

1514
import volatility3.framework.constants.linux
@@ -102,23 +101,3 @@ class Parallelism(enum.IntEnum):
102101

103102
REMOTE_ISF_URL = None # 'http://localhost:8000/banners.json'
104103
"""Remote URL to query for a list of ISF addresses"""
105-
106-
###
107-
# DEPRECATED VALUES
108-
###
109-
110-
_deprecated_LINUX_BANNERS_FILENAME = os.path.join(CACHE_PATH, 'linux_banners.cache')
111-
"""This value is deprecated and is no longer used within volatility"""
112-
113-
_deprecated_MAC_BANNERS_PATH = os.path.join(CACHE_PATH, 'mac_banners.cache')
114-
"""This value is deprecated and is no longer used within volatility"""
115-
116-
_deprecated_IDENTIFIERS_PATH = os.path.join(CACHE_PATH, IDENTIFIERS_FILENAME)
117-
"""This value is deprecated in favour of CACHE_PATH joined to IDENTIFIER_FILENAME"""
118-
119-
120-
def __getattr__(name):
121-
deprecated_tag = '_deprecated_'
122-
if name in [x[len(deprecated_tag):] for x in globals() if x.startswith(deprecated_tag)]:
123-
warnings.warn(f"{name} is deprecated", FutureWarning)
124-
return globals()[f"{deprecated_tag}{name}"]

0 commit comments

Comments
 (0)