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 Railz: Migrate to manifest-only format #47244

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

btkcodedev
Copy link
Collaborator

@btkcodedev btkcodedev commented Oct 22, 2024

What

Closes https://github.com/airbytehq/airbyte-internal-issues/issues/11026
Source Railz: Migrate to manifest-only formats with components

How

Migrated to inline schemas
Migrated spec
Migrated to manifest only with ci

Migration report

image

Copy link

vercel bot commented Oct 22, 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 Jan 17, 2025 9:25pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/railz labels Oct 22, 2024
@btkcodedev
Copy link
Collaborator Author

btkcodedev commented Oct 22, 2024

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (ea45a77)

@octavia-squidington-iv octavia-squidington-iv requested a review from a team October 22, 2024 18:00
@btkcodedev btkcodedev self-assigned this Oct 22, 2024
@btkcodedev btkcodedev requested a review from DanyloGL December 6, 2024 23:23
@btkcodedev
Copy link
Collaborator Author

All checks passed!
Please approve to merge @DanyloGL

@btkcodedev
Copy link
Collaborator Author

btkcodedev commented Jan 16, 2025

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (ca664d2)

@btkcodedev
Copy link
Collaborator Author

btkcodedev commented Jan 16, 2025

/format-fix

Format-fix job started... Check job output.

🟦 Job completed successfully (no changes).

@DanyloGL
Copy link
Collaborator

@btkcodedev looks nice, but as I can see we still have components file but unit tests were removed?

@btkcodedev
Copy link
Collaborator Author

btkcodedev commented Jan 17, 2025

The freezegun package from freeze time is shown as not found. I've tried to add and it was already in the failing category. @DanyloGL
I'll try to add those again

@btkcodedev
Copy link
Collaborator Author

@DanyloGL I tried to import freezegun, Error:

unit_tests/test_components.py:5: in <module>
    from freezegun import freeze_time
E   ModuleNotFoundError: No module named 'freezegun'

But I could clearly see it is there in my pyproject.toml and poetry.lock

@btkcodedev
Copy link
Collaborator Author

What do you want me to do as next step?

@btkcodedev
Copy link
Collaborator Author

Or if the shortlivedcomponent bearer token test is not necessary we could remove it.

Copy link
Contributor

@natikgadzhi natikgadzhi left a comment

Choose a reason for hiding this comment

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

BUmping the CDK version in unit tests pyproject.toml should solve the problem ;)

@@ -20,6 +20,7 @@ python = "^3.9,<3.12"
airbyte-cdk = "^0"
Copy link
Contributor

Choose a reason for hiding this comment

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

@btkcodedev I think this is the problem — this has to be a more recent version, go for ^6.

@@ -29,3 +30,8 @@ pytest-mock = "^3.6.1"
requests-mock = "^1.9.3"
pytest = "^6.2"
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need it here anymore, I would remove it. Or update to pytest 6. I think you can remove the whole section for dev dependencies.

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/railz
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants