diff --git a/.riot/requirements/16ebde6.txt b/.riot/requirements/16ebde6.txt deleted file mode 100644 index 497357b5a92..00000000000 --- a/.riot/requirements/16ebde6.txt +++ /dev/null @@ -1,24 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile --no-annotate .riot/requirements/16ebde6.in -# -attrs==25.3.0 -click==8.2.1 -coverage[toml]==7.8.2 -exceptiongroup==1.3.0 -hypothesis==6.45.0 -iniconfig==2.1.0 -mock==5.2.0 -opentracing==2.4.0 -packaging==25.0 -pluggy==1.6.0 -pygments==2.19.1 -pytest==8.4.0 -pytest-cov==6.1.1 -pytest-mock==3.14.1 -slotscheck==0.17.0 -sortedcontainers==2.4.0 -tomli==2.2.1 -typing-extensions==4.14.0 diff --git a/pyproject.toml b/pyproject.toml index 967cedcfe69..608cc6ecd53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -154,50 +154,6 @@ exclude = [ ".worktrees", ] -[tool.slotscheck] -exclude-modules = ''' -( - ^ddtrace.(contrib|vendor) - | ^tests.(contrib|vendor) - # avoid sitecustomize modules as they start services - | ddtrace.bootstrap.sitecustomize - | ddtrace.openfeature - | ddtrace.internal.openfeature - | ddtrace.profiling.bootstrap.sitecustomize - | ddtrace.profiling.auto - # also ignore preload module to avoid exception after moving ddtrace.tracing module - | ddtrace.bootstrap.preload - # protobuf file fails to import - | tests.profiling.collector.pprof_3_pb2 - | tests.profiling.collector.pprof_312_pb2 - | tests.profiling.collector.pprof_319_pb2 - | tests.profiling.collector.pprof_421_pb2 - # TODO: resolve slot inheritance issues with profiling - | ddtrace.profiling.collector - | ddtrace.profiling._gevent - | ddtrace,appsec,iast,_taint_tracking.vendor - | ddtrace.appsec._ddwaf.ddwaf_types - | ddtrace.appsec._iast._taint_tracking - | ddtrace.appsec._iast._ast.aspects - | ddtrace.appsec._iast._taint_utils - | ddtrace.appsec._iast.taint_sinks.sql_injection - # DSM specific contribs - | ddtrace.internal.datastreams.kafka - # libdd_wrapper is a common native dependency, not a module - | ddtrace.internal.datadog.profiling.libdd_wrapper - # _ddup and _stack_v2 miss a runtime dependency in slotscheck, but ddup and stack_v2 are fine - | ddtrace.internal.datadog.profiling.ddup._ddup - | ddtrace.internal.datadog.profiling.stack_v2._stack_v2 - # coverage has version-specific checks that prevent import - | ddtrace.internal.coverage.instrumentation_py3_8 - | ddtrace.internal.coverage.instrumentation_py3_10 - | ddtrace.internal.coverage.instrumentation_py3_11 - | ddtrace.internal.coverage.instrumentation_py3_12 - | ddtrace.internal.coverage.instrumentation_py3_13 - | ddtrace.internal.coverage.instrumentation_py3_14 -) -''' - [tool.bandit] targets = ["ddtrace/"] @@ -280,6 +236,7 @@ lint.select = [ "F", "G", "I", + "PLW0244", # redefined-slots-in-subclass "W", ] lint.unfixable =[ diff --git a/riotfile.py b/riotfile.py index 112cab74662..11bef8d7862 100644 --- a/riotfile.py +++ b/riotfile.py @@ -128,12 +128,6 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT "DD_CIVISIBILITY_FLAKY_RETRY_ENABLED": "0", }, ), - Venv( - name="slotscheck", - command="python -m slotscheck -v ddtrace/", - pys=["3.10"], - pkgs={"slotscheck": "==0.17.0"}, - ), Venv( name="build_docs", command="scripts/docs/build.sh", diff --git a/tests/suitespec.yml b/tests/suitespec.yml index 245c21d1a95..e7295183140 100644 --- a/tests/suitespec.yml +++ b/tests/suitespec.yml @@ -218,12 +218,6 @@ suites: parallelism: 2 runner: riot pattern: ^lib_injection$ - slotscheck: - parallelism: 1 - paths: - - 'ddtrace/**/*.py' - runner: riot - snapshot: false runtime: paths: - '@bootstrap'