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

Source Google Sheets: address dependency conflict and update CDK #36515

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

ChristoGrab
Copy link
Contributor

@ChristoGrab ChristoGrab commented Mar 26, 2024

What

The CDK version for source Google Sheets was recently unpinned, but it turns out the lock file was silently failing to update the package version above 0.51.8, even when explicitly running poetry update airbyte-cdk. Investigation pointed to the cause being dependencies which come pre-packaged in the CDK also being listed separately in the pyproject file (namely backoff, pydantic, pyYAML and requests).

How

  • Removed dependencies that are included in airbyte-cdk from pyproject file and update poetry.lock
  • Minor variable update in _read method to correctly pass expected AirbyteStream instance to the as_airbyte_message method.

Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 4:39pm

@ChristoGrab ChristoGrab marked this pull request as ready for review March 26, 2024 22:19
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Mar 26, 2024
@octavia-squidington-iv octavia-squidington-iv requested review from a team March 26, 2024 22:20
@@ -12,18 +12,15 @@ readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/google-sheets"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
packages = [ { include = "source_google_sheets"}]
[[tool.poetry.packages]]
Copy link
Contributor Author

@ChristoGrab ChristoGrab Mar 26, 2024

Choose a reason for hiding this comment

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

I changed this line because it didn't match the pattern from other connectors. My understanding is that it's functionally the same given we're only listing a single package, but I figure it's safest to be sticklers for conformity within the poetry setup.

Copy link
Collaborator

@lazebnyi lazebnyi left a comment

Choose a reason for hiding this comment

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

lgtm

@ChristoGrab ChristoGrab merged commit 4ed294b into master Apr 3, 2024
30 checks passed
@ChristoGrab ChristoGrab deleted the christo/google-sheets-cdk branch April 3, 2024 16:56
msaffitz added a commit to Encore-Post-Sales/airbyte-magnify that referenced this pull request Apr 3, 2024
* master: (1562 commits)
  ✨ source-google-drive: migrate to poetry  (airbytehq#36581)
  enable spotbugs for CDK core and dependencies submodule (airbytehq#36612)
  ✨ Source Salesforce, Shopify: add maxSecondsBetweenMessages in metadata (airbytehq#36723)
  java-cdk: re-export airbyte-api dependency (airbytehq#36759)
  Source Google Sheets: address dependency conflict and update CDK (airbytehq#36515)
  Airbyte CI: rename incorrectly named pipelines (airbytehq#36722)
  Source Azure Blob Storage: add integration tests (airbytehq#36542)
  Salesforce: retry on download_data and create_stream_job (airbytehq#36385)
  ✨Source Monday: Bumped CDK version dependency (airbytehq#36746)
  airbyte-ci: burst gradle task cache on new java cdk release (airbytehq#36480)
  chore(connectors): remove tasks.py and top-level requirements.txt (airbytehq#36738)
  airbyte-ci: fix pull-request-number option for migrate_to_base_image (airbytehq#36779)
  🤖 Bump patch version of Python CDK
  add backward compatibility for an old close slice logic (airbytehq#36774)
  Bump Airbyte version from 0.57.0 to 0.57.1
  🤖 Bump patch version of Python CDK
  low-code: Fix cursor pagination instantiation if the stop_condition is a string (airbytehq#36760)
  fix rabbitmq icon and simplify docs registry code (airbytehq#36767)
  Update azure-entra-id.md (airbytehq#36758)
  re-enable rabbitmq on OSS (airbytehq#36749)
  ...
markcusack pushed a commit to markcusack/airbyte that referenced this pull request Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/google-sheets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants