Skip to content

Commit b92acb2

Browse files
authored
bump bzt, libs and remove python 3.6 support (#588)
1 parent e270bb8 commit b92acb2

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In case of technical questions, issues or problems with DC Apps Performance Tool
2424
## Installation and set up
2525

2626
#### Dependencies
27-
* Python 3.6-3.8 and pip
27+
* Python 3.7-3.8 and pip
2828
* JDK 8
2929
* Google Chrome web browser
3030
* Git client (only for Bitbucket DC)

app/util/jmeter/start_jmeter_ui.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
import sys
2-
if sys.version_info < (3, 6):
3-
raise SystemExit("ERROR: Script requires Python 3.6+. Current version: {}.\n"
4-
"Please make sure you use correct virtualenv.".format(sys.version_info[0:3]))
5-
61
import argparse
7-
from platform import system
82
from pathlib import Path
3+
from platform import system
94
from subprocess import run
5+
from sys import version_info
106

117
import yaml
128

9+
SUPPORTED_PYTHON_VERSIONS = ["3.7", "3.8"]
10+
11+
python_full_version = '.'.join(map(str, version_info[0:3]))
12+
python_short_version = '.'.join(map(str, version_info[0:2]))
13+
print("Python version: {}".format(python_full_version))
14+
if python_short_version not in SUPPORTED_PYTHON_VERSIONS:
15+
raise SystemExit("Python version {} is not supported. "
16+
"Supported versions: {}.".format(python_full_version, SUPPORTED_PYTHON_VERSIONS))
17+
1318
JIRA = "jira"
1419
CONFLUENCE = "confluence"
1520
BITBUCKET = "bitbucket"

app/util/pre_run/environment_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from sys import version_info
22

3-
SUPPORTED_PYTHON_VERSIONS = ["3.6", "3.7", "3.8"]
3+
SUPPORTED_PYTHON_VERSIONS = ["3.7", "3.8"]
44

55
python_full_version = '.'.join(map(str, version_info[0:3]))
66
python_short_version = '.'.join(map(str, version_info[0:2]))

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
matplotlib==3.3.4
2-
pandas==1.1.5
3-
importlib-metadata==3.1.1
4-
bzt==1.15.2
5-
locust==1.4.3
1+
matplotlib==3.4.1
2+
pandas==1.2.4
3+
importlib-metadata==4.0.1
4+
bzt==1.15.3
5+
locust==1.4.4
66
filelock==3.0.12

0 commit comments

Comments
 (0)