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

fix: add test for multiple identical schema messages #220

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

sebastianswms
Copy link
Contributor

@sebastianswms sebastianswms commented Oct 30, 2023

SDK bump
Pytest for multiple identical schema messages don't log "schema changed"

This doesn't directly address the problems in #124 because they have already been solved elsewhere. It merely ensures the tap uses an SDK version with the fix, and also adds a test to check that the behavior described in #124 won't happen again.

Closes #124

Pytest for multiple identical schema messages don't log "schema changed"
Copy link
Member

@visch visch left a comment

Choose a reason for hiding this comment

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

I Like the simple test, remove the SDK change and we are good to go!

pyproject.toml Outdated
@@ -33,7 +33,7 @@ packages = [
[tool.poetry.dependencies]
python = "<3.12,>=3.7.1"
requests = "^2.25.1"
singer-sdk = ">=0.28,<0.34"
singer-sdk = ">=0.31,<0.34"
Copy link
Member

Choose a reason for hiding this comment

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

This is handled automatically by Depandabot PRs here we should probably just leave this be as I don't see a big value in bumping up the lower end of the singer-sdk range right now (Generally Poetry should just pull the latest SingerSDK version so maybe there's an argument for not having a range but that's pretty seperate

#199

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My logic was that 0.31 is the version that merged meltano/sdk#1864 which was mentioned as a fix for #124. But if Dependabot is handling it, that makes sense.

@sebastianswms sebastianswms changed the title fix: bump sdk and add test for multiple identical schema messages fix: add test for multiple identical schema messages Nov 6, 2023
@visch visch merged commit 937cb8a into MeltanoLabs:main Nov 27, 2023
7 checks passed
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.

FATAL: sorry, too many clients already
2 participants