Skip to content

Commit

Permalink
Remove cmake via patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dbast committed Jan 31, 2025
1 parent 0575398 commit b779ad9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions recipe/0001-Remove-cmake-from-build-system.requires.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From bc862aba72832d3e57b9d8b4a0dd7be9a71a571c Mon Sep 17 00:00:00 2001
From: Daniel Bast <[email protected]>
Date: Fri, 31 Jan 2025 17:26:38 +0100
Subject: [PATCH] Remove cmake from build-system.requires

---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 03560d1..32c6f03 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools_scm[toml]>=4", "cython", "cmake>=3.24.2,<3.28; python_version>='3.7'", "setuptools-rust<2"]
+requires = ["setuptools_scm[toml]>=4", "cython", "setuptools-rust<2"]
build-backend = "setuptools.build_meta"

[project]
--
2.48.1

2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ package:
source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/ddtrace-{{ version }}.tar.gz
sha256: f185c6dd88cd04884f0ad27b37f14d837274e8fc4dc43407781334d92d41c3bc
patches:
- 0001-Remove-cmake-from-build-system.requires.patch

build:
entry_points:
Expand Down

0 comments on commit b779ad9

Please sign in to comment.