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

update sqlparse to be in line with dbt-core #768

Merged
merged 7 commits into from Apr 18, 2024

Conversation

McKnight-42
Copy link
Contributor

@McKnight-42 McKnight-42 commented Apr 17, 2024

resolves #
docs dbt-labs/docs.getdbt.com/#

Problem

we pinned sqlparse to not go out of range of dbt-core and they recently upgraded we are raising pin to stay in line

similar issue seen in dbt-postgres when migrating tests from that repo back to adapters/core dbt-labs/dbt-core#9951

Solution

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@McKnight-42 McKnight-42 self-assigned this Apr 17, 2024
@cla-bot cla-bot bot added the cla:yes label Apr 17, 2024
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-redshift contributing guide.

@zwallacedev
Copy link

Anything we can do to prioritize this merge?

@colin-rogers-dbt colin-rogers-dbt enabled auto-merge (squash) April 18, 2024 18:25
@colin-rogers-dbt colin-rogers-dbt merged commit 663b8ed into main Apr 18, 2024
36 of 54 checks passed
@colin-rogers-dbt colin-rogers-dbt deleted the mcknight/sqlparse-update branch April 18, 2024 18:55
@colin-rogers-dbt colin-rogers-dbt added backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch labels Apr 18, 2024
Copy link
Contributor

The backport to 1.7.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.7.latest 1.7.latest
# Navigate to the new working tree
cd .worktrees/backport-1.7.latest
# Create a new branch
git switch --create backport-768-to-1.7.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.7.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.7.latest

Then, create a pull request where the base branch is 1.7.latest and the compare/head branch is backport-768-to-1.7.latest.

Copy link
Contributor

The backport to 1.6.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.6.latest 1.6.latest
# Navigate to the new working tree
cd .worktrees/backport-1.6.latest
# Create a new branch
git switch --create backport-768-to-1.6.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.6.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.6.latest

Then, create a pull request where the base branch is 1.6.latest and the compare/head branch is backport-768-to-1.6.latest.

@McKnight-42 McKnight-42 added backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch and removed backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch labels Apr 18, 2024
Copy link
Contributor

The backport to 1.6.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.6.latest 1.6.latest
# Navigate to the new working tree
cd .worktrees/backport-1.6.latest
# Create a new branch
git switch --create backport-768-to-1.6.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.6.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.6.latest

Then, create a pull request where the base branch is 1.6.latest and the compare/head branch is backport-768-to-1.6.latest.

Copy link
Contributor

The backport to 1.7.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.7.latest 1.7.latest
# Navigate to the new working tree
cd .worktrees/backport-1.7.latest
# Create a new branch
git switch --create backport-768-to-1.7.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.7.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.7.latest

Then, create a pull request where the base branch is 1.7.latest and the compare/head branch is backport-768-to-1.7.latest.

@McKnight-42 McKnight-42 added backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch and removed backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch labels Apr 18, 2024
Copy link
Contributor

The backport to 1.6.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.6.latest 1.6.latest
# Navigate to the new working tree
cd .worktrees/backport-1.6.latest
# Create a new branch
git switch --create backport-768-to-1.6.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.6.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.6.latest

Then, create a pull request where the base branch is 1.6.latest and the compare/head branch is backport-768-to-1.6.latest.

@colin-rogers-dbt colin-rogers-dbt added the backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch label Apr 18, 2024
Copy link
Contributor

The backport to 1.7.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.7.latest 1.7.latest
# Navigate to the new working tree
cd .worktrees/backport-1.7.latest
# Create a new branch
git switch --create backport-768-to-1.7.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 663b8edfb1d1f36e5014e9a2e9455dc771bdb722
# Push it to GitHub
git push --set-upstream origin backport-768-to-1.7.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.7.latest

Then, create a pull request where the base branch is 1.7.latest and the compare/head branch is backport-768-to-1.7.latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.6.latest Tag for PR to be backported to the 1.6.latest branch backport 1.7.latest Tag for PR to be backported to the 1.7.latest branch cla:yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants