Skip to content

Commit

Permalink
Merge pull request #2046 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Sep 1, 2024
2 parents e99a0e0 + 9a915c8 commit 392e36f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conda_smithy/linter/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ def hint_check_spdx(about_section, hints):


def hint_pip_no_build_backend(host_or_build_section, package_name, hints):
# we do NOT exclude all build backends since some of them
# need another backend to bootstrap
# the list below are the ones that self-bootstrap without
# another build backend
if package_name in ["pdm-backend", "setuptools"]:
return

if host_or_build_section and any(
req.split(" ")[0] == "pip" for req in host_or_build_section
):
Expand Down
23 changes: 23 additions & 0 deletions news/2046-pip-hint-exclude.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Fixed error where some python build backends were flagged as not having a backend. (#2046)

**Security:**

* <news item>

0 comments on commit 392e36f

Please sign in to comment.