diff --git a/.github/workflows/static-checking.yml b/.github/workflows/static-checking.yml index ca447d0..b343827 100644 --- a/.github/workflows/static-checking.yml +++ b/.github/workflows/static-checking.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.12] steps: - uses: actions/checkout@v3 @@ -35,4 +35,4 @@ jobs: - name: validate run: ./validate.sh - name: tests - run: ./test.sh \ No newline at end of file + run: ./test.sh diff --git a/docs/source/conf.py b/docs/source/conf.py index b1ded57..50050c1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,7 @@ # Insert dataall CLI's path into the system. sys.path.insert(0, os.path.abspath(os.path.join("..", ".."))) -import dataall_cli # noqa: E402 +import dataall_cli # Append local Sphinx extensions sys.path.append(os.path.abspath("./_ext")) diff --git a/poetry.lock b/poetry.lock index 8363eca..d1ebeda 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "alabaster" @@ -1252,14 +1252,14 @@ test-randomorder = ["pytest-randomly"] [[package]] name = "dataall-core" -version = "0.4.2" +version = "0.4.3" description = "AWS data.all core" optional = false python-versions = "<4.0,>=3.9" groups = ["main"] files = [ - {file = "dataall_core-0.4.2-py3-none-any.whl", hash = "sha256:33a0d9267ae58afee56a396d8c23df2777df656abcf21ea286c417674723cb54"}, - {file = "dataall_core-0.4.2.tar.gz", hash = "sha256:e209be48d4f858dd575562aacf2a1345a65ce1badd3e80c9f2a46b345acbf693"}, + {file = "dataall_core-0.4.3-py3-none-any.whl", hash = "sha256:465c0d1c9371584d0df5ab32bf35ccc34191c28195a8f03d483becef9a583eb5"}, + {file = "dataall_core-0.4.3.tar.gz", hash = "sha256:b415d79a7cdcc1eabece70bb47c4f59d3ae4a32ed13ab671d50e5225759d2535"}, ] [package.dependencies] @@ -1274,7 +1274,7 @@ click = ">=8.1.6,<9.0.0" configparser = ">=6.0.0,<7.0.0" graphql-core = ">=3.2.3,<4.0.0" httpx = ">=0.27.0,<1.0.0" -packaging = ">=21.1,<24.0" +packaging = ">=24.2" PyYAML = ">=6.0.1,<7.0.0" requests = ">=2.31.0,<3.0.0" requests-mock = ">=1.12.1,<2.0.0" @@ -2770,14 +2770,14 @@ et-xmlfile = "*" [[package]] name = "packaging" -version = "23.2" +version = "25.0" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" groups = ["main", "dev"] files = [ - {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, - {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, + {file = "packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484"}, + {file = "packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"}, ] [[package]] @@ -4583,4 +4583,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0" -content-hash = "aa31aa86a3f576deb1ae1540337339cebd959f1ed5eb39faa183e75e62dec81d" +content-hash = "2839212ef8346388a8066e7d572880e130ff441a7089296f0dec0483e2656b72" diff --git a/pyproject.toml b/pyproject.toml index aa3dcf4..26b99e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dataall-cli" -version = "0.4.2" +version = "0.4.3" description = "AWS data.all CLI" authors = [{ name = "Amazon Web Services" }] license = { text = "Apache License 2.0" } @@ -17,12 +17,12 @@ dependencies = [ "boto3>=1.28.22", "botocore>=1.31.22", "typing-extensions>=4.4.0", - "packaging>=21.1,<24.0", + "packaging>=24.2", "click>=8.1.6", "atomicfile>=1.0.1", "PyYAML>=6.0.1", "setuptools; python_version >= '3.12'", - "dataall-core>=0.4.2", + "dataall-core>=0.4.3", ] [project.scripts] diff --git a/tests/functional/test_datall_cli_client.py b/tests/functional/test_datall_cli_client.py index bad6556..f840e77 100644 --- a/tests/functional/test_datall_cli_client.py +++ b/tests/functional/test_datall_cli_client.py @@ -135,9 +135,9 @@ def test_cli_commands_custom_header_invalid( ) # Set env variable to use custom header - os.environ[ - "dataall_custom_headers_json" - ] = '{ "X-Custom-Header": "test", "X-Custom-Header-2": 25 ' + os.environ["dataall_custom_headers_json"] = ( + '{ "X-Custom-Header": "test", "X-Custom-Header-2": 25 ' + ) for operation_name, op_details in dict( itertools.islice(commands.items(), N)