From f05f716e28300d989222af8c9170d57e6c3771d3 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 7 Feb 2022 10:53:04 -0500 Subject: [PATCH] fix: toml is not used anymore, replaced by tomli --- .github/workflows/tests.yml | 2 +- CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c7f328c4c..d1616f722 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: run: apt-get update && apt-get install -y python3-dev python3-pip - name: Install extra requirements - run: python3 -m pip install setuptools_scm toml + run: python3 -m pip install setuptools_scm[toml] - name: Configure run: cmake -S . -B build -DCMAKE_CXX_CLANG_TIDY="$(which clang-tidy);--warnings-as-errors=*" diff --git a/CMakeLists.txt b/CMakeLists.txt index 51ed97ff8..ed02fc08e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,7 +193,6 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/boost_histogram/version.py") string(REGEX MATCH [=[[0-9]+\.[0-9]+\.[0-9]+]=] VERSION_STRING "${VERSION_STRING}") else() pybind11_find_import(setuptools_scm REQUIRED) - pybind11_find_import(toml REQUIRED) execute_process( COMMAND