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

Pin SQLAlchemy to at least v1.4 #733

Merged
merged 1 commit into from
Jul 21, 2022
Merged

Pin SQLAlchemy to at least v1.4 #733

merged 1 commit into from
Jul 21, 2022

Conversation

joshpoll
Copy link
Contributor

Fix LIN-496

Inspector.has_table doesn't exist until version 1.4.

(note: on versions below 1.4 we could use Engine.has_table instead)

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

`Inspector.has_table` doesn't exist until version 1.4.

(note: on versions below 1.4 we could use `Engine.has_table` instead)
@joshpoll joshpoll requested a review from yifanwu July 20, 2022 19:06
Copy link
Contributor

@yifanwu yifanwu left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -43,7 +43,7 @@ def version(path):
minimal_requirement = [
"click>=8.0.0",
"pydantic",
"SQLAlchemy",
"SQLAlchemy>=1.4",
Copy link
Contributor

Choose a reason for hiding this comment

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

Sometimes we also need to update requirements.txt when changing setup.py, but seems like the requirements.txt is already compliant
https://github.com/LineaLabs/lineapy/blob/main/requirements.txt#L42

@joshpoll joshpoll merged commit 61611ab into main Jul 21, 2022
@lionsardesai lionsardesai deleted the lin-496 branch September 19, 2022 16:26
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