[rocprofiler-compute] Pin dependencies and fix test configuration paths, remove setuptools dependency (#2821)

* Pin dependencies and fix test paths for package layout

- Pin all dependencies in requirements.txt to specific versions to ensure stability and reproducibility.
- Update test_autogen_config.py to correctly resolve source paths for both development and installed package layouts.
- Validated compatibility with Python 3.9, 3.10, 3.11, and 3.12.

* Remove setuptools dependency since we dont support pip install and instead use cmake
Tá an tiomantas seo le fáil i:
vedithal-amd
2026-01-23 15:46:58 -05:00
tiomanta ag GitHub
tuismitheoir 2b1b41f4da
tiomantas 809eca7616
D'athraigh 2 comhad le 21 breiseanna agus 15 scriosta
+12 -13
Féach ar an gComhad
@@ -1,14 +1,13 @@
astunparse==1.6.2
dash-bootstrap-components
dash-svg
dash>=3.0.0
numpy>=1.17.5
pandas>=1.4.3
plotext
plotille
pyyaml
setuptools
sqlalchemy>=2.0.42
tabulate
textual
textual_plotext
dash-bootstrap-components==2.0.4
dash-svg==0.0.12
dash==3.4.0
numpy==1.26.4
pandas==2.2.3
plotext==5.3.2
plotille==5.0.0
pyyaml==6.0.3
sqlalchemy==2.0.46
tabulate==0.9.0
textual==7.3.0
textual_plotext==1.0.1
@@ -30,8 +30,15 @@ from pathlib import Path
import pytest
PROJECT_ROOT = Path(__file__).resolve().parents[1]
HASH_DB = PROJECT_ROOT / "src/utils/.config_hashes.json"
ANALYSIS_CONFIGS = PROJECT_ROOT / "src/rocprof_compute_soc/analysis_configs"
# In development, source is under src/. In installed package, it is at the root.
if (PROJECT_ROOT / "src").exists():
SRC_ROOT = PROJECT_ROOT / "src"
else:
SRC_ROOT = PROJECT_ROOT
HASH_DB = SRC_ROOT / "utils/.config_hashes.json"
ANALYSIS_CONFIGS = SRC_ROOT / "rocprof_compute_soc/analysis_configs"
def md5(path: Path) -> str: