check_deprecation

Deprecated packages and syntax

Classes

deprecated_numpy_spec(_linter)

The recipe contains a deprecated numpy spec

uses_javajdk(_linter)

The recipe uses java-jdk

uses_perl_threaded(_linter)

The recipe uses perl-threaded

Documentation

class bioconda_utils.lint.check_deprecation.deprecated_numpy_spec(_linter)[source]

Bases: bioconda_utils.lint.LintCheck

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 to self.message().

Parameters

deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.

fix(_message, _data)[source]

Attempt to fix the problem

class bioconda_utils.lint.check_deprecation.uses_javajdk(_linter)[source]

Bases: bioconda_utils.lint.LintCheck

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 to self.message().

Parameters

deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.

fix(_message, _data)[source]

Attempt to fix the problem

class bioconda_utils.lint.check_deprecation.uses_perl_threaded(_linter)[source]

Bases: bioconda_utils.lint.LintCheck

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 to self.message().

Parameters

deps – Dictionary mapping requirements occurring in the recipe to their locations within the recipe.

fix(_message, _data)[source]

Attempt to fix the problem