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

[connector-templates] Switch python destination template to generate pyproject.toml instead of setup.py and requirements.txt #37457

Merged
merged 2 commits into from
Apr 20, 2024

Conversation

szemek
Copy link
Contributor

@szemek szemek commented Apr 20, 2024

What

Implements #37420

How

setup.py and requirements.txt replaced with pyproject.toml. Some extra changes are included to make it more similar with source connector.

Review guide

  1. airbyte-integrations/connector-templates/destination-python/pyproject.toml.hbs
  2. airbyte-integrations/connector-templates/destination-python/README.md.hbs
  3. other files 😉

User Impact

Changes affect only connector developers using destination-python template.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

…pyproject.toml instead of setup.py and requirements.txt

Implements airbytehq#37420
@szemek szemek requested a review from a team as a code owner April 20, 2024 09:17
Copy link

vercel bot commented Apr 20, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 20, 2024 4:21pm

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.

Really nice work, @szemek! Thank you for cleaning this up.
Suggestion is very nit, I'll merge as is.

@@ -0,0 +1,3 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it have to be hbs, or can it just be json file? No customization in here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Honestly I think you can delete the file for now. Yes, we want credentials ideally, but no, destination acceptance tests are really not yet positioned to have good end to end tests. /cc @aaronsteers

@natikgadzhi natikgadzhi merged commit 614e15f into airbytehq:master Apr 20, 2024
23 of 25 checks passed
@szemek szemek deleted the connector-templates-pyproject branch April 22, 2024 06:46
strosek pushed a commit that referenced this pull request Apr 24, 2024
…pyproject.toml instead of setup.py and requirements.txt (#37457)

Co-authored-by: Natik Gadzhi <natik@respawn.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants