From e5fdc557c04ddec58aec8266a36507b3c3ab3d9c Mon Sep 17 00:00:00 2001 From: Ben Deane Date: Fri, 4 Sep 2026 16:59:16 -0600 Subject: [PATCH] =?UTF-8?q?:arrow=5Fdown:=EF=B8=8F=20Revert=20python=20dep?= =?UTF-8?q?s=20to=20previous=20requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: - The `cpp20` branch does not have the same python environment and build process as current `main`; it also requires the build to work with Ubuntu 22.04. Solution: - Fix the python `requirements.txt` to the old version. --- .gitignore | 1 - CMakeLists.txt | 2 ++ requirements.txt | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index cdb022a..a711627 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,5 @@ /CMakePresets.json /toolchains /mull.yml -/requirements.txt /docs/puppeteer_config.json /docs/mermaid.conf diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d7df84..ed8608c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,8 @@ project( DESCRIPTION "A header-only C++ library that polyfills the standard library." ) +set(INFRA_PROVIDE_PYTEST_REQS OFF) + include(cmake/get_cpm.cmake) if(PROJECT_IS_TOP_LEVEL) cpmaddpackage("gh:intel/cicd-repo-infrastructure#dev") diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4f5b8b1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,15 @@ +# The contents of this file can be generated at latest versions available by running: +# +# $ python3 -m venv ./test_venv +# $ source ./test_venv/bin/activate +# $ pip install pytest pytest-xdist hypothesis | tail -n1 | cut -d' ' -f 3- | tr ' ' '\n' | sed 's/\(.*\)-\(.*\)/\1==\2/' +# +attrs==24.2.0 +execnet==2.1.1 +hypothesis==6.115.3 +iniconfig==2.0.0 +packaging==24.1 +pluggy==1.5.0 +pytest==9.0.3 +pytest-xdist==3.6.1 +sortedcontainers==2.4.0