From ca37e97aeebc418dc91dcce1d2fded4eb747901d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 19:31:39 +0000 Subject: [PATCH 1/2] Update from copier (2026-05-21T19:31:39) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yaml | 2 +- .github/dependabot.yaml | 4 +++- .github/workflows/build.yaml | 39 +++++++++++++++++++++++++++++++++++- .gitignore | 9 ++++++--- 4 files changed, 48 insertions(+), 6 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index d0734b9..f74def5 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 9a153d8 +_commit: b5fb449 _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 42cac77..0961ae8 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -3,7 +3,7 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" labels: - "part: github_actions" @@ -11,6 +11,8 @@ updates: directory: "/" schedule: interval: "monthly" + cooldown: + default-days: 7 labels: - "lang: python" - "part: dependencies" diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4c30fe0..ba65c11 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,6 +31,7 @@ jobs: cibuildwheel: - "cp311" steps: +<<<<<<< before updating - uses: actions/checkout@v6 with: submodules: 'true' @@ -50,12 +51,16 @@ jobs: key: cache-${{ runner.os }}- restore-keys: cache-${{ runner.os }}- if: ${{ runner.os == 'Windows' }} +======= + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 +>>>>>>> after updating - uses: actions-ext/python/setup@main with: version: ${{ matrix.python-version }} - name: Install dependencies +<<<<<<< before updating run: pip install cibuildwheel - name: Python Wheel Steps (linux) @@ -89,6 +94,38 @@ jobs: - name: Install wheel (mac/linux) run: python -m pip install dist/*.whl if: ${{ runner.os != 'Windows' }} +======= + run: make develop + + - name: Lint + run: make lint + + - name: Checks + run: make checks + + - name: Build + run: make build + + - name: Test + run: make coverage + + - name: Upload test results (Python) + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + with: + name: test-results-${{ matrix.os }}-${{ matrix.python-version }} + path: junit.xml + if: ${{ always() }} + + - name: Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2 + with: + files: '**/junit.xml' + + - name: Upload coverage + uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} +>>>>>>> after updating - name: Install wheel (windows) run: python -m pip install -U (Get-ChildItem .\dist\*.whl | Select-Object -Expand FullName) @@ -100,7 +137,7 @@ jobs: - name: Test Wheel run: python -m pytest -vvv systemc/tests - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 with: name: dist-${{matrix.os}} path: dist diff --git a/.gitignore b/.gitignore index 51c1aae..f5f94d9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ __pycache__/ # C extensions *.a +*.o +*.dSYM *.so *.a *.o @@ -16,6 +18,7 @@ __pycache__/ # Rust target +target-capi # Distribution / packaging .Python @@ -140,12 +143,12 @@ systemc/extension systemc/nbextension systemc/labextension +# Emscripten SDK (locally installed) +emsdk + # Mac .DS_Store -# Rust -target - # Hydra outputs/ multirun/ From 0d4aa5eafe40d727657fd296db6e8f39ba52204f Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Thu, 21 May 2026 17:44:01 -0400 Subject: [PATCH 2/2] Update build.yaml --- .github/workflows/build.yaml | 45 ++++-------------------------------- 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ba65c11..f85bd51 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,13 +31,12 @@ jobs: cibuildwheel: - "cp311" steps: -<<<<<<< before updating - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: submodules: 'true' - name: Setup cache (mac/linux) - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: "/home/runner/work/systemc-python/systemc-python/.ccache" key: cache-${{ runner.os }}- @@ -45,22 +44,18 @@ jobs: if: ${{ runner.os != 'Windows' }} - name: Setup cache (windows) - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: "C:/ProgramData/chocolatey/" key: cache-${{ runner.os }}- restore-keys: cache-${{ runner.os }}- if: ${{ runner.os == 'Windows' }} -======= - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 ->>>>>>> after updating - uses: actions-ext/python/setup@main with: version: ${{ matrix.python-version }} - name: Install dependencies -<<<<<<< before updating run: pip install cibuildwheel - name: Python Wheel Steps (linux) @@ -86,7 +81,7 @@ jobs: if: ${{ matrix.os == 'windows-2022' }} - name: Upload Wheel - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }} path: dist/*.whl @@ -94,38 +89,6 @@ jobs: - name: Install wheel (mac/linux) run: python -m pip install dist/*.whl if: ${{ runner.os != 'Windows' }} -======= - run: make develop - - - name: Lint - run: make lint - - - name: Checks - run: make checks - - - name: Build - run: make build - - - name: Test - run: make coverage - - - name: Upload test results (Python) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 - with: - name: test-results-${{ matrix.os }}-${{ matrix.python-version }} - path: junit.xml - if: ${{ always() }} - - - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2 - with: - files: '**/junit.xml' - - - name: Upload coverage - uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1 - with: - token: ${{ secrets.CODECOV_TOKEN }} ->>>>>>> after updating - name: Install wheel (windows) run: python -m pip install -U (Get-ChildItem .\dist\*.whl | Select-Object -Expand FullName)