check_deprecation¶
Deprecated packages and syntax
Classes
|
The recipe contains a deprecated numpy spec |
|
The recipe uses |
|
The recipe uses |
|
The recipe uses |
Documentation
- class bioconda_utils.lint.check_deprecation.uses_perl_threaded(_linter)[source]¶
The recipe uses
perl-threaded
Please use
perl
instead.- check_deps(deps)[source]¶
Execute check on recipe dependencies
Example format for deps:
{ 'setuptools': ['requirements/run', 'outputs/0/requirements/run/1'], 'compiler_cxx': ['requirements/build/0'] }
You can use the values in the list directly as
section
parameter toself.message()
.- Parameters:
deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_deprecation.uses_javajdk(_linter)[source]¶
The recipe uses
java-jdk
Please use
openjdk
instead.- check_deps(deps)[source]¶
Execute check on recipe dependencies
Example format for deps:
{ 'setuptools': ['requirements/run', 'outputs/0/requirements/run/1'], 'compiler_cxx': ['requirements/build/0'] }
You can use the values in the list directly as
section
parameter toself.message()
.- Parameters:
deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_deprecation.deprecated_numpy_spec(_linter)[source]¶
The recipe contains a deprecated numpy spec
Please remove the
x.x
- pinning is now handled automatically.- check_deps(deps)[source]¶
Execute check on recipe dependencies
Example format for deps:
{ 'setuptools': ['requirements/run', 'outputs/0/requirements/run/1'], 'compiler_cxx': ['requirements/build/0'] }
You can use the values in the list directly as
section
parameter toself.message()
.- Parameters:
deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_deprecation.uses_matplotlib(_linter)[source]¶
The recipe uses
matplotlib
, butmatplotlib-base
is recommendedThe
matplotlib
dependency should be replaced withmatplotlib-base
unless the package explicitly needs the PyQt interactive plotting backend.- check_deps(deps)[source]¶
Execute check on recipe dependencies
Example format for deps:
{ 'setuptools': ['requirements/run', 'outputs/0/requirements/run/1'], 'compiler_cxx': ['requirements/build/0'] }
You can use the values in the list directly as
section
parameter toself.message()
.- Parameters:
deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked