Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ runs:
brew update
brew install gnu-time gcc git libunwind-headers libmagic coreutils

# The rust toolchain is required for building some packages (e.g., angr) that have no wheels for particular archs.
- name: Set up Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy, rustfmt

- name: Initialize Git
shell: sh
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ on:

jobs:
# Tests classic build using Tox for selected Python versions
# Version 3.9 is omitted due to some dependencies not being compatible with ARM CPUs.
build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions perun/view_diff/report_folded.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,8 @@ def generate_report_from_folded(
grid: FlameGraphGrid = FlameGraphGrid()
log.minor_info("Saving post-processed profiles in temporary files.")
with (
tempfile.NamedTemporaryFile(mode="w") as baseline_folded,
tempfile.NamedTemporaryFile(mode="w") as target_folded,
tempfile.NamedTemporaryFile(mode="w+") as baseline_folded,
tempfile.NamedTemporaryFile(mode="w+") as target_folded,
):
base_maxtrace = polars_traces_to_folded_profile(
pair_profile.baseline, baseline_folded, minwidth_threshold
Expand Down Expand Up @@ -1351,6 +1351,7 @@ def polars_traces_to_folded_profile(
# Update the maximum trace length
if inclusive >= min_width_threshold:
max_filtered_len = max(max_filtered_len, len(trace_parts))
folded_file.flush()
return max_filtered_len


Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build-backend = "mesonpy"
[project]
name = "perun-toolsuite"
description = "Perun: Lightweight Performance Version System"
requires-python = ">=3.9"
requires-python = ">=3.10"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
Expand Down Expand Up @@ -67,7 +67,7 @@ dependencies = [
"networkx>=3.2.1",

# Plotting / visualization / output
"bokeh>=3.4.2",
"bokeh>=3.8.2",
"matplotlib>=3.9.0",
"termcolor>=2.4.0",
"tabulate>=0.9.0",
Expand Down Expand Up @@ -222,9 +222,10 @@ exclude_also = [
# ----------------------
[tool.black]
target-version = [
"py39",
"py310",
"py311",
"py312",
"py313",
"py314",
]
line-length = 100
2 changes: 1 addition & 1 deletion tests/test_diff_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def test_diff_report_folded(pcs_with_svs):
# Report-folded-specific options.
"folded",
baseline_profiles,
"import-stressng.stack", # "import-empty.csv",
"import-stressng.stack",
"--baseline-dir",
pool_path,
"--target-dir",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires =
tox>=4
env_list =
py{3.9, 3.10, 3.11, 3.12, 3.13}
py{3.10, 3.11, 3.12, 3.13, 3.14}
lint
typing
docs
Expand Down
Loading