1
0
mirror of synced 2026-01-18 15:02:51 -05:00
Commit Graph

101 Commits

Author SHA1 Message Date
brianjlai
d30560ec6a 🤖 patch bump Python CDK to version 3.4.1 2024-07-12 23:11:31 +00:00
lazebnyi
8382098e54 🤖 minor bump Python CDK to version 3.4.0 2024-07-11 13:19:46 +00:00
lazebnyi
e556bbbefe 🤖 minor bump Python CDK to version 3.3.0 2024-07-10 21:22:06 +00:00
lazebnyi
783c85e476 🤖 patch bump Python CDK to version 3.2.1 2024-07-10 15:54:57 +00:00
lazebnyi
67490ebc48 🤖 minor bump Python CDK to version 3.2.0 2024-07-10 12:04:38 +00:00
lazebnyi
4d32562cb3 🤖 minor bump Python CDK to version 3.1.0 2024-07-10 11:15:37 +00:00
artem1205
d1d365ef17 🤖 major bump Python CDK to version 3.0.0 2024-07-09 10:05:13 +00:00
Boris Staal
1c4ff2ae59 build(airbyte-ci): Test python versions matrix (#40731)
Co-authored-by: Augustin <augustin@airbyte.io>
2024-07-09 11:14:28 +02:00
cmm-airbyte
8be1b6ef1e 🤖 minor bump Python CDK to version 2.4.0 2024-07-08 09:04:15 +00:00
bazarnov
3bc5b512af 🤖 patch bump Python CDK to version 2.3.1 2024-07-08 07:15:32 +00:00
Augustin
1eac62ff3f airbyte-cdk: run poetry check in CI (#39404) 2024-07-05 15:35:37 -07:00
aldogonzalez8
cb6f2c51b3 🤖 minor bump Python CDK to version 2.3.0 2024-07-05 15:52:37 +00:00
aldogonzalez8
2106854ebc 🤖 minor bump Python CDK to version 2.2.0 2024-07-05 15:29:14 +00:00
aldogonzalez8
c3fe18ea9d 🤖 minor bump Python CDK to version 2.1.0 2024-07-05 14:33:38 +00:00
Cristina Mariscal
b9c213a473 CDK: Add jinja macro format_datetime_string (#40744) 2024-07-05 13:19:43 +00:00
erohmensing
7cfb9e9d11 🤖 major bump Python CDK to version 2.0.0 2024-06-21 00:00:47 +00:00
Ella Rohm-Ensing
fc12432305 airbyte-cdk: only update airbyte-protocol-models to pydantic v2 (#39524)
## What

Migrating Pydantic V2 for Protocol Messages to speed up emitting records. This gives us 2.5x boost over V1. 

Close https://github.com/airbytehq/airbyte-internal-issues/issues/8333

## How
- Switch to using protocol models generated for pydantic_v2, in a new (temporary) package, `airbyte-protocol-models-pdv2` .
- Update pydantic dependency of the CDK accordingly to v2.
- For minimal impact, still use the compatibility code `pydantic.v1` in all of our pydantic code from airbyte-cdk that does not interact with the protocol models.

## Review guide
1. Checkout the code and clear your CDK virtual env (either `rm -rf .venv && python -m venv .venv` or `poetry env list; poetry env remove <env>`. This is necessary to fully clean out the `airbyte_protocol` library, for some reason. Then: `poetry lock --no-update && poetry install --all-extras`. This should install the CDK with new models. 
2. Run unit tests on the CDK
3. Take your favorite connector and point it's `pyproject.toml` on local CDK (see example in `source-s3`) and try running it's tests and it's regression tests.

## User Impact

> [!warning]
> This is a major CDK change due to the pydantic dependency change - if connectors use pydantic 1.10, they will break and will need to do similar `from pydantic.v1` updates to get running again. Therefore, we should release this as a major CDK version bump.

## Can this PR be safely reverted and rolled back?
- [x] YES 💚
- [ ] NO 

Even if sources migrate to this version, state format should not change, so a revert should be possible.

## Follow up work - Ella to move into issues

<details>

### Source-s3 - turn this into an issue
- [ ] Update source s3 CDK version and any required code changes
- [ ] Fix source-s3 unit tests
- [ ] Run source-s3 regression tests
- [ ] Merge and release source-s3 by June 21st

### Docs
- [ ] Update documentation on how to build with CDK 

### CDK pieces
- [ ] Update file-based CDK format validation to use Pydantic V2
  - This is doable, and requires a breaking change to change `OneOfOptionConfig`. There are a few unhandled test cases that present issues we're unsure of how to handle so far.
- [ ] Update low-code component generators to use Pydantic V2
  - This is doable, there are a few issues around custom component generation that are unhandled.

### Further CDK performance work - create issues for these
- [ ] Research if we can replace prints with buffered output (write to byte buffer and then flush to stdout)
- [ ] Replace `json` with `orjson`
...

</details>
2024-06-21 01:53:44 +02:00
Augustin
6d42ecafb0 Augustin/protocolv2 (#39863)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to this change.
-->

Separate out the `datamodel-codegen` workflow into a dagger workflow. This enables us to, upstack, properly generate the same v1 models as previously. Unfortunately datamodel-codegen's "pydantic v1" output on its v2 versions doesn't output what one would expect - see [issue](https://github.com/koxudaxi/datamodel-code-generator/issues/1950) (thanks AJ!). 

## How
<!--
* Describe how code changes achieve the solution.
-->
* Convert the script from bash to python (in dagger) and run it via a shell script (to install dagger)

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->
None. Development experience is also the same

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [x] YES 💚
- [ ] NO 
2024-06-21 01:36:43 +02:00
lazebnyi
2ae1e4c2a1 🤖 minor bump Python CDK to version 1.8.0 2024-06-19 23:16:59 +00:00
maxi297
9f95601317 🤖 patch bump Python CDK to version 1.7.3 2024-06-19 14:39:39 +00:00
maxi297
0673e8e01b 🤖 patch bump Python CDK to version 1.7.2 2024-06-19 14:03:14 +00:00
maxi297
fbc4ebbf61 🤖 patch bump Python CDK to version 1.7.1 2024-06-19 13:32:18 +00:00
artem1205
58b7b7faa6 🤖 minor bump Python CDK to version 1.7.0 2024-06-19 09:25:30 +00:00
artem1205
d4492f171b 🤖 minor bump Python CDK to version 1.6.0 2024-06-19 09:15:20 +00:00
maxi297
a026ee203d 🤖 patch bump Python CDK to version 1.5.6 2024-06-19 03:25:14 +00:00
maxi297
ad0abea35e 🤖 patch bump Python CDK to version 1.5.5 2024-06-19 01:57:28 +00:00
maxi297
dc30e1cfd3 🤖 patch bump Python CDK to version 1.5.4 2024-06-19 01:50:28 +00:00
maxi297
92d48432c1 🤖 patch bump Python CDK to version 1.5.3 2024-06-18 21:29:40 +00:00
maxi297
94067de9c1 🤖 patch bump Python CDK to version 1.5.2 2024-06-18 17:02:24 +00:00
artem1205
7c29e4b66e 🤖 patch bump Python CDK to version 1.5.1 2024-06-18 09:38:45 +00:00
pnilan
77af422fcc 🤖 minor bump Python CDK to version 1.5.0 2024-06-18 01:05:35 +00:00
tolik0
60f24cafd0 🤖 minor bump Python CDK to version 1.4.0 2024-06-14 19:56:27 +00:00
maxi297
1900f07a41 🤖 patch bump Python CDK to version 1.3.3 2024-06-11 14:21:10 +00:00
lazebnyi
4d775df68f 🤖 patch bump Python CDK to version 1.3.2 2024-06-10 16:20:04 +00:00
natikgadzhi
a6326a62e7 🤖 patch bump Python CDK to version 1.3.1 2024-06-05 21:04:32 +00:00
tolik0
2e2571d23c 🤖 minor bump Python CDK to version 1.3.0 2024-06-05 13:10:42 +00:00
natikgadzhi
bc8c980f05 🤖 patch bump Python CDK to version 1.2.1 2024-06-03 20:10:42 +00:00
artem1205
55c7587c47 🤖 minor bump Python CDK to version 1.2.0 2024-06-03 15:29:35 +00:00
bindipankhudi
6ab93bbf09 🤖 patch bump Python CDK to version 1.1.3 2024-05-30 17:40:38 +00:00
clnoll
ac0357cbff 🤖 patch bump Python CDK to version 1.1.2 2024-05-29 19:11:51 +00:00
Catherine Noll
b1d575b53f airbyte-cdk: update dpath version for agreement with live tests (#38766) 2024-05-29 14:28:55 -04:00
brianjlai
6062fe18da 🤖 patch bump Python CDK to version 1.1.1 2024-05-24 20:17:23 +00:00
brianjlai
5cf388f78f 🤖 minor bump Python CDK to version 1.1.0 2024-05-22 21:56:18 +00:00
askarpets
5dac10ad29 🤖 patch bump Python CDK to version 1.0.1 2024-05-21 12:13:37 +00:00
girarda
76ab11f8bf 🤖 major bump Python CDK to version 1.0.0 2024-05-20 14:22:06 +00:00
pnilan
b90ba626d5 🤖 minor bump Python CDK to version 0.90.0 2024-05-17 05:27:13 +00:00
girarda
ce408df4bf 🤖 minor bump Python CDK to version 0.89.0 2024-05-15 01:02:31 +00:00
aldogonzalez8
73e5fa7951 🤖 patch bump Python CDK to version 0.88.4 2024-05-14 14:14:00 +00:00
Aldo Gonzalez
e7508a4572 Airbyte CDK: Add delete method to HttpMocker (#38169) 2024-05-14 08:06:18 -06:00
artem1205
5aa04b2b02 🤖 patch bump Python CDK to version 0.88.2 2024-05-10 14:38:10 +00:00