From ebf553497753f61d8b0311543b7bb375bc6c7ee1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:03:56 +0000 Subject: [PATCH] chore(deps): update all dependencies --- .github/workflows/build-test-release.yaml | 38 +++++++++++------------ pyproject.toml | 6 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build-test-release.yaml b/.github/workflows/build-test-release.yaml index 2652e413..f579a752 100644 --- a/.github/workflows/build-test-release.yaml +++ b/.github/workflows/build-test-release.yaml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v4 - id: matrix - uses: splunk/addonfactory-test-matrix-action@v1.10 + uses: splunk/addonfactory-test-matrix-action@v2.1 fossa-scan: continue-on-error: true @@ -37,7 +37,7 @@ jobs: fossa report attribution --format text > /tmp/THIRDPARTY env: FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: THIRDPARTY path: /tmp/THIRDPARTY @@ -50,16 +50,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: apache/skywalking-eyes@v0.5.0 + - uses: apache/skywalking-eyes@v0.6.0 pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 semgrep: uses: splunk/sast-scanning/.github/workflows/sast-scan.yml@main @@ -67,16 +67,16 @@ jobs: SEMGREP_KEY: ${{ secrets.SEMGREP_PUBLISH_TOKEN }} run-unit-tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: | curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -88,7 +88,7 @@ jobs: build: name: build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: - fossa-scan - compliance-copyrights @@ -98,12 +98,12 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -118,7 +118,7 @@ jobs: --config=tests/testdata/Splunk_TA_UCCExample/globalConfig.json \ --ta-version=0.0.1 if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: output path: output/* @@ -128,7 +128,7 @@ jobs: needs: - meta - build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: | !contains(github.event.issue.labels.*.name, 'skip-ui-tests') permissions: @@ -152,16 +152,16 @@ jobs: ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: output path: output/ - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - id: cache-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }} @@ -180,7 +180,7 @@ jobs: ./run_splunk.sh ${{ matrix.splunk.version }} until curl -Lsk "https://localhost:8088/services/collector/health" &>/dev/null ; do echo -n "Waiting for HEC-" && sleep 5 ; done - run: poetry run pytest tests/ui -k "${{ matrix.test_suite }}" --headless --junitxml=test-results/junit.xml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results-${{ matrix.splunk.version }}_${{ matrix.python-version }}_${{ matrix.browser }}_${{ matrix.test_suite }} @@ -198,13 +198,13 @@ jobs: - build - run-ui-tests - run-unit-tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: submodules: false persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} diff --git a/pyproject.toml b/pyproject.toml index f0b287a5..2ed05531 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,15 +40,15 @@ selenium = "*" webdriver-manager = "*" msedge-selenium-tools = "*" cssselect = "*" -lxml = "^4.8.0" +lxml = "^5.0.0" pytest-splunk-addon = "^5.0.0" [tool.poetry.plugins] pytest11 = { "ucc-smartx" = "pytest_splunk_addon_ui_smartx.plugin" } [tool.poetry.group.dev.dependencies] -pytest = ">=5.4, <7.3" -splunk-add-on-ucc-framework = "5.48.0" +pytest = ">=8.3, <9" +splunk-add-on-ucc-framework = "5.53.1" pytest-rerunfailures = "^12.0" [build-system]