python-hcl2 4.3.1__tar.gz → 4.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.github/workflows/codeql-analysis.yml +4 -4
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.github/workflows/pr_check.yml +1 -1
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/CHANGELOG.md +12 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/PKG-INFO +2 -1
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/hcl2.lark +1 -1
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/version.py +2 -2
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/pyproject.toml +1 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/PKG-INFO +2 -1
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/test-requirements.txt +1 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/tox.ini +4 -3
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.codacy.yml +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.coveragerc +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.github/CODEOWNERS +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.github/workflows/publish.yml +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.gitignore +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.pre-commit-config.yaml +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/.yamllint.yml +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/LICENSE +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/MANIFEST.in +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/README.md +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/bin/terraform_test +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/__init__.py +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/__main__.py +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/api.py +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/parser.py +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/py.typed +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/hcl2/transformer.py +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/mypy.ini +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/pylintrc +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/SOURCES.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/dependency_links.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/entry_points.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/not-zip-safe +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/requires.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/python_hcl2.egg-info/top_level.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/reports/.gitignore +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/requirements.txt +0 -0
- {python-hcl2-4.3.1 → python-hcl2-4.3.3}/setup.cfg +0 -0
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
|
|
18
18
|
steps:
|
|
19
19
|
- name: Checkout repository
|
|
20
|
-
uses: actions/checkout@
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
21
|
with:
|
|
22
22
|
# We must fetch at least the immediate parents so that if this is
|
|
23
23
|
# a pull request then we can checkout the head.
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
|
|
26
26
|
# Initializes the CodeQL tools for scanning.
|
|
27
27
|
- name: Initialize CodeQL
|
|
28
|
-
uses: github/codeql-action/init@
|
|
28
|
+
uses: github/codeql-action/init@v3
|
|
29
29
|
# Override language selection by uncommenting this and choosing your languages
|
|
30
30
|
# with:
|
|
31
31
|
# languages: go, javascript, csharp, python, cpp, java
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
34
34
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
35
35
|
- name: Autobuild
|
|
36
|
-
uses: github/codeql-action/autobuild@
|
|
36
|
+
uses: github/codeql-action/autobuild@v3
|
|
37
37
|
|
|
38
38
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
39
39
|
# 📚 https://git.io/JvXDl
|
|
@@ -47,4 +47,4 @@ jobs:
|
|
|
47
47
|
# make release
|
|
48
48
|
|
|
49
49
|
- name: Perform CodeQL Analysis
|
|
50
|
-
uses: github/codeql-action/analyze@
|
|
50
|
+
uses: github/codeql-action/analyze@v3
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-22.04
|
|
14
14
|
strategy:
|
|
15
15
|
matrix:
|
|
16
|
-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
|
|
16
|
+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
|
|
17
17
|
steps:
|
|
18
18
|
- uses: actions/checkout@master
|
|
19
19
|
- name: Set up Python ${{ matrix.python-version }}
|
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## \[4.3.3\] - 2024-03-27
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Support for Python 3.12 ([#153](https://github.com/amplify-education/python-hcl2/pull/153))
|
|
13
|
+
|
|
14
|
+
## \[4.3.2\] - 2023-05-24
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Support for the conditional inside the nested locals without parentheses ([#138](https://github.com/amplify-education/python-hcl2/pull/129))
|
|
19
|
+
|
|
8
20
|
## \[4.3.1\] - 2023-05-02
|
|
9
21
|
|
|
10
22
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-hcl2
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.3
|
|
4
4
|
Summary: A parser for HCL2
|
|
5
5
|
Author-email: Amplify Education <github@amplify.com>
|
|
6
6
|
License: MIT
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
21
|
Requires-Python: >=3.7.0
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
@@ -9,7 +9,7 @@ identifier : /[a-zA-Z_][a-zA-Z0-9_-]*/
|
|
|
9
9
|
|
|
10
10
|
?expression : expr_term | operation | conditional
|
|
11
11
|
|
|
12
|
-
conditional : expression "?" new_line_or_comment? expression new_line_or_comment? ":" new_line_or_comment? expression
|
|
12
|
+
conditional : expression "?" new_line_or_comment? expression new_line_or_comment? ":" new_line_or_comment? expression
|
|
13
13
|
|
|
14
14
|
?operation : unary_op | binary_op
|
|
15
15
|
!unary_op : ("-" | "!") expr_term
|
|
@@ -21,6 +21,7 @@ classifiers = [
|
|
|
21
21
|
"Programming Language :: Python :: 3.9",
|
|
22
22
|
"Programming Language :: Python :: 3.10",
|
|
23
23
|
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
24
25
|
]
|
|
25
26
|
requires-python = ">=3.7.0"
|
|
26
27
|
dependencies = ["lark>=1,<2"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-hcl2
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.3
|
|
4
4
|
Summary: A parser for HCL2
|
|
5
5
|
Author-email: Amplify Education <github@amplify.com>
|
|
6
6
|
License: MIT
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
21
|
Requires-Python: >=3.7.0
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
License-File: LICENSE
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[tox]
|
|
2
|
-
envlist={py37}-unit,{py38}-unit,{py39}-unit,{py310}-unit,{py311}-unit
|
|
2
|
+
envlist={py37}-unit,{py38}-unit,{py39}-unit,{py310}-unit,{py311}-unit,{py312}-unit
|
|
3
3
|
skipsdist=true
|
|
4
4
|
|
|
5
5
|
[gh-actions]
|
|
@@ -9,10 +9,11 @@ python =
|
|
|
9
9
|
3.9: py39-unit
|
|
10
10
|
3.10: py310-unit
|
|
11
11
|
3.11: py311-unit
|
|
12
|
+
3.12: py312-unit
|
|
12
13
|
|
|
13
14
|
[testenv]
|
|
14
15
|
commands =
|
|
15
|
-
pip install --upgrade -r
|
|
16
|
+
pip install --upgrade -r test-requirements.txt .
|
|
16
17
|
nose2 --config tox.ini --verbose
|
|
17
18
|
coverage xml -o reports/coverage.xml --omit=hcl2/lark_parser.py
|
|
18
19
|
|
|
@@ -22,7 +23,7 @@ whitelist_externals=rm
|
|
|
22
23
|
passenv = TERRAFORM_CONFIG
|
|
23
24
|
basepython=python3.7
|
|
24
25
|
commands =
|
|
25
|
-
pip install --upgrade -r
|
|
26
|
+
pip install --upgrade -r test-requirements.txt -e .
|
|
26
27
|
rm -f hcl2/lark_parser.py
|
|
27
28
|
python bin/terraform_test {posargs}
|
|
28
29
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|