elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Loosen the version constrain of the click package

Open yu-iskw opened this issue 1 year ago • 0 comments

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

yu-iskw avatar Apr 12 '24 00:04 yu-iskw