diff --git a/CMakeLists.txt b/CMakeLists.txt index ffc30b4633..f521b620fa 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,10 +227,7 @@ endif() set(CPACK_RPM_PACKAGE_PROVIDES "amd-smi") set(CPACK_RPM_DEV_PACKAGE_PROVIDES "${AMD_SMI_PACKAGE}") set(CPACK_RPM_ASAN_PACKAGE_PROVIDES "${AMD_SMI_PACKAGE}-asan") -set(CPACK_RPM_PACKAGE_REQUIRES "python3 >= 3.7.9") -set(CPACK_RPM_DEV_PACKAGE_REQUIRES ${CPACK_RPM_PACKAGE_REQUIRES}) -set(CPACK_RPM_ASAN_PACKAGE_REQUIRES ${CPACK_RPM_PACKAGE_REQUIRES}) -set(CPACK_RPM_PACKAGE_SUGGESTS "python38") +set(CPACK_RPM_PACKAGE_SUGGESTS "python3 >= 3.7.9") set(CPACK_RPM_DEV_PACKAGE_SUGGESTS ${CPACK_RPM_PACKAGE_SUGGESTS}) set(CPACK_RPM_ASAN_PACKAGE_SUGGESTS ${CPACK_RPM_PACKAGE_SUGGESTS}) diff --git a/amdsmi_cli/CMakeLists.txt b/amdsmi_cli/CMakeLists.txt index 3a943c4a37..34626a24ee 100644 --- a/amdsmi_cli/CMakeLists.txt +++ b/amdsmi_cli/CMakeLists.txt @@ -22,6 +22,7 @@ add_custom_command( ${PY_PACKAGE_DIR}/amdsmi_cli_exceptions.py ${PY_PACKAGE_DIR}/BDF.py ${PY_PACKAGE_DIR}/README.md + ${PY_PACKAGE_DIR}/Release_Notes.md DEPENDS amdsmi_cli COMMAND mkdir -p ${PY_PACKAGE_DIR}/ COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py ${PY_PACKAGE_DIR}/ @@ -34,7 +35,8 @@ add_custom_command( COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/amdsmi_parser.py ${PY_PACKAGE_DIR}/ COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/amdsmi_cli_exceptions.py ${PY_PACKAGE_DIR}/ COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/BDF.py ${PY_PACKAGE_DIR}/ - COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${PY_PACKAGE_DIR}/) + COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${PY_PACKAGE_DIR}/ + COMMAND ln -Pf ${CMAKE_CURRENT_SOURCE_DIR}/Release_Notes.md ${PY_PACKAGE_DIR}/) # The CLI requires the python amdsmi wrapper to be installed add_custom_target( @@ -50,7 +52,8 @@ add_custom_target( ${PY_PACKAGE_DIR}/amdsmi_parser.py ${PY_PACKAGE_DIR}/amdsmi_cli_exceptions.py ${PY_PACKAGE_DIR}/BDF.py - ${PY_PACKAGE_DIR}/README.md) + ${PY_PACKAGE_DIR}/README.md + ${PY_PACKAGE_DIR}/Release_Notes.md) install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PY_PACKAGE_DIR} diff --git a/amdsmi_cli/README.md b/amdsmi_cli/README.md index ed8e224eaa..a823bd804b 100644 --- a/amdsmi_cli/README.md +++ b/amdsmi_cli/README.md @@ -22,17 +22,15 @@ Recommended: At least one AMD GPU with AMD driver installed Add /opt/rocm/bin to your shell's path to access amd-smi via the cmdline -### RHEL 8 +### RHEL 8 & SLES 15 -The default python version in RHEL 8 is python 3.6.8 +The default python versions in RHEL 8 and SLES 15 are 3.6.8 and 3.6.15 -To install the python library you need to upgrade to python 3.7+ +While the CLI may work with these python versions, to install the python library you need to upgrade to python 3.7+ -The package's dependency manager will attempt to install python 3.8+ +Verify that your python version is 3.7+ to install the python library -Verify that your python version is 3.7+ and if not you can use python3.8 instead of python3 - -### Example of Ubuntu 22.04 post amdgpu driver install +### Install Example for Ubuntu 22.04 ``` bash apt install amd-smi-lib @@ -44,6 +42,10 @@ python3 -m pip install --user . Add /opt/rocm/bin to your shell's path to access amd-smi via the cmdline +``` bash +export PATH=$PATH:/opt/rocm/bin +``` + ## Usage amd-smi will report the version and current platform detected when running the command without arguments: diff --git a/amdsmi_cli/Release Notes.md b/amdsmi_cli/Release_Notes.md similarity index 78% rename from amdsmi_cli/Release Notes.md rename to amdsmi_cli/Release_Notes.md index 6b056f935b..1d405bd4ed 100644 --- a/amdsmi_cli/Release Notes.md +++ b/amdsmi_cli/Release_Notes.md @@ -4,12 +4,19 @@ Documentation for AMDSMI-CLI is available post install in /opt//libexec/amdsmi_cli/README.md +## AMDSMI-CLI 23.0.1.1 + +### Known Issues + +- not all ecc fields are currently supported +- RHEL 8 & SLES 15 have extra install steps + ## AMDSMI-CLI 23.0.1.0 ### Known Issues - not all ecc fields are currently supported -- RHEL 8 has extra install steps +- RHEL 8 & SLES 15 have extra install steps ## AMDSMI-CLI 23.0.0.4 @@ -22,7 +29,7 @@ Documentation for AMDSMI-CLI is available post install in /opt//l ### Known Issues - not all ecc fields are currently supported -- RHEL 8 has extra install steps +- RHEL 8 & SLES 15 have extra install steps ## AMDSMI-CLI 0.0.2 diff --git a/amdsmi_cli/_version.py b/amdsmi_cli/_version.py index 1283aa8b07..4e4887542a 100644 --- a/amdsmi_cli/_version.py +++ b/amdsmi_cli/_version.py @@ -1 +1 @@ -__version__ = "23.0.1.0" +__version__ = "23.0.1.1" diff --git a/docs/amdsmi_release_notes_link.md b/docs/amdsmi_release_notes_link.md new file mode 100644 index 0000000000..849e567969 --- /dev/null +++ b/docs/amdsmi_release_notes_link.md @@ -0,0 +1,2 @@ +```{include} ../amdsmi_cli/Release_Notes.md +``` diff --git a/docs/sphinx/_toc.yml.in b/docs/sphinx/_toc.yml.in index 386f63252e..3a4de74232 100644 --- a/docs/sphinx/_toc.yml.in +++ b/docs/sphinx/_toc.yml.in @@ -15,6 +15,8 @@ subtrees: entries: - file: amdsmi_cli_readme_link title: Python CLI Tool + - file: amdsmi_release_notes_link + title: Python CLI Release Notes - caption: About entries: - file: license diff --git a/py-interface/pyproject.toml b/py-interface/pyproject.toml index 60b81b5f06..2a3112d1c3 100644 --- a/py-interface/pyproject.toml +++ b/py-interface/pyproject.toml @@ -10,7 +10,7 @@ name = "amdsmi" authors = [ {name = "AMD", email = "amd-smi.support@amd.com"}, ] -version = '23.0.1.0' +version = '23.0.1.1' license = {file = "amdsmi/LICENSE"} readme = {file = "amdsmi/README.md", content-type = "text/markdown"} description = "SMI LIB - AMD GPU Monitoring Library"