-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into maxi297/instantiate-one-stream-per-thread
- Loading branch information
Showing
7 changed files
with
54 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build and/or Publish | ||
name: Python Packaging | ||
|
||
on: | ||
push: | ||
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -22,15 +23,15 @@ jobs: | |
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
contents: write # Needed to upload artifacts to the release | ||
environment: | ||
name: PyPi | ||
url: https://pypi.org/p/airbyte | ||
if: startsWith(github.ref, 'refs/tags/') | ||
name: PyPI | ||
url: "https://pypi.org/p/airbyte-cdk" | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
- name: Upload wheel to release | ||
- name: Attach Wheel to GitHub Release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -39,5 +40,8 @@ jobs: | |
overwrite: true | ||
file_glob: true | ||
|
||
- name: Publish | ||
- name: Publish to PyPI (${{vars.PYPI_PUBLISH_URL}}) | ||
uses: pypa/[email protected] | ||
with: | ||
# Can be toggled at the repository level between `https://upload.pypi.org/legacy/` and `https://test.pypi.org/legacy/` | ||
repository-url: ${{vars.PYPI_PUBLISH_URL}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
|
||
[tool.poetry] | ||
name = "airbyte-cdk" | ||
version = "6.5.2" | ||
description = "A framework for writing Airbyte Connectors." | ||
authors = ["Airbyte <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/airbytehq/airbyte" | ||
repository = "https://github.com/airbytehq/airbyte" | ||
homepage = "https://airbyte.com" | ||
repository = "https://github.com/airbytehq/airbyte-python-cdk" | ||
documentation = "https://docs.airbyte.io/" | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
|
@@ -22,6 +21,11 @@ classifiers = [ | |
] | ||
keywords = ["airbyte", "connector-development-kit", "cdk"] | ||
|
||
# Python CDK uses dynamic versioning: https://github.com/mtkennerly/poetry-dynamic-versioning | ||
version = "0.0.0" # Version will be calculated dynamically. | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
|
@@ -30,6 +34,7 @@ backoff = "*" | |
cachetools = "*" | ||
Deprecated = "~1.2" | ||
dpath = "^2.1.6" | ||
dunamai = "^1.22.0" | ||
genson = "1.2.2" | ||
isodate = "~0.6.1" | ||
Jinja2 = "~3.1.2" | ||
|
This file was deleted.
Oops, something went wrong.