Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix versioning #20

Closed
gliter opened this issue Nov 25, 2022 · 1 comment
Closed

Fix versioning #20

gliter opened this issue Nov 25, 2022 · 1 comment

Comments

@gliter
Copy link
Collaborator

gliter commented Nov 25, 2022

DBT adapter plugins should have version that is inline with dbt-core version.
Or should declare DBT version dependency in another way than depending on own version.

Current setup.py

# require a compatible minor version (~=), prerelease if this is a prerelease
def _get_dbt_core_version():
    parts = _get_plugin_version_dict()
    minor = "{major}.{minor}.0".format(**parts)
    pre = parts["prekind"] + "1" if parts["prekind"] else ""
    return f"{minor}{pre}"
@kalondar
Copy link
Collaborator

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants