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

Loosen the version constrain of the click package #1489

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yu-iskw
Copy link
Contributor

@yu-iskw yu-iskw commented Apr 12, 2024

Motivation

I got the error message to install elementary in addition to dbt-core. I assume that is caused by the difference of the version constrains of the click package in dbt-core and elememtary. I would expect pip appropriately handle the version constrains in both of dbt-core and elementary. But, sometimes it doesn't work. In my opinion, we are probably loosen the version constrains so that we can also catch up with new releases of click. The latest version is today 8.1.7.

  • pip: 23.3.2
  • dbt-core: 1.7.11
$ pip install 'elementary-data[bigquery]'
...
elementary-data 0.14.0 requires click<8.1.4,>=7.0, but you'll have click 8.1.7 which is incompatible.

https://github.com/dbt-labs/dbt-core/blob/c86cec3256cfeb636d47f21279f3cb689d585439/core/setup.py#L62

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
@yu-iskw yu-iskw marked this pull request as ready for review April 12, 2024 03:45
@yu-iskw
Copy link
Contributor Author

yu-iskw commented May 20, 2024

@oravi Sorry for bothering you. What are your thoughts on the change?

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

Successfully merging this pull request may close these issues.

None yet

1 participant