dbt-labs / dbt-redshift

dbt-redshift contains all of the code enabling dbt to work with Amazon Redshift

Home Page:https://getdbt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] hard pin ddtrace version to 2.3

McKnight-42 opened this issue · comments

Is this a new bug in dbt-redshift?

  • I believe this is a new bug in dbt-redshift
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

for some reason our current requirement setting of ddtrace~=2.3 is installing 2.7.3 which fails for a keyError.

Expected Behavior

tests should pass unless a breaking change is added.

Steps To Reproduce

check dev-requirements to see that ddtrace~=2.3

install into a virtual environment or push a PR up to GitHub.

see ci/cd fail.

Relevant log output

adapter,ddsketch==2.0.4,ddtrace==2.7.3,decorator==5.1.1,Deprecated==1.2.14,distlib==0.3.8,docutils==0.20.1,envier==0.5.1,exceptiongroup==1.2.0,execnet==2.0.2,executing==2.0.1,filelock==3.13.1,flake8==6.1.0,flaky==3.8.1,freezegun==1.4.0,identify==2.5.35,idna==3.6,importlib-metadata==6.11.0,importlib_resources==6.3.1,iniconfig==2.0.0,ipdb==0.13.13,ipython==8.12.3,isodate==0.6.1,jaraco.classes==3.3.1,jedi==0.19.1,jeepney==0.8.0,Jinja2==3.1.3,jmespath==1.0.1,jsonschema==4.21.1,jsonschema-specifications==2023.12.1,keyring==24.3.1,leather==0.4.0,Logbook==1.5.3,lxml==5.1.0,markdown-it-py==3.0.0,MarkupSafe==2.1.5,mashumaro==3.12,matplotlib-inline==0.1.6,mccabe==0.7.0,mdurl==0.1.2,minimal-snowplow-tracker==0.0.2,more-itertools==10.2.0,msgpack==1.0.8,mypy==1.7.1,mypy-extensions==1.0.0,networkx==3.1,nh3==0.2.15,nodeenv==1.8.0,opentelemetry-api==1.23.0,packaging==24.0,parsedatetime==2.6,parso==0.8.3,pathspec==0.11.2,pexpect==4.9.0,pickleshare==0.7.5,pip==24.0,pip-tools==7.4.1,pkginfo==1.10.0,pkgutil_resolve_name==1.3.10,platformdirs==4.2.0,pluggy==1.4.0,pre-commit==3.5.0,pre-commit-hooks==4.5.0,prompt-toolkit==3.0.43,protobuf==4.25.3,psycopg2==2.9.9,ptyprocess==0.7.0,pure-eval==0.2.2,pycodestyle==2.11.1,pycparser==2.21,pydantic==2.6.4,pydantic_core==2.16.3,pyflakes==3.1.0,Pygments==2.17.2,pyproject-api==1.6.1,pyproject_hooks==1.0.0,pytest==7.4.4,pytest-csv==3.0.0,pytest-dotenv==0.5.2,pytest-logbook==1.2.0,pytest-xdist==3.5.0,python-dateutil==2.9.0.post0,python-dotenv==1.0.1,python-slugify==8.0.4,pytimeparse==1.1.8,pytz==2023.4,PyYAML==6.0.1,readme_renderer==43.0,redshift-connector==2.0.918,referencing==0.34.0,requests==2.31.0,requests-toolbelt==1.0.0,rfc3986==2.0.0,rich==13.7.1,rpds-py==0.18.0,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,s3transfer==0.10.1,scramp==1.4.4,SecretStorage==3.3.3,setuptools==69.1.0,six==1.16.0,soupsieve==2.5,sqlparse==0.4.4,stack-data==0.6.3,text-unidecode==1.3,tomli==2.0.1,tox==4.14.1,traitlets==5.14.2,twine==4.0.2,types-pytz==2023.4.0.20240130,types-requests==2.31.0.6,types-urllib3==1.26.25.14,typing_extensions==4.10.0,urllib3==1.26.18,virtualenv==20.25.1,wcwidth==0.2.13,wheel==0.42.0,wrapt==1.16.0,xmltodict==0.13.0,zipp==3.18.1
unit: commands[0]> .tox/unit/bin/python -m pytest tests/unit
/home/runner/work/dbt-redshift/dbt-redshift/.tox/unit/lib/python3.8/site-packages/_pytest/config/__init__.py:331: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: helpconfig, Hook: pytest_cmdline_parse
KeyError: 'http://json-schema.org/draft-03/schema'
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
  config = pluginmanager.hook.pytest_cmdline_parse(


### Environment

```markdown
- OS:
- Python:
- dbt-core:
- dbt-redshift:

Additional Context

No response