-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
airbyte ci test to support --extras #36527
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @erohmensing and the rest of your teammates on Graphite |
b3c95d0
to
92c3183
Compare
92c3183
to
936d679
Compare
10b261c
to
2c35681
Compare
@@ -30,6 +30,7 @@ jobs: | |||
with: | |||
# Note: expressions within a filter are OR'ed | |||
filters: | | |||
# This list is duplicated in `pipelines/airbyte_ci/test/__init__.py` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just a note for me when I was working on the upstack PR
There is some weird stuff around keepign this list up to date and also the output of changes being calculated differently from the --modified
flag that we should look into later but I haven't addressed in this stack.
2c35681
to
695f18e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Nit stacking remark: I would have first renamed extra_poetry_groups
to optional_poetry_groups
in a PR and would have introduced the poetry_extras
in a different one.
- What's exactly the difference between groups and extras?
- Is there a way to install everything in a single poetry command instead of having packages to specify the same things?
They are admittedly confusing. Groups are only used to organize dependencies, and the very imporant thing is
Not that I can see. There is no command to install all groups, and installing groups is fundamentally different from installing extras. I guess I don't know if we really need to support groups at all, since we only use |
You are right. I think I originally eagerly implemented this because I did not know that Thanks for the clarification on |
Merge activity
|
Our `airbyte-ci test` command supports [groups](https://python-poetry.org/docs/pyproject/#dependencies-and-dependency-groups) but not [extras](https://python-poetry.org/docs/pyproject/#extras). This PR allows configuring extras to install if necessary (like when running the unit tests in the [upstack PR](https://github.com/airbytehq/airbyte/actions/runs/8446603559/job/23135651978?pr=36497)), and renames to better distinguish between the groups. We probably don't need to include `dev` as an optional group since it's implicitly installed, but I didn't mess with that here, for one because I wanted to test the rename. For usage see [upstack PR.](https://github.com/airbytehq/airbyte/pull/36497/files#diff-1734d8b375bd2fc6fd8419f94ca88aad97eefaf2e78fa548c7379b28fca6456dR97-R101)
Our
airbyte-ci test
command supports groups but not extras. This PR allows configuring extras to install if necessary (like when running the unit tests in the upstack PR), and renames to better distinguish between the groups.We probably don't need to include
dev
as an optional group since it's implicitly installed, but I didn't mess with that here, for one because I wanted to test the rename.For usage see upstack PR.