Skip to content

Commit

Permalink
Update Ansible to 5.2 and Python to 3.10 (#2933)
Browse files Browse the repository at this point in the history
* Update python to 3.10

* Update ansible to 5.2

* Lock ansible, azure-cli and python versions

* Update changelog, license and documentation

* Fix generator to add blank line to license file
  • Loading branch information
asciible authored Feb 1, 2022
1 parent aa63e42 commit c687e8e
Show file tree
Hide file tree
Showing 9 changed files with 223 additions and 310 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.10-slim

ARG USERNAME=vscode
ARG USER_UID=1000
Expand Down
6 changes: 3 additions & 3 deletions .devcontainer/gen-dependency-info.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ def _main() -> None:

# Write licenses 'cli/licenses.py'
licenses_content = """\
# This is a generated file so don`t change this manually.
# This is a generated file so don`t change this manually.
# To re-generate run 'python gen-dependency-info.py <GitHub_PAT>' from the project root.
LICENSES = """

licenses_content = textwrap.dedent(licenses_content) + json.dumps(all_deps_data, indent=4)
licenses_content = f"{textwrap.dedent(licenses_content)}{json.dumps(all_deps_data, indent=4)}\n"

path = os.path.join(os.path.dirname(__file__), '../cli/licenses.py')
with open(path, 'w') as file:
Expand All @@ -107,7 +107,7 @@ def _main() -> None:
| --------- | ------- | ------------ | ------- |
""")

for dep in all_deps_data:
for dep in all_deps_data:
dep_name = dep['Name']
dep_version = dep['Version']
dep_website = dep['Home-page']
Expand Down
Loading

0 comments on commit c687e8e

Please sign in to comment.