Skip to content

Commit 4bc6d69

Browse files
authored
Use old resolver for regression tests. (Azure#20210)
* regression_test_tools.txt and regression_tools.txt
1 parent b770896 commit 4bc6d69

File tree

4 files changed

+70
-2
lines changed

4 files changed

+70
-2
lines changed

eng/pipelines/templates/steps/test_regression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
targetPath: $(Build.ArtifactStagingDirectory)
1717

1818
- script: |
19-
pip install -r eng/ci_tools.txt
19+
pip install -r eng/regression_tools.txt
2020
displayName: 'Prep Environment'
2121
2222
- template: ../steps/set-dev-build.yml

eng/regression_test_tools.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
pip==20.2
2+
3+
# requirements leveraged by ci for testing
4+
pytest==4.6.9; python_version == '2.7'
5+
pytest==5.4.2; python_version >= '3.5'
6+
pytest-asyncio==0.12.0; python_version >= '3.5'
7+
pytest-cov==2.8.1
8+
pytest-custom-exit-code==0.3.0
9+
pytest-xdist==1.32.0
10+
# we pin coverage to 4.5.4 because there is an bug with `pytest-cov`. the generated coverage files cannot be `coverage combine`ed
11+
coverage==4.5.4
12+
bandit==1.6.2
13+
14+
# locking packages defined as deps from azure-sdk-tools or azure-devtools
15+
pytoml==0.1.21
16+
readme-renderer[md]==25.0
17+
pyOpenSSL==19.1.0
18+
json-delta==2.0
19+
ConfigArgParse==1.2.3
20+
six==1.14.0
21+
pyyaml==5.3.1
22+
packaging==20.4
23+
wheel==0.34.2
24+
Jinja2==2.11.2
25+
26+
# Locking pylint and required packages
27+
pylint==1.8.4; python_version < '3.4'
28+
pylint==2.5.2; python_version >= '3.4'
29+
30+
# python-dotenv
31+
python-dotenv==0.15.0

eng/regression_tools.txt

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# requirements leveraged by ci tools
2+
cryptography==3.1
3+
setuptools==44.1.0; python_version == '2.7'
4+
setuptools==46.4.0; python_version >= '3.5'
5+
virtualenv==20.0.23
6+
wheel==0.34.2
7+
Jinja2==2.11.2
8+
packaging==20.4
9+
tox==3.15.0
10+
tox-monorepo==0.1.2
11+
twine==1.15.0; python_version == '2.7' or python_version == '3.5'
12+
twine==3.1.1; python_version >= '3.6'
13+
pathlib2==2.3.5
14+
readme-renderer[md]==25.0
15+
doc-warden==0.7.1
16+
# we pin coverage to 4.5.4 because there is an bug with `pytest-cov`. the generated coverage files cannot be `coverage combine`ed
17+
coverage==4.5.4
18+
codecov==2.1.0
19+
beautifulsoup4==4.9.1
20+
pkginfo==1.5.0.1
21+
pip==20.2
22+
black==21.6b0; python_version >= '3.6'
23+
24+
# locking packages defined as deps from azure-sdk-tools or azure-devtools
25+
pytoml==0.1.21
26+
pyOpenSSL==19.1.0
27+
json-delta==2.0
28+
ConfigArgParse==1.2.3
29+
six==1.14.0
30+
pyyaml==5.3.1
31+
pytest==5.4.2; python_version >= '3.5'
32+
pytest==4.6.9; python_version == '2.7'
33+
pytest-cov==2.8.1
34+
35+
# local dev packages
36+
./tools/azure-devtools
37+
./tools/azure-sdk-tools

scripts/devops_tasks/test_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
AZURE_GLOB_STRING = "azure*"
3333

3434
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", ".."))
35-
test_tools_req_file = os.path.abspath(os.path.join(root_dir, "eng", "test_tools.txt"))
35+
test_tools_req_file = os.path.abspath(os.path.join(root_dir, "eng", "regression_test_tools.txt"))
3636

3737
GIT_REPO_NAME = "azure-sdk-for-python"
3838
GIT_MASTER_BRANCH = "main"

0 commit comments

Comments
 (0)