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

Relax Dependencies for Better Compatibility with Other Projects #112

Merged
merged 3 commits into from
Jul 12, 2023

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Jul 11, 2023

Resolves #111

Description

Please see linked issue.

Checklist

@cla-bot cla-bot bot added the cla:yes label Jul 11, 2023
@plypaul plypaul requested a review from QMalcolm July 11, 2023 21:12
pyproject.toml Outdated
"typing-extensions~=4.6.1",
"more-itertools~=8.0",
"Jinja2~=3.0",
"click>=7.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should probably cap click if we're specifying >= I think we support 8.x so perhaps "click>=7.0,<9.0"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't have much context on the click dependency, but made that update.

"importlib_metadata==6.6.0",
"typing-extensions~=4.6.1",
"more-itertools~=8.0",
"Jinja2~=3.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we certain this is not too flexible? I think we are probably ok here since this will always be brought into dbt and Metricflow packages which will have their own restrictions, but I'm wondering if Jinja 3.2 could possibly include a breaking change for us

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a little hard to verify all package version combinations, so I figure going by tests in dbt / MF is reasonably sufficient.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, if 3.2 includes a breaking change, it wouldn't be considered compatible with 3.0?

@plypaul plypaul merged commit 1307550 into main Jul 12, 2023
7 checks passed
@plypaul plypaul deleted the plypaul--42--relax-deps branch July 12, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Relax Dependencies for Better Compatibility with Other Projects
3 participants