Skip to content

Commit cbb004a

Browse files
Merge pull request #513 from NHSDigital/APM-6129-RevertPythonUpdate
APM-6129-RevertPythonUpdate
2 parents 06e071c + 9a0f9a1 commit cbb004a

File tree

7 files changed

+314
-273
lines changed

7 files changed

+314
-273
lines changed

ansible/collections/ansible_collections/nhsd/apigee/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ update-schema:
44
@PYTHONPATH=../../../ poetry run python scripts/update_schema.py
55

66
unit-test:
7-
@poetry run ansible-test units --python=3.9
7+
@poetry run ansible-test units --python=3.8
88

99
integration-test:
10-
@poetry run ansible-test integration --python=3.9
10+
@poetry run ansible-test integration --python=3.8
1111

1212
test: unit-test integration-test
1313

azure/build-prereqs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parameters:
66
steps:
77
- task: UsePythonVersion@0
88
inputs:
9-
versionSpec: '3.9'
9+
versionSpec: '3.8'
1010

1111
- bash: |
1212
tfenv use 0.14.6

azure/common/apigee-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parameters:
2929
default: []
3030
- name: python_version
3131
type: string
32-
default: "3.9"
32+
default: "3.8"
3333
- name: agent_pool
3434
type: string
3535
default: "AWS-ECS"

azure/common/apigee-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ parameters:
150150
default: 'DEPRECATED'
151151
- name: python_version
152152
type: string
153-
default: "3.9"
153+
default: "3.8"
154154
- name: agent_pool
155155
type: string
156156
default: "AWS-ECS"

azure/utils-pr-pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- task: UsePythonVersion@0
3333
displayName: 'Use Python 3.8'
3434
inputs:
35-
versionSpec: 3.9
35+
versionSpec: 3.8
3636

3737
- bash: |
3838
instance_id="$(curl -s http://169.254.169.254/latest/meta-data/instance-id)"
@@ -103,12 +103,12 @@ jobs:
103103
displayName: Install utils pre-requisites
104104
105105
- bash: |
106-
ANSIBLE_FORCE_COLOR=yes poetry run ansible-test units --python=3.9
106+
ANSIBLE_FORCE_COLOR=yes poetry run ansible-test units --python=3.8
107107
workingDirectory: ansible/collections/ansible_collections/nhsd/apigee
108108
displayName: Unit test ansible
109109
110110
- bash: |
111-
ANSIBLE_FORCE_COLOR=yes poetry run ansible-test integration --python=3.9
111+
ANSIBLE_FORCE_COLOR=yes poetry run ansible-test integration --python=3.8
112112
workingDirectory: ansible/collections/ansible_collections/nhsd/apigee
113113
displayName: Integration test ansible
114114

poetry.lock

Lines changed: 304 additions & 263 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT"
77
package-mode = false
88

99
[tool.poetry.dependencies]
10-
python = "^3.9"
10+
python = "^3.8"
1111
docopt = "^0.6.2"
1212
jinja2 = "^3.1.2"
1313
requests = "^2.23.0"
@@ -16,7 +16,7 @@ mypy = "^0.770"
1616
pytest = "^5.4.2"
1717
pytest-cov = "^2.8.1"
1818
ansible = "^2.10.7"
19-
pyyaml = "^5.4.1"
19+
pyyaml = "^6.0"
2020
jmespath = "^0.10.0"
2121
awscli = "^1.18.80"
2222
pydantic = "^1.9.0"

0 commit comments

Comments
 (0)