Skip to content

indicative incompatibility error#791

Merged
Maayan-s merged 2 commits intomasterfrom
indicative_incompatibiliy_exception
Apr 11, 2023
Merged

indicative incompatibility error#791
Maayan-s merged 2 commits intomasterfrom
indicative_incompatibiliy_exception

Conversation

@Maayan-s
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

👋 @Maayan-s
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@Maayan-s Maayan-s requested a review from elongl March 30, 2023 16:57
)
return

logger.info(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should just drop this log?
I tend to think that it's more confusing to the user rather than valuable information.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this, but it could help us when debugging problems for users.
Also, I think that when they run the tool it's overall positive that they see progress and don't think it's stuck.

logger.warning(
f"You are using incompatible versions between edr ({py_pkg_ver}) and Elementary's dbt package ({dbt_pkg_ver}).\n "
"To fix please run:\n"
"pip install elementary-data --upgrade\n",
Copy link
Copy Markdown
Contributor

@elongl elongl Apr 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip install [options] <requirement specifier> [package-index-options] ...

The --upgrade needs to be before the package name.

Suggested change
"pip install elementary-data --upgrade\n",
"pip install --upgrade elementary-data\n",

@Maayan-s Maayan-s merged commit 3335eed into master Apr 11, 2023
@Maayan-s Maayan-s deleted the indicative_incompatibiliy_exception branch April 11, 2023 07:30
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.

2 participants