airbytehq / airbytehq/PyAirbyte

We should give guidance to users when they get the error that the CDK version is not new enough

Aperta
#309 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
344
Fork
77
Merge medio
1g 11h
PR unite (30g)
35

Descrizione

Building a connector in builder uses the latest version of the CDK, and the manifest will include that CDK version in the yaml. Then, when running that connector in PyAirbyte, it will complain that the version is higher than the version of the CDK we are running.

The fix/workaround is for the user to downgrade the version number. In most cases, they can do this without breaking compatibility - except in the case they are using some Builder features or CDK features that were not available in the prior version.

As a longer-term solution, we could:
- Change this to a warning instead of a hard failure.
- Modify the error message to explicitly recommend downgrading the version.
- Use a different versioning scheme in the connector's yaml - for instance, providing a major version number, or listing min version and recommended version as separate fields, etc.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.