Skip to content

Remove deprecated modules and functions #62

Closed
@ferrine

Description

@ferrine

Description

These modules were moved and marked deprecated. As a part of maintainance and library refresh, we can work on removing placeholders and documentation references

grep 'Deprecation'  -nR {tests,pytensor}/**/*.py
tests/tensor/nnet/test_conv.py:88:            with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:602:                        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:640:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:653:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:666:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:679:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:692:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:705:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:718:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:731:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:744:        with pytest.warns(DeprecationWarning):
tests/tensor/nnet/test_conv.py:757:        with pytest.warns(DeprecationWarning):
tests/tensor/test_basic.py:1336:        with pytest.warns(DeprecationWarning):
tests/tensor/test_math_scipy.py:729:    with pytest.warns(DeprecationWarning):
tests/tensor/test_subtensor.py:1205:                        # with NumPy 1.10 will raise a Deprecation warning.
tests/tensor/test_type.py:333:    with pytest.warns(DeprecationWarning, match=".*broadcastable.*"):
tests/tensor/test_type.py:338:    with pytest.warns(DeprecationWarning, match=".*broadcastable.*"):
tests/tensor/test_type.py:359:        DeprecationWarning, match="The `broadcastable` keyword is deprecated"
tests/test_config.py:29:    with pytest.warns(DeprecationWarning, match="instead"):
tests/test_config.py:35:    with pytest.warns(DeprecationWarning, match="instead"):
tests/test_config.py:52:    with pytest.warns(DeprecationWarning):
tests/test_config.py:63:    with pytest.warns(DeprecationWarning):
pytensor/assert_op.py:7:    DeprecationWarning,
pytensor/configparser.py:84:            DeprecationWarning,
pytensor/configparser.py:193:        # The following code adds redirects that spill DeprecationWarnings
pytensor/configparser.py:572:    config settings, but raises DeprecationWarnings with instructions to use `pytensor.config`.
pytensor/configparser.py:583:            DeprecationWarning,
pytensor/configparser.py:593:            DeprecationWarning,
pytensor/configparser.py:637:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/gradient.py:2142:        category=DeprecationWarning,
pytensor/gradient.py:2376:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/kanren.py:6:    DeprecationWarning,
pytensor/graph/optdb.py:6:    DeprecationWarning,
pytensor/graph/optdb.py:26:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/opt.py:6:    DeprecationWarning,
pytensor/graph/opt.py:26:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/opt_utils.py:6:    DeprecationWarning,
pytensor/graph/opt_utils.py:26:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/rewriting/basic.py:116:            DeprecationWarning,
pytensor/graph/rewriting/basic.py:2312:            DeprecationWarning,
pytensor/graph/rewriting/basic.py:3261:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/rewriting/db.py:577:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/rewriting/utils.py:68:            DeprecationWarning,
pytensor/graph/rewriting/utils.py:272:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/graph/toolbox.py:7:    DeprecationWarning,
pytensor/graph/unify.py:6:    DeprecationWarning,
pytensor/__init__.py:196:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/link/jax/jax_dispatch.py:7:    DeprecationWarning,
pytensor/link/jax/jax_linker.py:7:    DeprecationWarning,
pytensor/printing.py:199:            DeprecationWarning,
pytensor/sandbox/rng_mrg.py:43:    DeprecationWarning,
pytensor/sandbox/rng_mrg.py:709:                DeprecationWarning,
pytensor/sandbox/rng_mrg.py:1121:            DeprecationWarning,
pytensor/scalar/basic.py:4471:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/scalar/basic_scipy.py:7:    DeprecationWarning,
pytensor/scan/basic.py:507:                    raise DeprecationWarning(
pytensor/scan/opt.py:6:    DeprecationWarning,
pytensor/sparse/opt.py:6:    DeprecationWarning,
pytensor/tensor/basic_opt.py:6:    DeprecationWarning,
pytensor/tensor/basic.py:2596:            DeprecationWarning,
pytensor/tensor/math_opt.py:6:    DeprecationWarning,
pytensor/tensor/math.py:3153:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/tensor/nnet/basic.py:2168:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/tensor/nnet/conv.py:112:        DeprecationWarning,
pytensor/tensor/nnet/conv.py:410:            DeprecationWarning,
pytensor/tensor/nnet/__init__.py:7:    DeprecationWarning,
pytensor/tensor/nnet/opt.py:6:    DeprecationWarning,
pytensor/tensor/opt_uncanonicalize.py:6:    DeprecationWarning,
pytensor/tensor/random/opt.py:6:    DeprecationWarning,
pytensor/tensor/rewriting/basic.py:1295:        warn(msg, DeprecationWarning, stacklevel=2)
pytensor/tensor/sharedvar.py:71:            DeprecationWarning,
pytensor/tensor/signal/conv.py:17:    DeprecationWarning,
pytensor/tensor/signal/pool.py:25:    DeprecationWarning,
pytensor/tensor/signal/pool.py:111:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:129:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:145:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:158:            category=DeprecationWarning,
pytensor/tensor/signal/pool.py:227:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:245:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:261:                category=DeprecationWarning,
pytensor/tensor/signal/pool.py:274:            category=DeprecationWarning,
pytensor/tensor/signal/pool.py:391:                    category=DeprecationWarning,
pytensor/tensor/signal/pool.py:409:                    category=DeprecationWarning,
pytensor/tensor/signal/pool.py:426:                    category=DeprecationWarning,
pytensor/tensor/signal/pool.py:1040:                    category=DeprecationWarning,
pytensor/tensor/signal/pool.py:1058:                    category=DeprecationWarning,
pytensor/tensor/signal/pool.py:1074:                    category=DeprecationWarning,
pytensor/tensor/slinalg.py:868:            warn(msg, DeprecationWarning, stacklevel=2)
pytensor/tensor/subtensor_opt.py:6:    DeprecationWarning,
pytensor/tensor/type.py:98:                DeprecationWarning,
pytensor/tensor/type.py:127:                DeprecationWarning,
pytensor/utils.py:153:    when the function is used first time and filter is set for show DeprecationWarning.
pytensor/utils.py:173:                    category=DeprecationWarning,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions