devel/py-deprecation - The NetBSD Packages Collection

Library to handle automated deprecations

The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests. Together, the two enable the
automation of several things:

1. The docstring of a deprecated method gets the deprecation details appended to
the end of it. If you generate your API docs direct from your source, you don't
need to worry about writing your own notification. You also don't need to worry
about forgetting to write it. It's done for you.

2. Rather than having code live on forever because you only deprecated it but
never actually moved on from it, you can have your tests tell you when it's
time to remove the code. The @deprecated decorator can be told when it's time
to entirely remove the code, which causes @fail_if_not_removed to raise an
AssertionError, causing either your unittest or py.test tests to fail.

Build dependencies

devel/py-setuptools pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/py-packaging lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0aarch64ebpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0alphapy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv4py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv6hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0earmv7hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0i386py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0m68kpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0m68kpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0mips64ebpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sh3elpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparc64py39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy310-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy311-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy312-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy38-deprecation-2.1.0nb1.tgz
NetBSD 10.0sparcpy39-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py310-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py311-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py312-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py38-deprecation-2.1.0nb1.tgz
NetBSD 10.0x86_64py39-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py38-deprecation-2.1.0nb1.tgz
NetBSD 9.0aarch64py39-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0alphapy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv4py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv4py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv4py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv4py39-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv6hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy312-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0earmv7hfpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py38-deprecation-2.1.0nb1.tgz
NetBSD 9.0i386py39-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0m68kpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy312-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy310-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy311-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy312-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy37-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy38-deprecation-2.1.0nb1.tgz
NetBSD 9.0powerpcpy39-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py38-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py39-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0sparc64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py312-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py38-deprecation-2.1.0nb1.tgz
NetBSD 9.0x86_64py39-deprecation-2.1.0nb1.tgz
NetBSD 9.3x86_64py310-deprecation-2.1.0nb1.tgz
NetBSD 9.3x86_64py311-deprecation-2.1.0nb1.tgz
NetBSD 9.3x86_64py312-deprecation-2.1.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.