From 6ef4a1ce325d4681953a2a4b75d3ce569e45628a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 00:22:12 +0000 Subject: [PATCH 1/9] build(deps): Update ruamel-yaml requirement in /tools Updates the requirements on [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) to permit the latest version. --- updated-dependencies: - dependency-name: ruamel-yaml dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- tools/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pyproject.toml b/tools/pyproject.toml index f4cfc6f5f..b92b0f7c1 100644 --- a/tools/pyproject.toml +++ b/tools/pyproject.toml @@ -8,7 +8,7 @@ packages = [{include = "at_server_tools"}] [tool.poetry.dependencies] python = "^3.8" -"ruamel.yaml" = "0.17.40" +"ruamel.yaml" = "0.18.0" requests = "2.31.0" dnspython = "2.4.2" From a19df504323daf896bdc3cdefc272a8977b9e280 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 24 Oct 2023 00:22:45 +0000 Subject: [PATCH 2/9] build(deps): Bump requirements.txt --- tools/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/requirements.txt b/tools/requirements.txt index cd5698255..233a9bc07 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -152,9 +152,9 @@ ruamel-yaml-clib==0.2.8 ; platform_python_implementation == "CPython" and python --hash=sha256:edaef1c1200c4b4cb914583150dcaa3bc30e592e907c01117c08b13a07255ec2 \ --hash=sha256:f481f16baec5290e45aebdc2a5168ebc6d35189ae6fea7a58787613a25f6e875 \ --hash=sha256:fff3573c2db359f091e1589c3d7c5fc2f86f5bdb6f24252c2d8e539d4e45f412 -ruamel-yaml==0.17.40 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:6024b986f06765d482b5b07e086cc4b4cd05dd22ddcbc758fa23d54873cf313d \ - --hash=sha256:b16b6c3816dff0a93dca12acf5e70afd089fa5acb80604afd1ffa8b465b7722c +ruamel-yaml==0.18.0 ; python_version >= "3.8" and python_version < "4.0" \ + --hash=sha256:8b0fc1c60575b6fc2c1ddff9381e422eb2c2d988fc2e3a138389f68cebe0a6f8 \ + --hash=sha256:d7d31553fa2ce9628d25f02f20d2fe60d02d01e326cd140f735642cd5eebb8c9 urllib3==2.0.7 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e From 50c6992c1256588bfaeeefc71a95eaaa29c7f54c Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Tue, 24 Oct 2023 05:55:32 -0400 Subject: [PATCH 3/9] build(deps): Bump ruamel-yaml to 0.18.1 --- tools/pyproject.toml | 2 +- tools/requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/pyproject.toml b/tools/pyproject.toml index b92b0f7c1..8fb24e77b 100644 --- a/tools/pyproject.toml +++ b/tools/pyproject.toml @@ -8,7 +8,7 @@ packages = [{include = "at_server_tools"}] [tool.poetry.dependencies] python = "^3.8" -"ruamel.yaml" = "0.18.0" +"ruamel.yaml" = "0.18.1" requests = "2.31.0" dnspython = "2.4.2" diff --git a/tools/requirements.txt b/tools/requirements.txt index 233a9bc07..f8c5ddafa 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -152,9 +152,9 @@ ruamel-yaml-clib==0.2.8 ; platform_python_implementation == "CPython" and python --hash=sha256:edaef1c1200c4b4cb914583150dcaa3bc30e592e907c01117c08b13a07255ec2 \ --hash=sha256:f481f16baec5290e45aebdc2a5168ebc6d35189ae6fea7a58787613a25f6e875 \ --hash=sha256:fff3573c2db359f091e1589c3d7c5fc2f86f5bdb6f24252c2d8e539d4e45f412 -ruamel-yaml==0.18.0 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:8b0fc1c60575b6fc2c1ddff9381e422eb2c2d988fc2e3a138389f68cebe0a6f8 \ - --hash=sha256:d7d31553fa2ce9628d25f02f20d2fe60d02d01e326cd140f735642cd5eebb8c9 +ruamel-yaml==0.18.1 ; python_version >= "3.8" and python_version < "4.0" \ + --hash=sha256:649a301890441d36ea9cb0f48d07353de82b8cbde2244387e7ef6b1d3b9ee6cd \ + --hash=sha256:93907ef6c731ec1bcb41ab7ff99413945f5acfd7eee27785f2cb18b175dd5aae urllib3==2.0.7 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e From 4c9ecca91aab3dc652fc33b7923bcf87ab022e0a Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Tue, 24 Oct 2023 06:19:46 -0400 Subject: [PATCH 4/9] chore: Refactor to use new ruamel-yaml syntax --- tools/add_dependency_overrides.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/add_dependency_overrides.py b/tools/add_dependency_overrides.py index f7727166f..57d986cc7 100755 --- a/tools/add_dependency_overrides.py +++ b/tools/add_dependency_overrides.py @@ -6,7 +6,7 @@ This is file is used in GITHub actions to resolve dependencies. """ import argparse -import ruamel.yaml +from ruamel.yaml import YAML from os import path, stat # Initialize parser @@ -33,11 +33,12 @@ def main(): def add_dependency_overrides(): + yaml=YAML() with open(project_path + 'pubspec.yaml', 'r') as pubspec: - yaml_map = ruamel.yaml.round_trip_load(pubspec, preserve_quotes=True) + yaml_map = yaml.load(pubspec) with open(project_path + 'dependency-overrides.yaml', 'r') as dependency_overrides_map: - dependency_map = ruamel.yaml.round_trip_load(dependency_overrides_map, preserve_quotes=True) + dependency_map = yaml.load(dependency_overrides_map) # If dependency-overrides.yaml file is commented. Exit. if not dependency_map: From f0792efcda96e90e5656ff9f4512a8fb3935fa14 Mon Sep 17 00:00:00 2001 From: Sitaram Kalluri Date: Tue, 24 Oct 2023 22:04:11 +0530 Subject: [PATCH 5/9] fix: Remove add_dependency_overrides.py script --- .github/workflows/at_server.yaml | 24 ------------ tools/add_dependency_overrides.py | 61 ------------------------------- tools/requirements.txt | 3 -- 3 files changed, 88 deletions(-) delete mode 100755 tools/add_dependency_overrides.py diff --git a/.github/workflows/at_server.yaml b/.github/workflows/at_server.yaml index c4d57f30b..7712323be 100644 --- a/.github/workflows/at_server.yaml +++ b/.github/workflows/at_server.yaml @@ -71,14 +71,6 @@ jobs: working-directory: ${{ env.root-working-directory }} run: dart test --concurrency=1 - # adds dependency overrides to pubspec.yaml - # Runs when github action event type is pull_request or push event to trunk branch - - name: Add dependency overrides on pull request - if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' && contains(github.ref, 'trunk') }} - run: | - chmod +x ./tools/add_dependency_overrides.py - python3 ./tools/add_dependency_overrides.py -p packages/at_persistence_secondary_server - - name: Install dependencies in at_persistence_secondary_server working-directory: ${{ env.psecondary-working-directory }} run: dart pub get @@ -91,14 +83,6 @@ jobs: working-directory: ${{ env.psecondary-working-directory }} run: dart test --concurrency=1 - # adds dependency overrides to pubspec.yaml - # Runs when github action event type is pull_request or push event to trunk branch - - name: Add dependency overrides on pull request - if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' && contains(github.ref, 'trunk') }} - run: | - chmod +x ./tools/add_dependency_overrides.py - python3 ./tools/add_dependency_overrides.py -p packages/at_secondary_server - # Runs dart lint rules and unit tests on at_secondary_server - name: Install dependencies in at_secondary_server working-directory: ${{ env.secondary-working-directory }} @@ -151,14 +135,6 @@ jobs: - name: Add entry to hosts file run: echo "127.0.0.1 vip.ve.atsign.zone" | sudo tee -a /etc/hosts - # Runs when github action event is pull_request or push to a trunk branch. - - name: Add dependency overrides on pull request - if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' && contains(github.ref, 'trunk')}} - run: | - python3 -m pip install --require-hashes -r tools/requirements.txt - chmod +x ./tools/add_dependency_overrides.py - python3 ./tools/add_dependency_overrides.py -p packages/at_secondary_server - - name: Generate secondary server binary working-directory: ${{ env.secondary-working-directory }} run: dart pub get && dart compile exe bin/main.dart -o secondary diff --git a/tools/add_dependency_overrides.py b/tools/add_dependency_overrides.py deleted file mode 100755 index 57d986cc7..000000000 --- a/tools/add_dependency_overrides.py +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/python3 -""" -Accepts path to dependency-overrides.yaml file in the project as argument. -If dependencies are specified in dependency-overrides.yaml, adds the dependencies to dependency_overrides section -in pubspec.yaml -This is file is used in GITHub actions to resolve dependencies. -""" -import argparse -from ruamel.yaml import YAML -from os import path, stat - -# Initialize parser -parser = argparse.ArgumentParser() -# Adding optional argument -parser.add_argument("-p", "--path") - -# Read arguments from command line -project_path = parser.parse_args().path -# if project_path does not end with a trailing '/' adds '/' -if not project_path.endswith('/'): - project_path = project_path + '/' - - -def main(): - # If file does not exist, exit - if not path.exists(project_path + 'dependency-overrides.yaml') or not path.exists(project_path + 'pubspec.yaml'): - print('dependency-overrides.yaml or pubspec.yaml does exist...Exiting') - # if file is empty, exit. - if stat(project_path + 'dependency-overrides.yaml').st_size == 0: - print('dependency-overrides.yaml is empty...Exiting') - - add_dependency_overrides() - - -def add_dependency_overrides(): - yaml=YAML() - with open(project_path + 'pubspec.yaml', 'r') as pubspec: - yaml_map = yaml.load(pubspec) - - with open(project_path + 'dependency-overrides.yaml', 'r') as dependency_overrides_map: - dependency_map = yaml.load(dependency_overrides_map) - - # If dependency-overrides.yaml file is commented. Exit. - if not dependency_map: - print('The dependency-overrides.yaml is empty...Exiting') - return - # If pubpsec.yaml contains dependency_overrides section, - # update the existing dependency_overrides section - if 'dependency_overrides' in yaml_map: - yaml_map['dependency_overrides'].update(dependency_map) - else: - yaml_map['dependency_overrides'] = dependency_map - - with open(project_path + 'pubspec.yaml', 'w') as file: - ruamel.yaml.round_trip_dump(yaml_map, file, explicit_start=True) - file.close() - print('dependency_overrides updated successfully in ' + project_path + 'pubspec.yaml') - - -if __name__ == '__main__': - main() diff --git a/tools/requirements.txt b/tools/requirements.txt index f8c5ddafa..3821c9b82 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -152,9 +152,6 @@ ruamel-yaml-clib==0.2.8 ; platform_python_implementation == "CPython" and python --hash=sha256:edaef1c1200c4b4cb914583150dcaa3bc30e592e907c01117c08b13a07255ec2 \ --hash=sha256:f481f16baec5290e45aebdc2a5168ebc6d35189ae6fea7a58787613a25f6e875 \ --hash=sha256:fff3573c2db359f091e1589c3d7c5fc2f86f5bdb6f24252c2d8e539d4e45f412 -ruamel-yaml==0.18.1 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:649a301890441d36ea9cb0f48d07353de82b8cbde2244387e7ef6b1d3b9ee6cd \ - --hash=sha256:93907ef6c731ec1bcb41ab7ff99413945f5acfd7eee27785f2cb18b175dd5aae urllib3==2.0.7 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e From 431384e99c7b89f7cccb8bfb345d44ca7540a647 Mon Sep 17 00:00:00 2001 From: Sitaram Kalluri Date: Tue, 24 Oct 2023 22:06:47 +0530 Subject: [PATCH 6/9] fix: Remove ruamel.yaml dependency --- tools/pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/pyproject.toml b/tools/pyproject.toml index 8fb24e77b..b3a74f128 100644 --- a/tools/pyproject.toml +++ b/tools/pyproject.toml @@ -8,7 +8,6 @@ packages = [{include = "at_server_tools"}] [tool.poetry.dependencies] python = "^3.8" -"ruamel.yaml" = "0.18.1" requests = "2.31.0" dnspython = "2.4.2" From 502dd3ee2f80dbc576d92aa185f82097c766a165 Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:18:22 -0400 Subject: [PATCH 7/9] build(deps): Remove ruamel-yaml-clib --- tools/requirements.txt | 51 ------------------------------------------ 1 file changed, 51 deletions(-) diff --git a/tools/requirements.txt b/tools/requirements.txt index 3821c9b82..f877fc3fc 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -101,57 +101,6 @@ idna==3.4 ; python_version >= "3.8" and python_version < "4.0" \ requests==2.31.0 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \ --hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 -ruamel-yaml-clib==0.2.8 ; platform_python_implementation == "CPython" and python_version < "3.13" and python_version >= "3.8" \ - --hash=sha256:024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d \ - --hash=sha256:03d1162b6d1df1caa3a4bd27aa51ce17c9afc2046c31b0ad60a0a96ec22f8001 \ - --hash=sha256:07238db9cbdf8fc1e9de2489a4f68474e70dffcb32232db7c08fa61ca0c7c462 \ - --hash=sha256:09b055c05697b38ecacb7ac50bdab2240bfca1a0c4872b0fd309bb07dc9aa3a9 \ - --hash=sha256:1758ce7d8e1a29d23de54a16ae867abd370f01b5a69e1a3ba75223eaa3ca1a1b \ - --hash=sha256:184565012b60405d93838167f425713180b949e9d8dd0bbc7b49f074407c5a8b \ - --hash=sha256:1b617618914cb00bf5c34d4357c37aa15183fa229b24767259657746c9077615 \ - --hash=sha256:25ac8c08322002b06fa1d49d1646181f0b2c72f5cbc15a85e80b4c30a544bb15 \ - --hash=sha256:25c515e350e5b739842fc3228d662413ef28f295791af5e5110b543cf0b57d9b \ - --hash=sha256:3213ece08ea033eb159ac52ae052a4899b56ecc124bb80020d9bbceeb50258e9 \ - --hash=sha256:3f215c5daf6a9d7bbed4a0a4f760f3113b10e82ff4c5c44bec20a68c8014f675 \ - --hash=sha256:3fcc54cb0c8b811ff66082de1680b4b14cf8a81dce0d4fbf665c2265a81e07a1 \ - --hash=sha256:46d378daaac94f454b3a0e3d8d78cafd78a026b1d71443f4966c696b48a6d899 \ - --hash=sha256:4ecbf9c3e19f9562c7fdd462e8d18dd902a47ca046a2e64dba80699f0b6c09b7 \ - --hash=sha256:53a300ed9cea38cf5a2a9b069058137c2ca1ce658a874b79baceb8f892f915a7 \ - --hash=sha256:56f4252222c067b4ce51ae12cbac231bce32aee1d33fbfc9d17e5b8d6966c312 \ - --hash=sha256:5c365d91c88390c8d0a8545df0b5857172824b1c604e867161e6b3d59a827eaa \ - --hash=sha256:665f58bfd29b167039f714c6998178d27ccd83984084c286110ef26b230f259f \ - --hash=sha256:700e4ebb569e59e16a976857c8798aee258dceac7c7d6b50cab63e080058df91 \ - --hash=sha256:7048c338b6c86627afb27faecf418768acb6331fc24cfa56c93e8c9780f815fa \ - --hash=sha256:75e1ed13e1f9de23c5607fe6bd1aeaae21e523b32d83bb33918245361e9cc51b \ - --hash=sha256:7f67a1ee819dc4562d444bbafb135832b0b909f81cc90f7aa00260968c9ca1b3 \ - --hash=sha256:840f0c7f194986a63d2c2465ca63af8ccbbc90ab1c6001b1978f05119b5e7334 \ - --hash=sha256:84b554931e932c46f94ab306913ad7e11bba988104c5cff26d90d03f68258cd5 \ - --hash=sha256:87ea5ff66d8064301a154b3933ae406b0863402a799b16e4a1d24d9fbbcbe0d3 \ - --hash=sha256:955eae71ac26c1ab35924203fda6220f84dce57d6d7884f189743e2abe3a9fbe \ - --hash=sha256:9eb5dee2772b0f704ca2e45b1713e4e5198c18f515b52743576d196348f374d3 \ - --hash=sha256:a5aa27bad2bb83670b71683aae140a1f52b0857a2deff56ad3f6c13a017a26ed \ - --hash=sha256:a6a9ffd280b71ad062eae53ac1659ad86a17f59a0fdc7699fd9be40525153337 \ - --hash=sha256:a75879bacf2c987c003368cf14bed0ffe99e8e85acfa6c0bfffc21a090f16880 \ - --hash=sha256:aab7fd643f71d7946f2ee58cc88c9b7bfc97debd71dcc93e03e2d174628e7e2d \ - --hash=sha256:b16420e621d26fdfa949a8b4b47ade8810c56002f5389970db4ddda51dbff248 \ - --hash=sha256:b42169467c42b692c19cf539c38d4602069d8c1505e97b86387fcf7afb766e1d \ - --hash=sha256:b5edda50e5e9e15e54a6a8a0070302b00c518a9d32accc2346ad6c984aacd279 \ - --hash=sha256:bba64af9fa9cebe325a62fa398760f5c7206b215201b0ec825005f1b18b9bccf \ - --hash=sha256:beb2e0404003de9a4cab9753a8805a8fe9320ee6673136ed7f04255fe60bb512 \ - --hash=sha256:bef08cd86169d9eafb3ccb0a39edb11d8e25f3dae2b28f5c52fd997521133069 \ - --hash=sha256:c2a72e9109ea74e511e29032f3b670835f8a59bbdc9ce692c5b4ed91ccf1eedb \ - --hash=sha256:c58ecd827313af6864893e7af0a3bb85fd529f862b6adbefe14643947cfe2942 \ - --hash=sha256:c69212f63169ec1cfc9bb44723bf2917cbbd8f6191a00ef3410f5a7fe300722d \ - --hash=sha256:cabddb8d8ead485e255fe80429f833172b4cadf99274db39abc080e068cbcc31 \ - --hash=sha256:d176b57452ab5b7028ac47e7b3cf644bcfdc8cacfecf7e71759f7f51a59e5c92 \ - --hash=sha256:d92f81886165cb14d7b067ef37e142256f1c6a90a65cd156b063a43da1708cfd \ - --hash=sha256:da09ad1c359a728e112d60116f626cc9f29730ff3e0e7db72b9a2dbc2e4beed5 \ - --hash=sha256:e2b4c44b60eadec492926a7270abb100ef9f72798e18743939bdbf037aab8c28 \ - --hash=sha256:e79e5db08739731b0ce4850bed599235d601701d5694c36570a99a0c5ca41a9d \ - --hash=sha256:ebc06178e8821efc9692ea7544aa5644217358490145629914d8020042c24aa1 \ - --hash=sha256:edaef1c1200c4b4cb914583150dcaa3bc30e592e907c01117c08b13a07255ec2 \ - --hash=sha256:f481f16baec5290e45aebdc2a5168ebc6d35189ae6fea7a58787613a25f6e875 \ - --hash=sha256:fff3573c2db359f091e1589c3d7c5fc2f86f5bdb6f24252c2d8e539d4e45f412 urllib3==2.0.7 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \ --hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e From b90fe08537b7c45c80ef569ac66c1428342a0fa9 Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:19:00 -0400 Subject: [PATCH 8/9] chore: Check for poetry.lock when regenerating requirements.txt --- tools/update_requirements.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/update_requirements.sh b/tools/update_requirements.sh index 8e4b9ab7d..5d4699106 100755 --- a/tools/update_requirements.sh +++ b/tools/update_requirements.sh @@ -3,6 +3,9 @@ # update the requirements.txt, which is what we actually use to pull # in our Python dependencies. So we need to run this to generate a # new requirements.txt from the updated files. +if [ -f poetry.lock ]; then + rm poetry.lock +fi poetry export --format requirements.txt --output requirements.txt # of course this assumes that poetry is installed, which is done by: ## curl -sSL https://install.python-poetry.org | python3 - From 1f8e01ff0ef81f4ee1403dda992beda947d2227e Mon Sep 17 00:00:00 2001 From: Chris Swan <478926+cpswan@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:25:24 -0400 Subject: [PATCH 9/9] ci: Remove Python installs --- .github/workflows/at_server.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/at_server.yaml b/.github/workflows/at_server.yaml index 7712323be..eb0e138ea 100644 --- a/.github/workflows/at_server.yaml +++ b/.github/workflows/at_server.yaml @@ -35,16 +35,7 @@ jobs: - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d # v1.6.0 with: sdk: stable - # Setup python - - name: Set up Python - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 - with: - python-version: '3.8' - # Install python packages - - name: Install Python dependencies - run: | - python3 -m pip install --require-hashes -r tools/requirements.txt - + # Runs dart lint rules and unit tests on at_persistence_root_server - name: Install dependencies in at_persistence_root_server working-directory: ${{ env.proot-working-directory }} @@ -118,12 +109,6 @@ jobs: with: sdk: stable - # Setup python - - name: Set up Python - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 - with: - python-version: '3.8' - - name: Install dependencies working-directory: ${{ env.ftest-working-directory }} run: dart pub get