1
0
mirror of synced 2025-12-25 02:09:19 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/pyproject.toml
octavia-bot[bot] 9b68e052e7 🐙 source-github: release 1.9.1 (#68197)
The release candidate version 1.9.1-rc.1 has been deemed stable and is
now ready to be promoted to an official release (1.9.1). This PR will be
automatically merged as part of the `auto-merge` workflow. This workflow
runs every 2 hours.

> [!IMPORTANT]
> **Auto-merge enabled.**
> 
> _This PR is set to merge automatically when all requirements are met._

Co-authored-by: octavia-bot[bot] <108746235+octavia-bot[bot]@users.noreply.github.com>
2025-10-20 14:09:33 -04:00

48 lines
1.5 KiB
TOML

[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
version = "1.9.1"
name = "source-github"
description = "Source implementation for GitHub."
authors = [ "Airbyte <contact@airbyte.io>",]
license = "ELv2"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/github"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
[[tool.poetry.packages]]
include = "source_github"
[tool.poetry.dependencies]
python = "^3.10,<3.12"
airbyte-cdk = "^7.3.4"
sgqlc = "==16.3"
[tool.poetry.scripts]
source-github = "source_github.run:run"
[tool.poetry.group.dev.dependencies]
requests-mock = "^1.9.3"
freezegun = "^1.2"
pytest-mock = "^3.6.1"
pytest = "^8.0.0"
responses = "^0.23.1"
[tool.poe]
include = [
# Shared tasks definition file(s) can be imported here.
# Run `poe` or `poe --help` to see the list of available tasks.
"${POE_GIT_DIR}/poe-tasks/poetry-connector-tasks.toml",
]
[tool.poe.tasks]
# This overrides the default task for running unit tests specifically for the source-github connector.
# This is a workaround to an issue that arises when running all of the unit tests in one execution of pytest
# due to incompatibilities between request mocking libraries requests-mock and responses.
test-unit-tests.shell = '''
poetry run pytest --junitxml=build/test-results/pytest-unit-tests-junit.xml --ignore=unit_tests/integration/ unit_tests
poetry run pytest --junitxml=build/test-results/pytest-unit-integration-tests-junit.xml unit_tests/integration/
'''