• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

conda-forge / conda-smithy / 12637488066
71%
master: 60%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 06 Jan 2025 05:47PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jan 2025 05:44PM UTC coverage: 71.676% (+0.03%) from 71.645%
12637488066

push

github

web-flow
Support skipping `python_min` and `pip_no_build_backend` hints (#2206)

* Support skipping python_min hints

Support `hint_python_min` in `linter.skip`.  I went for a single token
for all `python_min` hints, since it seems reasonable to assume that
if one explicitly disables this, the feedstock was already inspected
for appropriate `python_min` usage.

Fixes #2170

* Support skipping pip_no_build_backend hints

Support skipping the hints about missing build backend dependency,
e.g. when the package itself is providing the build backend
(e.g. in poetry-core-feedstock).

Also requested in issue #2170.

* Fix `TypeError` when `linter:` or `skip:` keys are empty

Fix the error such as:

```
Traceback (most recent call last):
  File "/home/mgorny/miniforge3/bin/conda-smithy", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/mgorny/git/conda-smithy/conda_smithy/cli.py", line 767, in main
    args.subcommand_func(args)
  File "/home/mgorny/git/conda-smithy/conda_smithy/cli.py", line 645, in __call__
    lints, hints = linter.main(
                   ^^^^^^^^^^^^
  File "/home/mgorny/git/conda-smithy/conda_smithy/lint_recipe.py", line 733, in main
    results, hints = lintify_meta_yaml(
                     ^^^^^^^^^^^^^^^^^^
  File "/home/mgorny/git/conda-smithy/conda_smithy/lint_recipe.py", line 281, in lintify_meta_yaml
    if "lint_noarch_selectors" not in lints_to_skip:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
```

when `conda-forge.yml` contains an empty key, e.g.:

```
linter:
  skip:
```

Noticed this accidentally while testing the other changes.

* Add a news entry

* Don't skip "skip" tests when we expect no warnings

As suggested by @h-vetinari in https://github.com/conda-forge/conda-smithy/pull/2206#discussion_r1904288566.

---------

Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>

1225 of 1882 branches covered (65.09%)

19 of 22 new or added lines in 2 files covered. (86.36%)

3358 of 4685 relevant lines covered (71.68%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12637488066.1 06 Jan 2025 05:47PM UTC 0
71.68
GitHub Action Run
Source Files on build 12637488066
Detailed source file information is not available for this build.
  • Back to Repo
  • 955a2d05 on github
  • Prev Build on main (#12637363623)
  • Next Build on main (#12640547682)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc