Skip to content
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

🎉 New source: Pagar.me [python cdk] #18622

Closed

Conversation

sarafonseca-123
Copy link
Contributor

@sarafonseca-123 sarafonseca-123 commented Oct 28, 2022

What

Add a new source, Pagar.me.

How

Using Airbyte's Python CDK.

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the connector is published, connector added to connector index as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here

Tests

Unit image
Integration

Building all of Airbyte.
/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors
Type-safe dependency accessors is an incubating feature.

Configure project :
configuring docker task for airbyte-bootloader
configuring docker task for airbyte-cli
configuring docker task for airbyte-container-orchestrator
configuring docker task for airbyte-cron
configuring docker task for airbyte-server
configuring docker task for airbyte-temporal
configuring docker task for airbyte-webapp
configuring docker task for airbyte-workers
configuring docker task for init
configuring docker task for db-lib
configuring docker task for reporter

Task :airbyte-integrations:bases:source-acceptance-test:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:connectors:source-pagarme:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:bases:base-normalization:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:connectors:source-pagarme:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
---------------------- --------- -----------------------------------------------------------------------------------------
airbyte-cdk 0.4.2
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.7
requests-mock 1.9.3
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
source-pagarme 0.0.0
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:source-acceptance-test:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
--------------------------- --------- ---------------------------------------------------------------------------------------------------
airbyte-cdk 0.4.2
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0rc9
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.6
requests-mock 1.9.3
responses 0.13.4
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0
source-rd-station 0.0.0
source-rd-station-marketing 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-rd-station-marketing
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:base-normalization:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
--------------------------- --------- ---------------------------------------------------------------------------------------------------
airbyte-cdk 0.2.3
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0rc9
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
normalization 0.0.0
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.6
requests-mock 1.9.3
responses 0.13.4
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
source-rd-station 0.0.0
source-rd-station-marketing 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-rd-station-marketing
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
types-PyYAML 6.0.12.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
Skipped 9 files

Task :airbyte-integrations:connectors:source-pagarme:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
All done! ✨ 🍰 ✨
11 files left unchanged.

Task :airbyte-integrations:bases:source-acceptance-test:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
Skipped 6 files

Task :airbyte-integrations:bases:source-acceptance-test:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
All done! ✨ 🍰 ✨
28 files left unchanged.

Task :airbyte-integrations:connectors:source-pagarme:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:bases:base-normalization:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:bases:source-acceptance-test:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:bases:source-acceptance-test:installLocalReqs
[python] .venv/bin/python -m pip install .[dev,tests]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
WARNING: source-acceptance-test 0.0.0 does not provide the extra 'dev'
WARNING: source-acceptance-test 0.0.0 does not provide the extra 'tests'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.4.2)
Requirement already satisfied: docker~=5.0.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.0.3)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.4.1)
Requirement already satisfied: icdiff~=1.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.1)
Requirement already satisfied: inflection~=0.5 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.5.1)
Requirement already satisfied: pdbpp~=0.10 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.10.3)
Requirement already satisfied: pydantic~=1.6 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.2)
Requirement already satisfied: pytest~=6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (6.1.2)
Requirement already satisfied: pytest-sugar~=0.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.9.5)
Requirement already satisfied: pytest-timeout~=1.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.4.2)
Requirement already satisfied: pprintpp~=0.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.4.0)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (2.0.6)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.2.0)
Requirement already satisfied: jsonref==0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.2)
Requirement already satisfied: deepdiff~=5.8.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.8.1)
Requirement already satisfied: requests-mock~=1.9.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.3)
Requirement already satisfied: pytest-mock~=3.6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.6.1)
Requirement already satisfied: pytest-cov~=3.0.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.0.0)
Requirement already satisfied: hypothesis~=6.54.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (6.54.6)
Requirement already satisfied: hypothesis-jsonschema~=0.20.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.20.1)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.2.13)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.2)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.2.1)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.28.1)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (0.9.6)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (3.1.2)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.15.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.8.2)
Requirement already satisfied: ordered-set<4.2.0,>=4.1.0 in ./.venv/lib/python3.10/site-packages (from deepdiff~=5.8.0->source-acceptance-test==0.0.0) (4.1.0)
Requirement already satisfied: websocket-client>=0.32.0 in ./.venv/lib/python3.10/site-packages (from docker~=5.0.3->source-acceptance-test==0.0.0) (1.4.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (22.1.0)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (2.4.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (1.0.0rc9)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (1.16.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (63.4.3)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (0.18.1)
Requirement already satisfied: wmctrl in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (0.4)
Requirement already satisfied: pygments in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (2.13.0)
Requirement already satisfied: fancycompleter>=0.8 in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (0.9.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.6->source-acceptance-test==0.0.0) (4.4.0)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (0.10.2)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (21.3)
Requirement already satisfied: pluggy<1.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (0.13.1)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (1.1.1)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (1.11.0)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov~=3.0.0->source-acceptance-test==0.0.0) (6.3.1)
Requirement already satisfied: termcolor>=1.1.0 in ./.venv/lib/python3.10/site-packages (from pytest-sugar~=0.9->source-acceptance-test==0.0.0) (2.0.1)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from coverage[toml]>=5.2.1->pytest-cov~=3.0.0->source-acceptance-test==0.0.0) (2.0.1)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.14.1)
Requirement already satisfied: pyrepl>=0.8.2 in ./.venv/lib/python3.10/site-packages (from fancycompleter>=0.8->pdbpp~=0.10->source-acceptance-test==0.0.0) (0.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest~=6.1->source-acceptance-test==0.0.0) (3.0.9)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2022.9.24)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2020.1)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.4.4)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.4.3)
Requirement already satisfied: cattrs>=1.8 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (22.2.0)
Using legacy 'setup.py install' for source-acceptance-test, since package 'wheel' is not installed.
Installing collected packages: source-acceptance-test
Attempting uninstall: source-acceptance-test
Found existing installation: source-acceptance-test 0.0.0
Uninstalling source-acceptance-test-0.0.0:
Successfully uninstalled source-acceptance-test-0.0.0
Running setup.py install for source-acceptance-test: started
Running setup.py install for source-acceptance-test: finished with status 'done'
Successfully installed source-acceptance-test-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:base-normalization:isortFormat
Skipped 4 files

Task :airbyte-integrations:bases:base-normalization:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
All done! ✨ 🍰 ✨
24 files left unchanged.

Task :airbyte-integrations:bases:base-normalization:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:connectors:source-pagarme:installReqs
[python] .venv/bin/python -m pip install .[main]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
WARNING: source-pagarme 0.0.0 does not provide the extra 'main'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (0.4.2)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.9.7)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.2.13)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.0.6)
Requirement already satisfied: pydantic~=1.9.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.9.2)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.15.1)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.2)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.1.2)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.2.0)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (5.4.1)
Requirement already satisfied: jsonref~=0.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.2)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.2.1)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.28.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.8.2)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.14.1)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.16.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (63.4.3)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.18.1)
Requirement already satisfied: attrs>=17.4.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.1.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.9.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (4.4.0)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2020.1)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.26.12)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.3)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.4)
Requirement already satisfied: cattrs>=22.2 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.2.0)
Requirement already satisfied: exceptiongroup in ./.venv/lib/python3.10/site-packages (from cattrs>=22.2->requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.0.0)
Using legacy 'setup.py install' for source-pagarme, since package 'wheel' is not installed.
Installing collected packages: source-pagarme
Attempting uninstall: source-pagarme
Found existing installation: source-pagarme 0.0.0
Uninstalling source-pagarme-0.0.0:
Successfully uninstalled source-pagarme-0.0.0
Running setup.py install for source-pagarme: started
Running setup.py install for source-pagarme: finished with status 'done'
Successfully installed source-pagarme-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:installTestReqs
[python] .venv/bin/python -m pip install .[tests]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (0.4.2)
Collecting pytest~=6.2.5
Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
Requirement already satisfied: pytest-mock~=3.6.1 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (3.6.1)
Requirement already satisfied: source-acceptance-test in /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test (from source-pagarme==0.0.0) (0.0.0)
Collecting responses~=0.13.3
Using cached responses-0.13.4-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: requests-mock in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (1.9.3)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.2)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (5.4.1)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.2.13)
Requirement already satisfied: pydantic~=1.9.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.9.2)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.2.1)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.9.7)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.1.2)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.2.0)
Requirement already satisfied: jsonref~=0.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.2)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.0.6)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.28.1)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.15.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.8.2)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (22.1.0)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (1.11.0)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (0.10.2)
Requirement already satisfied: pluggy<2.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (0.13.1)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (21.3)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest~=6.2.5->source-pagarme==0.0.0) (1.1.1)
Requirement already satisfied: six in ./.venv/lib/python3.10/site-packages (from responses~=0.13.3->source-pagarme==0.0.0) (1.16.0)
Requirement already satisfied: urllib3>=1.25.10 in ./.venv/lib/python3.10/site-packages (from responses~=0.13.3->source-pagarme==0.0.0) (1.26.12)
Requirement already satisfied: docker~=5.0.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (5.0.3)
Requirement already satisfied: icdiff~=1.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (1.9.1)
Requirement already satisfied: inflection~=0.5 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.5.1)
Requirement already satisfied: pdbpp~=0.10 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.10.3)
Requirement already satisfied: pytest-sugar~=0.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.9.5)
Requirement already satisfied: pytest-timeout~=1.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (1.4.2)
Requirement already satisfied: pprintpp~=0.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.4.0)
Requirement already satisfied: deepdiff~=5.8.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (5.8.1)
Requirement already satisfied: pytest-cov~=3.0.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (3.0.0)
Requirement already satisfied: hypothesis~=6.54.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (6.54.6)
Requirement already satisfied: hypothesis-jsonschema~=0.20.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.20.1)
Requirement already satisfied: ordered-set<4.2.0,>=4.1.0 in ./.venv/lib/python3.10/site-packages (from deepdiff~=5.8.0->source-acceptance-test->source-pagarme==0.0.0) (4.1.0)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.14.1)
Requirement already satisfied: websocket-client>=0.32.0 in ./.venv/lib/python3.10/site-packages (from docker~=5.0.3->source-acceptance-test->source-pagarme==0.0.0) (1.4.1)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test->source-pagarme==0.0.0) (2.4.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test->source-pagarme==0.0.0) (1.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (63.4.3)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.18.1)
Requirement already satisfied: fancycompleter>=0.8 in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.9.1)
Requirement already satisfied: wmctrl in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.4)
Requirement already satisfied: pygments in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (2.13.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.9.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (4.4.0)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov~=3.0.0->source-acceptance-test->source-pagarme==0.0.0) (6.3.1)
Requirement already satisfied: termcolor>=1.1.0 in ./.venv/lib/python3.10/site-packages (from pytest-sugar~=0.9->source-acceptance-test->source-pagarme==0.0.0) (2.0.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest~=6.2.5->source-pagarme==0.0.0) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2020.1)
Requirement already satisfied: cattrs>=22.2 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.2.0)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.3)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.4)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from coverage[toml]>=5.2.1->pytest-cov~=3.0.0->source-acceptance-test->source-pagarme==0.0.0) (2.0.1)
Requirement already satisfied: pyrepl>=0.8.2 in ./.venv/lib/python3.10/site-packages (from fancycompleter>=0.8->pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.9.0)
Using legacy 'setup.py install' for source-pagarme, since package 'wheel' is not installed.
Installing collected packages: pytest, source-pagarme, responses
Attempting uninstall: pytest
Found existing installation: pytest 6.1.2
Uninstalling pytest-6.1.2:
Successfully uninstalled pytest-6.1.2
Attempting uninstall: source-pagarme
Found existing installation: source-pagarme 0.0.0
Uninstalling source-pagarme-0.0.0:
Successfully uninstalled source-pagarme-0.0.0
Running setup.py install for source-pagarme: started
Running setup.py install for source-pagarme: finished with status 'done'
Successfully installed pytest-6.2.5 responses-0.13.4 source-pagarme-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:_unitTestCoverage
[python] .venv/bin/python -m coverage run --data-file=unit_tests/.coverage.unitTest --rcfile=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml -m pytest -s unit_tests -c /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml
============================= test session starts ==============================
platform darwin -- Python 3.10.8, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.hypothesis/examples')
rootdir: /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/unit_tests, configfile: ../../../../pyproject.toml
plugins: hypothesis-6.54.6, sugar-0.9.5, requests-mock-1.9.3, mock-3.6.1, timeout-1.4.2, cov-3.0.0
collecting ... collected 18 items

     unit_tests/test_incremental_streams.py::test_cursor_field PASSED
     unit_tests/test_incremental_streams.py::test_get_updated_state PASSED
     unit_tests/test_incremental_streams.py::test_stream_slices PASSED
     unit_tests/test_incremental_streams.py::test_supports_incremental PASSED
     unit_tests/test_incremental_streams.py::test_source_defined_cursor PASSED
     unit_tests/test_incremental_streams.py::test_stream_checkpoint_interval PASSED
     unit_tests/test_source.py::test_check_connection PASSED
     unit_tests/test_source.py::test_streams PASSED
     unit_tests/test_streams.py::test_request_params PASSEDrage
     unit_tests/test_streams.py::test_next_page_token PASSED
     unit_tests/test_streams.py::test_parse_response PASSED
     unit_tests/test_streams.py::test_request_headers PASSED
     unit_tests/test_streams.py::test_http_method PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.OK-False] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.BAD_REQUEST-False] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.TOO_MANY_REQUESTS-True] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.INTERNAL_SERVER_ERROR-True] PASSED
     unit_tests/test_streams.py::test_backoff_time PASSED
     
     =============================== warnings summary ===============================
     test_incremental_streams.py: 6 warnings
     test_source.py: 14 warnings
     test_streams.py: 10 warnings
       /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/http.py:43: DeprecationWarning: Call to deprecated class NoAuth. (Set `authenticator=None` instead) -- Deprecated since version 0.1.20.
         self._authenticator: HttpAuthenticator = NoAuth()
     
     test_incremental_streams.py: 6 warnings
     test_source.py: 14 warnings
     test_streams.py: 10 warnings
       /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/deprecated/classic.py:173: DeprecationWarning: Call to deprecated class HttpAuthenticator. (Use requests.auth.AuthBase instead) -- Deprecated since version 0.1.20.
         return old_new1(cls, *args, **kwargs)
     
     -- Docs: https://docs.pytest.org/en/stable/warnings.html
     ======================= 18 passed, 60 warnings in 6.78s ========================

Task :airbyte-integrations:connectors:source-pagarme:unitTest
Name Stmts Miss Cover


source_pagarme/init.py 2 0 100%
source_pagarme/source.py 18 2 89%
source_pagarme/streams.py 113 23 80%

TOTAL 133 25 81%

Task :airbyte-integrations:connectors:source-pagarme:airbyteDocker
Execution optimizations have been disabled for task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' to ensure correctness due to the following reasons:

  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:compileTestJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:pmdMain' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:pmdTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:processTestResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:spotbugsMain' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:spotbugsTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
    checkin catalogs #1 [internal] load build definition from Dockerfile
    checkin catalogs #1 sha256:a6649410914dc037b645dee3c03ab5cdd87cc3a725127a494d7af5e98442d51b
    checkin catalogs #1 transferring dockerfile: 37B done
    checkin catalogs #1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:cf5b3ab111e1f8b3146b5e71a9f3c7dd29722534f6df0d5692e0926bc2534468
#2 transferring context: 34B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/python:3.9.11-alpine3.15
#3 sha256:615609793cad3a170d91fb8a37323caa348ca31e0a749e824da4c8c1d8da2aa4
#3 DONE 2.1s

#4 [base 1/1] FROM docker.io/library/python:3.9.11-alpine3.15@sha256:45ddd216e6b4efee0617e15d541e9148ffd6898203fcbe86a9f5bf906ce7837f
#4 sha256:4c436ac5d39299d948ef79080102d272b18d64395fbed9cc821104f1e2bd7d93
#4 DONE 0.0s

#7 [internal] load build context
#7 sha256:ac53c14be86f38833ba2a7a1e8c30f2669275b4ab658461771964321fed8107f
#7 transferring context: 18.07kB done
#7 DONE 0.0s

#5 [builder 1/4] WORKDIR /airbyte/integration_code
#5 sha256:736c564b6c0d634b064a8145fffebbf56c57a10eea338e59977586dee56a7251
#5 CACHED

#6 [builder 2/4] RUN apk --no-cache upgrade && pip install --upgrade pip && apk --no-cache add tzdata build-base
#6 sha256:fddd1028d4c855a19a9d12c308b03a65954965cf7ce3303f4d640a7d59aba08d
#6 CACHED

#8 [builder 3/4] COPY setup.py ./
#8 sha256:b2a0e9b65e4c3f1109e2ff0c059a779415eb7662d8c8c1fb10137bb04b6a4db1
#8 DONE 0.0s

#9 [builder 4/4] RUN pip install --prefix=/install .
#9 sha256:11966c612c8376ff87c7cb008be6edbf8b0f034e761eb4853219805e0457519a
#9 1.026 Processing /airbyte/integration_code
#9 1.028 Preparing metadata (setup.py): started
#9 1.471 Preparing metadata (setup.py): finished with status 'done'
#9 1.820 Collecting airbyte-cdk~=0.2
#9 2.136 Downloading airbyte_cdk-0.4.2-py3-none-any.whl (246 kB)
#9 2.293 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.6/246.6 kB 1.6 MB/s eta 0:00:00
#9 2.405 Collecting requests
#9 2.440 Downloading requests-2.28.1-py3-none-any.whl (62 kB)
#9 2.462 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.9 MB/s eta 0:00:00
#9 2.547 Collecting PyYAML~=5.4
#9 2.601 Downloading PyYAML-5.4.1.tar.gz (175 kB)
#9 2.646 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 4.0 MB/s eta 0:00:00
#9 2.873 Installing build dependencies: started
#9 6.855 Installing build dependencies: finished with status 'done'
#9 6.857 Getting requirements to build wheel: started
#9 8.087 Getting requirements to build wheel: finished with status 'done'
#9 8.092 Preparing metadata (pyproject.toml): started
#9 8.525 Preparing metadata (pyproject.toml): finished with status 'done'
#9 8.599 Collecting jsonschema~=3.2.0
#9 8.637 Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
#9 8.650 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 5.4 MB/s eta 0:00:00
#9 8.710 Collecting Jinja2~=3.1.2
#9 8.745 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
#9 8.805 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 2.2 MB/s eta 0:00:00
#9 8.843 Collecting jsonref~=0.2
#9 8.865 Downloading jsonref-0.3.0-py3-none-any.whl (8.8 kB)
#9 9.065 Collecting dataclasses-jsonschema==2.15.1
#9 9.088 Downloading dataclasses_jsonschema-2.15.1-py3-none-any.whl (17 kB)
#9 9.148 Collecting Deprecated~=1.2
#9 9.172 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
#9 9.238 Collecting backoff
#9 9.268 Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
#9 9.364 Collecting pendulum
#9 9.389 Downloading pendulum-2.1.2.tar.gz (81 kB)
#9 9.415 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.2/81.2 kB 3.1 MB/s eta 0:00:00
#9 9.463 Installing build dependencies: started
#9 10.97 Installing build dependencies: finished with status 'done'
#9 10.98 Getting requirements to build wheel: started
#9 11.10 Getting requirements to build wheel: finished with status 'done'
#9 11.10 Preparing metadata (pyproject.toml): started
#9 11.44 Preparing metadata (pyproject.toml): finished with status 'done'
#9 11.62 Collecting pydantic~=1.9.2
#9 11.66 Downloading pydantic-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl (12.5 MB)
#9 14.59 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 MB 4.5 MB/s eta 0:00:00
#9 14.85 Collecting dpath~=2.0.1
#9 14.90 Downloading dpath-2.0.6-py3-none-any.whl (15 kB)
#9 15.18 Collecting requests-cache
#9 15.21 Downloading requests_cache-0.9.7-py3-none-any.whl (48 kB)
#9 15.23 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 7.5 MB/s eta 0:00:00
#9 15.32 Collecting python-dateutil
#9 15.35 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
#9 15.42 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 3.7 MB/s eta 0:00:00
#9 15.61 Collecting wrapt<2,>=1.10
#9 15.63 Downloading wrapt-1.14.1-cp39-cp39-musllinux_1_1_x86_64.whl (82 kB)
#9 15.67 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.3/82.3 kB 2.0 MB/s eta 0:00:00
#9 15.77 Collecting MarkupSafe>=2.0
#9 15.81 Downloading MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl (29 kB)
#9 15.90 Collecting attrs>=17.4.0
#9 15.93 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
#9 15.95 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 4.3 MB/s eta 0:00:00
#9 16.00 Collecting six>=1.11.0
#9 16.03 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
#9 16.03 Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (58.1.0)
#9 16.09 Collecting pyrsistent>=0.14.0
#9 16.12 Downloading pyrsistent-0.18.1.tar.gz (100 kB)
#9 16.14 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.5/100.5 kB 6.4 MB/s eta 0:00:00
#9 16.18 Installing build dependencies: started
#9 18.16 Installing build dependencies: finished with status 'done'
#9 18.16 Getting requirements to build wheel: started
#9 18.47 Getting requirements to build wheel: finished with status 'done'
#9 18.48 Preparing metadata (pyproject.toml): started
#9 18.82 Preparing metadata (pyproject.toml): finished with status 'done'
#9 18.89 Collecting typing-extensions>=3.7.4.3
#9 18.92 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
#9 19.02 Collecting pytzdata>=2020.1
#9 19.04 Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
#9 19.15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 490.0/490.0 kB 4.6 MB/s eta 0:00:00
#9 19.27 Collecting urllib3<1.27,>=1.21.1
#9 19.30 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
#9 19.33 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 5.3 MB/s eta 0:00:00
#9 19.38 Collecting idna<4,>=2.5
#9 19.41 Downloading idna-3.4-py3-none-any.whl (61 kB)
#9 19.42 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 11.8 MB/s eta 0:00:00
#9 19.47 Collecting certifi>=2017.4.17
#9 19.51 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
#9 19.54 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 6.5 MB/s eta 0:00:00
#9 19.65 Collecting charset-normalizer<3,>=2
#9 19.68 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
#9 19.90 Collecting url-normalize>=1.4
#9 19.93 Downloading url_normalize-1.4.3-py2.py3-none-any.whl (6.8 kB)
#9 19.98 Collecting cattrs>=22.2
#9 20.01 Downloading cattrs-22.2.0-py3-none-any.whl (35 kB)
#9 20.07 Collecting appdirs>=1.4.4
#9 20.10 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
#9 20.26 Collecting exceptiongroup
#9 20.29 Downloading exceptiongroup-1.0.0-py3-none-any.whl (12 kB)
#9 20.50 Building wheels for collected packages: source-pagarme, PyYAML, pendulum, pyrsistent
#9 20.50 Building wheel for source-pagarme (setup.py): started
#9 20.92 Building wheel for source-pagarme (setup.py): finished with status 'done'
#9 20.92 Created wheel for source-pagarme: filename=source_pagarme-0.0.0-py3-none-any.whl size=1212 sha256=950b3008e570c25d1ab82ed2347999a97161096672701ab8fcb36bfdd8713130
#9 20.92 Stored in directory: /tmp/pip-ephem-wheel-cache-0xnfpaou/wheels/ba/6e/40/876b2449257c8324ccb203b3be14dad99463cc90e93c37cb2b
#9 20.93 Building wheel for PyYAML (pyproject.toml): started
#9 21.68 Building wheel for PyYAML (pyproject.toml): finished with status 'done'
#9 21.69 Created wheel for PyYAML: filename=PyYAML-5.4.1-cp39-cp39-linux_x86_64.whl size=45657 sha256=a13c6161b837ff6c0e5ae78391f895dd77fb9479b73b572630727b6bd6175e39
#9 21.69 Stored in directory: /root/.cache/pip/wheels/b7/a5/c4/504d913c2a55bb09c607541578ec5f844d1ff33467abe93ba5
#9 21.69 Building wheel for pendulum (pyproject.toml): started
#9 23.05 Building wheel for pendulum (pyproject.toml): finished with status 'done'
#9 23.05 Created wheel for pendulum: filename=pendulum-2.1.2-cp39-cp39-musllinux_1_2_x86_64.whl size=126863 sha256=dd74b5d62e3d521629e7edfc7b475e69fb5b44bdff52e80ef264c52d4e73bd1d
#9 23.05 Stored in directory: /root/.cache/pip/wheels/c9/c7/29/3cf0033406b18958d1a7b107c38be2405ef9c081b64a264fd5
#9 23.06 Building wheel for pyrsistent (pyproject.toml): started
#9 24.46 Building wheel for pyrsistent (pyproject.toml): finished with status 'done'
#9 24.46 Created wheel for pyrsistent: filename=pyrsistent-0.18.1-cp39-cp39-linux_x86_64.whl size=72096 sha256=7d4719e35f7d0ebbc53180f80caa450c74e14a2b12e07c492f116438af28410d
#9 24.46 Stored in directory: /root/.cache/pip/wheels/87/fe/e6/fc8deeb581a41e462eafaf19fee96f51cdc8391e0be1c8088a
#9 24.47 Successfully built source-pagarme PyYAML pendulum pyrsistent
#9 24.81 Installing collected packages: appdirs, wrapt, urllib3, typing-extensions, six, PyYAML, pytzdata, pyrsistent, MarkupSafe, jsonref, idna, exceptiongroup, dpath, charset-normalizer, certifi, backoff, attrs, url-normalize, requests, python-dateutil, pydantic, jsonschema, Jinja2, Deprecated, cattrs, requests-cache, pendulum, dataclasses-jsonschema, airbyte-cdk, source-pagarme
#9 26.88 Successfully installed Deprecated-1.2.13 Jinja2-3.1.2 MarkupSafe-2.1.1 PyYAML-5.4.1 airbyte-cdk-0.4.2 appdirs-1.4.4 attrs-22.1.0 backoff-2.2.1 cattrs-22.2.0 certifi-2022.9.24 charset-normalizer-2.1.1 dataclasses-jsonschema-2.15.1 dpath-2.0.6 exceptiongroup-1.0.0 idna-3.4 jsonref-0.3.0 jsonschema-3.2.0 pendulum-2.1.2 pydantic-1.9.2 pyrsistent-0.18.1 python-dateutil-2.8.2 pytzdata-2020.1 requests-2.28.1 requests-cache-0.9.7 six-1.16.0 source-pagarme-0.0.0 typing-extensions-4.4.0 url-normalize-1.4.3 urllib3-1.26.12 wrapt-1.14.1
#9 26.88 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#9 26.88
#9 26.88 [notice] A new release of pip available: 22.2.2 -> 22.3
#9 26.88 [notice] To update, run: pip install --upgrade pip
#9 DONE 27.3s

#5 [builder 1/4] WORKDIR /airbyte/integration_code
#5 sha256:736c564b6c0d634b064a8145fffebbf56c57a10eea338e59977586dee56a7251
#5 CACHED

#10 [stage-2 2/7] COPY --from=builder /install /usr/local
#10 sha256:70d8ffdb84a1df4593afccd86ee91533dc29dd0171c464024db338d24efa3c5d
#10 DONE 0.4s

#11 [stage-2 3/7] COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime
#11 sha256:c6ba323e0b03710bfe3ec8a9b8b1b3abe1e3003298b45453c72f18cd13949012
#11 DONE 0.0s

#12 [stage-2 4/7] RUN echo "Etc/UTC" > /etc/timezone
#12 sha256:ea9de1658a07d13a818258af8b7f7f8f6e3821fb97d81d9b9c62cedafcb3506e
#12 DONE 0.3s

#13 [stage-2 5/7] RUN apk --no-cache add bash
#13 sha256:1bd0e5c8308f0c7376fe9a2bba2ab34da7989bdb0fab753b1c8f905a4b50dc47
#13 0.249 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
#13 0.655 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
#13 1.163 (1/1) Installing bash (5.1.16-r0)
#13 1.261 Executing bash-5.1.16-r0.post-install
#13 1.265 Executing busybox-1.34.1-r4.trigger
#13 1.273 OK: 16 MiB in 37 packages
#13 DONE 1.4s

#14 [stage-2 6/7] COPY main.py ./
#14 sha256:ab73d8aa7549cbee79d49396771ca52d7d6b669716e989b2795dce732132fa4f
#14 DONE 0.1s

#15 [stage-2 7/7] COPY source_pagarme ./source_pagarme
#15 sha256:247d96ba0dd885a1dafa4e19e446a94796197d56fd270dde7104471aba0c12f3
#15 DONE 0.1s

#16 exporting to image
#16 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#16 exporting layers
#16 exporting layers 1.0s done
#16 writing image sha256:3a85ccee0ce7afcae71344c0d4920797e6d4ed39436525776a54b15c73b90ee4 done
#16 naming to docker.io/airbyte/source-pagarme:dev done
#16 DONE 1.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD SUCCESSFUL in 1m 13s
42 actionable tasks: 21 executed, 21 up-to-date

Acceptance image

@github-actions github-actions bot added area/connectors Connector related issues area/documentation Improvements or additions to documentation labels Oct 28, 2022
@sarafonseca-123 sarafonseca-123 changed the title Add new source Pagar.me 🎉 New source: Pagar.me Oct 28, 2022
@sarafonseca-123 sarafonseca-123 changed the title 🎉 New source: Pagar.me 🎉 New source: Pagar.me [python cdk] Oct 28, 2022
@sarafonseca-123 sarafonseca-123 marked this pull request as ready for review October 28, 2022 20:21
@sajarin
Copy link
Contributor

sajarin commented Oct 31, 2022

Hello @sarafonseca-123 Saj from Airbyte here 👋 . We received more than 25 new contributions along the weekend. One of which is yours 🎉 thank you so much! Our team is limited and the review process may take longer than expected. As described in the Airbyte's Hacktoberfest your contribution was submitted before November 2nd and it is eligible to win the prize. The review process will validate other requirements. I ask to you patience until someone from the team review it.

Because we reviewed some contributions for Hacktoberfest so far we've seen some common errors/patterns you can double check in advance:

  • Make sure you have added connector documentation to /docs/integrations/
  • Remove the file catalog from /integration_tests
  • Edit the sample_config.json inside /integration_tests
  • For the configured_catalog you can use only json_schema: {}
  • Add title to all properties in the spec.yaml
  • Make sure the documentationUrl in the spec.yaml redirect to Airbyte's future connector page, eg: connector Airtable the documentationUrl: https://docs.airbyte.com/integrations/sources/airtable
  • Review now new line at EOF (end-of-file) for all files.

If possible send to me a DM in Slack with the tests credentials, this process will make easier to us run integration tests and publish your connector. If you only has production keys, make sure to create a bootstrap.md explaining how to get the keys.

Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarafonseca-123 some comments, do you have a test account? Also check Saj's comment.

@mmolimar
Copy link
Contributor

mmolimar commented Nov 1, 2022

Hey @sajarin
I'll be taking a look at this PR

@sarafonseca-123
Copy link
Contributor Author

My company is still analyzing if it's ok to share the test key, so I won't be able to provide it for now. But I addressed all comments, and here are the test results after the code change 😄 :

Unit:

image

Acceptance:

image

Integration

Building all of Airbyte.
/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors
Type-safe dependency accessors is an incubating feature.

Configure project :
configuring docker task for airbyte-bootloader
configuring docker task for airbyte-container-orchestrator
configuring docker task for airbyte-cron
configuring docker task for airbyte-proxy
configuring docker task for airbyte-server
configuring docker task for airbyte-temporal
configuring docker task for airbyte-webapp
configuring docker task for airbyte-workers
configuring docker task for init
configuring docker task for db-lib
configuring docker task for reporter

Task :airbyte-integrations:bases:source-acceptance-test:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:bases:base-normalization:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:connectors:source-pagarme:checkPython
Using python 3.10.8 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv (.venv/bin/python)
Using pip 21.3.1 from /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/pip (python 3.10)

Task :airbyte-integrations:bases:source-acceptance-test:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
--------------------------- --------- ---------------------------------------------------------------------------------------------------
airbyte-cdk 0.4.2
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0rc9
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.6
requests-mock 1.9.3
responses 0.13.4
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0
source-rd-station 0.0.0
source-rd-station-marketing 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-rd-station-marketing
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:base-normalization:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
--------------------------- --------- ---------------------------------------------------------------------------------------------------
airbyte-cdk 0.2.3
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0rc9
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
normalization 0.0.0
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.6
requests-mock 1.9.3
responses 0.13.4
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
source-rd-station 0.0.0
source-rd-station-marketing 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-rd-station-marketing
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
types-PyYAML 6.0.12.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/base-normalization/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:pipInstall
[python] .venv/bin/python -m pip install pip==21.3.1
Requirement already satisfied: pip==21.3.1 in ./.venv/lib/python3.10/site-packages (21.3.1)
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip install pytest==6.1.2
Collecting pytest==6.1.2
Using cached pytest-6.1.2-py3-none-any.whl (272 kB)
Requirement already satisfied: pluggy<1.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (0.13.1)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (1.11.0)
Requirement already satisfied: attrs>=17.4.0 in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (22.1.0)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (0.10.2)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (1.1.1)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest==6.1.2) (21.3)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest==6.1.2) (3.0.9)
Installing collected packages: pytest
Attempting uninstall: pytest
Found existing installation: pytest 6.2.5
Uninstalling pytest-6.2.5:
Successfully uninstalled pytest-6.2.5

Task :airbyte-integrations:bases:source-acceptance-test:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
Skipped 6 files

Task :airbyte-integrations:bases:base-normalization:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:bases:source-acceptance-test:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
All done! ✨ 🍰 ✨
32 files left unchanged.

Task :airbyte-integrations:connectors:source-pagarme:pipInstall
Successfully installed pytest-6.1.2
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.
[python] .venv/bin/python -m pip list --format=columns
Package Version Editable project location
---------------------- --------- -----------------------------------------------------------------------------------------
airbyte-cdk 0.4.2
appdirs 1.4.4
attrs 22.1.0
backoff 2.2.1
black 22.3.0
cattrs 22.2.0
certifi 2022.9.24
charset-normalizer 2.1.1
click 8.1.3
coverage 6.3.1
dataclasses-jsonschema 2.15.1
deepdiff 5.8.1
Deprecated 1.2.13
docker 5.0.3
dpath 2.0.6
exceptiongroup 1.0.0
fancycompleter 0.9.1
flake8 4.0.1
hypothesis 6.54.6
hypothesis-jsonschema 0.20.1
icdiff 1.9.1
idna 3.4
inflection 0.5.1
iniconfig 1.1.1
isort 5.6.4
Jinja2 3.1.2
jsonref 0.2
jsonschema 3.2.0
MarkupSafe 2.1.1
mccabe 0.6.1
multidict 6.0.2
mypy 0.930
mypy-extensions 0.4.3
ordered-set 4.1.0
packaging 21.3
pathspec 0.10.1
pdbpp 0.10.3
pendulum 2.1.2
pip 21.3.1
platformdirs 2.5.2
pluggy 0.13.1
pprintpp 0.4.0
py 1.11.0
pycodestyle 2.8.0
pydantic 1.9.2
pyflakes 2.4.0
Pygments 2.13.0
pyparsing 3.0.9
pyproject-flake8 0.0.1a2
pyrepl 0.9.0
pyrsistent 0.18.1
pytest 6.1.2
pytest-cov 3.0.0
pytest-mock 3.6.1
pytest-sugar 0.9.5
pytest-timeout 1.4.2
python-dateutil 2.8.2
pytzdata 2020.1
PyYAML 5.4.1
requests 2.28.1
requests-cache 0.9.7
requests-mock 1.9.3
responses 0.13.4
setuptools 63.4.3
six 1.16.0
sortedcontainers 2.4.0
source-acceptance-test 0.0.0 /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
source-pagarme 0.0.0
termcolor 2.0.1
toml 0.10.2
tomli 2.0.1
typing_extensions 4.4.0
url-normalize 1.4.3
urllib3 1.26.12
vcrpy 4.2.1
websocket-client 1.4.1
wmctrl 0.4
wrapt 1.14.1
yarl 1.8.1
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:source-acceptance-test:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:connectors:source-pagarme:isortFormat
[python] .venv/bin/python -m isort --settings-file=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
Skipped 10 files

Task :airbyte-integrations:connectors:source-pagarme:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
reformatted source_pagarme/streams.py

     All done! ✨ 🍰 ✨
     1 file reformatted, 10 files left unchanged.

Task :airbyte-integrations:connectors:source-pagarme:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:bases:source-acceptance-test:installLocalReqs
[python] .venv/bin/python -m pip install .[dev,tests]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
WARNING: source-acceptance-test 0.0.0 does not provide the extra 'dev'
WARNING: source-acceptance-test 0.0.0 does not provide the extra 'tests'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.4.2)
Requirement already satisfied: docker~=5.0.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.0.3)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.4.1)
Requirement already satisfied: icdiff~=1.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.1)
Requirement already satisfied: inflection~=0.5 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.5.1)
Requirement already satisfied: pdbpp~=0.10 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.10.3)
Requirement already satisfied: pydantic~=1.6 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.2)
Requirement already satisfied: pytest~=6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (6.1.2)
Requirement already satisfied: pytest-sugar~=0.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.9.5)
Requirement already satisfied: pytest-timeout~=1.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.4.2)
Requirement already satisfied: pprintpp~=0.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.4.0)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (2.0.6)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.2.0)
Requirement already satisfied: jsonref==0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.2)
Requirement already satisfied: deepdiff~=5.8.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (5.8.1)
Requirement already satisfied: requests-mock~=1.9.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (1.9.3)
Requirement already satisfied: pytest-mock~=3.6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.6.1)
Requirement already satisfied: pytest-cov~=3.0.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (3.0.0)
Requirement already satisfied: hypothesis~=6.54.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (6.54.6)
Requirement already satisfied: hypothesis-jsonschema~=0.20.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0) (0.20.1)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.2.1)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.2.13)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.2)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.15.1)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (0.9.6)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (3.1.2)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.28.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.8.2)
Requirement already satisfied: ordered-set<4.2.0,>=4.1.0 in ./.venv/lib/python3.10/site-packages (from deepdiff~=5.8.0->source-acceptance-test==0.0.0) (4.1.0)
Requirement already satisfied: websocket-client>=0.32.0 in ./.venv/lib/python3.10/site-packages (from docker~=5.0.3->source-acceptance-test==0.0.0) (1.4.1)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (2.4.0)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (22.1.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0) (1.0.0rc9)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (63.4.3)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (0.18.1)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0) (1.16.0)
Requirement already satisfied: fancycompleter>=0.8 in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (0.9.1)
Requirement already satisfied: wmctrl in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (0.4)
Requirement already satisfied: pygments in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0) (2.13.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.6->source-acceptance-test==0.0.0) (4.4.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (0.13.1)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (1.11.0)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (21.3)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (0.10.2)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0) (1.1.1)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov~=3.0.0->source-acceptance-test==0.0.0) (6.3.1)
Requirement already satisfied: termcolor>=1.1.0 in ./.venv/lib/python3.10/site-packages (from pytest-sugar~=0.9->source-acceptance-test==0.0.0) (2.0.1)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from coverage[toml]>=5.2.1->pytest-cov~=3.0.0->source-acceptance-test==0.0.0) (2.0.1)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.14.1)
Requirement already satisfied: pyrepl>=0.8.2 in ./.venv/lib/python3.10/site-packages (from fancycompleter>=0.8->pdbpp~=0.10->source-acceptance-test==0.0.0) (0.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest~=6.1->source-acceptance-test==0.0.0) (3.0.9)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2022.9.24)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (2020.1)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.4.3)
Requirement already satisfied: cattrs>=1.8 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (22.2.0)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0) (1.4.4)
Using legacy 'setup.py install' for source-acceptance-test, since package 'wheel' is not installed.
Installing collected packages: source-acceptance-test
Attempting uninstall: source-acceptance-test
Found existing installation: source-acceptance-test 0.0.0
Uninstalling source-acceptance-test-0.0.0:
Successfully uninstalled source-acceptance-test-0.0.0
Running setup.py install for source-acceptance-test: started
Running setup.py install for source-acceptance-test: finished with status 'done'
Successfully installed source-acceptance-test-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:bases:base-normalization:isortFormat
Skipped 4 files

Task :airbyte-integrations:bases:base-normalization:blackFormat
[python] .venv/bin/python -m black --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./
All done! ✨ 🍰 ✨
24 files left unchanged.

Task :airbyte-integrations:bases:base-normalization:flakeCheck
[python] .venv/bin/python -m pflake8 --config /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml ./

Task :airbyte-integrations:connectors:source-pagarme:installLocalReqs
[python] .venv/bin/python -m pip install -r requirements.txt
Obtaining file:///Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test (from -r requirements.txt (line 1))
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Obtaining file:///Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme (from -r requirements.txt (line 2))
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.4.2)
Requirement already satisfied: docker~=5.0.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (5.0.3)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (5.4.1)
Requirement already satisfied: icdiff~=1.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.9.1)
Requirement already satisfied: inflection~=0.5 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.5.1)
Requirement already satisfied: pdbpp~=0.10 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.10.3)
Requirement already satisfied: pydantic~=1.6 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.9.2)
Requirement already satisfied: pytest~=6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (6.1.2)
Requirement already satisfied: pytest-sugar~=0.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.9.5)
Requirement already satisfied: pytest-timeout~=1.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.4.2)
Requirement already satisfied: pprintpp~=0.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.4.0)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.0.6)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.2.0)
Requirement already satisfied: jsonref==0.2 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.2)
Requirement already satisfied: deepdiff~=5.8.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (5.8.1)
Requirement already satisfied: requests-mock~=1.9.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.9.3)
Requirement already satisfied: pytest-mock~=3.6.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.6.1)
Requirement already satisfied: pytest-cov~=3.0.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.0.0)
Requirement already satisfied: hypothesis~=6.54.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (6.54.6)
Requirement already satisfied: hypothesis-jsonschema~=0.20.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.20.1)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.15.1)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.2.13)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.9.7)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.1.2)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.2.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: ordered-set<4.2.0,>=4.1.0 in ./.venv/lib/python3.10/site-packages (from deepdiff~=5.8.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (4.1.0)
Requirement already satisfied: websocket-client>=0.32.0 in ./.venv/lib/python3.10/site-packages (from docker~=5.0.3->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.4.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (22.1.0)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.4.0)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.0.0)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (63.4.3)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.18.1)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: pygments in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.13.0)
Requirement already satisfied: fancycompleter>=0.8 in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.9.1)
Requirement already satisfied: wmctrl in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.4)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.6->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.13.1)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (21.3)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.11.0)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.10.2)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov~=3.0.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (6.3.1)
Requirement already satisfied: termcolor>=1.1.0 in ./.venv/lib/python3.10/site-packages (from pytest-sugar~=0.9->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from coverage[toml]>=5.2.1->pytest-cov~=3.0.0->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.14.1)
Requirement already satisfied: pyrepl>=0.8.2 in ./.venv/lib/python3.10/site-packages (from fancycompleter>=0.8->pdbpp~=0.10->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (0.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest~=6.1->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.0.9)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2022.9.24)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (2020.1)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.4.4)
Requirement already satisfied: cattrs>=22.2 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (22.2.0)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-acceptance-test==0.0.0->-r requirements.txt (line 1)) (1.4.3)
Installing collected packages: source-pagarme, source-acceptance-test
Attempting uninstall: source-pagarme
Found existing installation: source-pagarme 0.0.0
Uninstalling source-pagarme-0.0.0:
Successfully uninstalled source-pagarme-0.0.0
Running setup.py develop for source-pagarme
Attempting uninstall: source-acceptance-test
Found existing installation: source-acceptance-test 0.0.0
Uninstalling source-acceptance-test-0.0.0:
Successfully uninstalled source-acceptance-test-0.0.0
Running setup.py develop for source-acceptance-test
Successfully installed source-acceptance-test-0.0.0 source-pagarme-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:installReqs
[python] .venv/bin/python -m pip install .[main]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
WARNING: source-pagarme 0.0.0 does not provide the extra 'main'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (0.4.2)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.1.2)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.2.13)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.2.1)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.15.1)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.2.0)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.2)
Requirement already satisfied: jsonref~=0.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.2)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.0.6)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.9.7)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (5.4.1)
Requirement already satisfied: pydantic~=1.9.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.9.2)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.28.1)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.8.2)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.14.1)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.16.0)
Requirement already satisfied: attrs>=17.4.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.1.0)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.18.1)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (63.4.3)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.9.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (4.4.0)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2020.1)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.4)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.3)
Requirement already satisfied: cattrs>=22.2 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.2.0)
Requirement already satisfied: exceptiongroup in ./.venv/lib/python3.10/site-packages (from cattrs>=22.2->requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.0.0)
Using legacy 'setup.py install' for source-pagarme, since package 'wheel' is not installed.
Installing collected packages: source-pagarme
Attempting uninstall: source-pagarme
Found existing installation: source-pagarme 0.0.0
Uninstalling source-pagarme-0.0.0:
Successfully uninstalled source-pagarme-0.0.0
Running setup.py install for source-pagarme: started
Running setup.py install for source-pagarme: finished with status 'done'
Successfully installed source-pagarme-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:installTestReqs
[python] .venv/bin/python -m pip install .[tests]
Processing /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: airbyte-cdk~=0.2 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (0.4.2)
Collecting pytest~=6.2
Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
Requirement already satisfied: pytest-mock~=3.6.1 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (3.6.1)
Requirement already satisfied: source-acceptance-test in /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/bases/source-acceptance-test (from source-pagarme==0.0.0) (0.0.0)
Requirement already satisfied: responses~=0.13.3 in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (0.13.4)
Requirement already satisfied: requests-mock in ./.venv/lib/python3.10/site-packages (from source-pagarme==0.0.0) (1.9.3)
Requirement already satisfied: PyYAML~=5.4 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (5.4.1)
Requirement already satisfied: backoff in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.2.1)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.28.1)
Requirement already satisfied: requests-cache in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.9.7)
Requirement already satisfied: Jinja2~=3.1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.1.2)
Requirement already satisfied: jsonref~=0.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.2)
Requirement already satisfied: dpath~=2.0.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.0.6)
Requirement already satisfied: Deprecated~=1.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.2.13)
Requirement already satisfied: dataclasses-jsonschema==2.15.1 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.15.1)
Requirement already satisfied: pendulum in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.2)
Requirement already satisfied: jsonschema~=3.2.0 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.2.0)
Requirement already satisfied: pydantic~=1.9.2 in ./.venv/lib/python3.10/site-packages (from airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.9.2)
Requirement already satisfied: python-dateutil in ./.venv/lib/python3.10/site-packages (from dataclasses-jsonschema==2.15.1->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.8.2)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (1.11.0)
Requirement already satisfied: pluggy<2.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (0.13.1)
Requirement already satisfied: toml in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (0.10.2)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (21.3)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (1.1.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from pytest~=6.2->source-pagarme==0.0.0) (22.1.0)
Requirement already satisfied: six in ./.venv/lib/python3.10/site-packages (from responses~=0.13.3->source-pagarme==0.0.0) (1.16.0)
Requirement already satisfied: urllib3>=1.25.10 in ./.venv/lib/python3.10/site-packages (from responses~=0.13.3->source-pagarme==0.0.0) (1.26.12)
Requirement already satisfied: docker~=5.0.3 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (5.0.3)
Requirement already satisfied: icdiff~=1.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (1.9.1)
Requirement already satisfied: inflection~=0.5 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.5.1)
Requirement already satisfied: pdbpp~=0.10 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.10.3)
Requirement already satisfied: pytest-sugar~=0.9 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.9.5)
Requirement already satisfied: pytest-timeout~=1.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (1.4.2)
Requirement already satisfied: pprintpp~=0.4 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.4.0)
Requirement already satisfied: deepdiff~=5.8.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (5.8.1)
Requirement already satisfied: pytest-cov~=3.0.0 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (3.0.0)
Requirement already satisfied: hypothesis~=6.54.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (6.54.6)
Requirement already satisfied: hypothesis-jsonschema~=0.20.1 in ./.venv/lib/python3.10/site-packages (from source-acceptance-test->source-pagarme==0.0.0) (0.20.1)
Requirement already satisfied: ordered-set<4.2.0,>=4.1.0 in ./.venv/lib/python3.10/site-packages (from deepdiff~=5.8.0->source-acceptance-test->source-pagarme==0.0.0) (4.1.0)
Requirement already satisfied: wrapt<2,>=1.10 in ./.venv/lib/python3.10/site-packages (from Deprecated~=1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.14.1)
Requirement already satisfied: websocket-client>=0.32.0 in ./.venv/lib/python3.10/site-packages (from docker~=5.0.3->source-acceptance-test->source-pagarme==0.0.0) (1.4.1)
Requirement already satisfied: exceptiongroup>=1.0.0rc8 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test->source-pagarme==0.0.0) (1.0.0)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.venv/lib/python3.10/site-packages (from hypothesis~=6.54.1->source-acceptance-test->source-pagarme==0.0.0) (2.4.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from Jinja2~=3.1.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (0.18.1)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (63.4.3)
Requirement already satisfied: pygments in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (2.13.0)
Requirement already satisfied: fancycompleter>=0.8 in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.9.1)
Requirement already satisfied: wmctrl in ./.venv/lib/python3.10/site-packages (from pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.4)
Requirement already satisfied: typing-extensions>=3.7.4.3 in ./.venv/lib/python3.10/site-packages (from pydantic~=1.9.2->airbyte-cdk~=0.2->source-pagarme==0.0.0) (4.4.0)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov~=3.0.0->source-acceptance-test->source-pagarme==0.0.0) (6.3.1)
Requirement already satisfied: termcolor>=1.1.0 in ./.venv/lib/python3.10/site-packages (from pytest-sugar~=0.9->source-acceptance-test->source-pagarme==0.0.0) (2.0.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->pytest~=6.2->source-pagarme==0.0.0) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2022.9.24)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->airbyte-cdk~=0.2->source-pagarme==0.0.0) (3.4)
Requirement already satisfied: pytzdata>=2020.1 in ./.venv/lib/python3.10/site-packages (from pendulum->airbyte-cdk~=0.2->source-pagarme==0.0.0) (2020.1)
Requirement already satisfied: appdirs>=1.4.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.4)
Requirement already satisfied: url-normalize>=1.4 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (1.4.3)
Requirement already satisfied: cattrs>=22.2 in ./.venv/lib/python3.10/site-packages (from requests-cache->airbyte-cdk~=0.2->source-pagarme==0.0.0) (22.2.0)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from coverage[toml]>=5.2.1->pytest-cov~=3.0.0->source-acceptance-test->source-pagarme==0.0.0) (2.0.1)
Requirement already satisfied: pyrepl>=0.8.2 in ./.venv/lib/python3.10/site-packages (from fancycompleter>=0.8->pdbpp~=0.10->source-acceptance-test->source-pagarme==0.0.0) (0.9.0)
Using legacy 'setup.py install' for source-pagarme, since package 'wheel' is not installed.
Installing collected packages: pytest, source-pagarme
Attempting uninstall: pytest
Found existing installation: pytest 6.1.2
Uninstalling pytest-6.1.2:
Successfully uninstalled pytest-6.1.2
Attempting uninstall: source-pagarme
Found existing installation: source-pagarme 0.0.0
Uninstalling source-pagarme-0.0.0:
Successfully uninstalled source-pagarme-0.0.0
Running setup.py install for source-pagarme: started
Running setup.py install for source-pagarme: finished with status 'done'
Successfully installed pytest-6.2.5 source-pagarme-0.0.0
WARNING: You are using pip version 21.3.1; however, version 22.3 is available.
You should consider upgrading via the '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python -m pip install --upgrade pip' command.

Task :airbyte-integrations:connectors:source-pagarme:_unitTestCoverage
[python] .venv/bin/python -m coverage run --data-file=unit_tests/.coverage.unitTest --rcfile=/Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml -m pytest -s unit_tests -c /Users/sarasantos/git-jusbrasil/airbyte/pyproject.toml
============================= test session starts ==============================
platform darwin -- Python 3.10.8, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/bin/python
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.hypothesis/examples')
rootdir: /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/unit_tests, configfile: ../../../../pyproject.toml
plugins: hypothesis-6.54.6, sugar-0.9.5, requests-mock-1.9.3, mock-3.6.1, timeout-1.4.2, cov-3.0.0
collecting ... collected 18 items

     unit_tests/test_incremental_streams.py::test_cursor_field PASSED
     unit_tests/test_incremental_streams.py::test_get_updated_state PASSED
     unit_tests/test_incremental_streams.py::test_stream_slices PASSED
     unit_tests/test_incremental_streams.py::test_supports_incremental PASSED
     unit_tests/test_incremental_streams.py::test_source_defined_cursor PASSED
     unit_tests/test_incremental_streams.py::test_stream_checkpoint_interval PASSED
     unit_tests/test_source.py::test_check_connection PASSED
     unit_tests/test_source.py::test_streams PASSED
     unit_tests/test_streams.py::test_request_params PASSED
     unit_tests/test_streams.py::test_next_page_token PASSEDage
     unit_tests/test_streams.py::test_parse_response PASSED
     unit_tests/test_streams.py::test_request_headers PASSED
     unit_tests/test_streams.py::test_http_method PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.OK-False] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.BAD_REQUEST-False] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.TOO_MANY_REQUESTS-True] PASSED
     unit_tests/test_streams.py::test_should_retry[HTTPStatus.INTERNAL_SERVER_ERROR-True] PASSED
     unit_tests/test_streams.py::test_backoff_time PASSED
     
     =============================== warnings summary ===============================
     test_incremental_streams.py: 6 warnings
     test_source.py: 14 warnings
     test_streams.py: 10 warnings
       /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/http.py:43: DeprecationWarning: Call to deprecated class NoAuth. (Set `authenticator=None` instead) -- Deprecated since version 0.1.20.
         self._authenticator: HttpAuthenticator = NoAuth()
     
     test_incremental_streams.py: 6 warnings
     test_source.py: 14 warnings
     test_streams.py: 10 warnings
       /Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme/.venv/lib/python3.10/site-packages/deprecated/classic.py:173: DeprecationWarning: Call to deprecated class HttpAuthenticator. (Use requests.auth.AuthBase instead) -- Deprecated since version 0.1.20.
         return old_new1(cls, *args, **kwargs)
     
     -- Docs: https://docs.pytest.org/en/stable/warnings.html
     ======================= 18 passed, 60 warnings in 1.70s ========================

Task :airbyte-integrations:connectors:source-pagarme:unitTest
Name Stmts Miss Cover


source_pagarme/init.py 2 0 100%
source_pagarme/source.py 18 2 89%
source_pagarme/streams.py 111 22 80%

TOTAL 131 24 82%

Task :airbyte-integrations:connectors:source-pagarme:airbyteDocker
Execution optimizations have been disabled for task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' to ensure correctness due to the following reasons:

  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:compileTestJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:pmdMain' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:pmdTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:processTestResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:spotbugsMain' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  • Gradle detected a problem with the following location: '/Users/sarasantos/git-jusbrasil/airbyte/airbyte-integrations/connectors/source-pagarme'. Reason: Task ':airbyte-integrations:connectors:source-pagarme:airbyteDocker' uses this output of task ':airbyte-integrations:connectors:source-pagarme:spotbugsTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.
    checkin catalogs #1 [internal] load build definition from Dockerfile
    checkin catalogs #1 sha256:fb2ef4717c3c1dbe203ce784ed395180ed13a57c824d8341a5e9f8d1c502418a
    checkin catalogs #1 transferring dockerfile: 37B done
    checkin catalogs #1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:09a36d89507edf89a16aa23363172b86f6abbdabdff0a8b9708fae31ebaa895b
#2 transferring context: 34B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/python:3.9.11-alpine3.15
#3 sha256:615609793cad3a170d91fb8a37323caa348ca31e0a749e824da4c8c1d8da2aa4
#3 DONE 2.3s

#4 [base 1/1] FROM docker.io/library/python:3.9.11-alpine3.15@sha256:45ddd216e6b4efee0617e15d541e9148ffd6898203fcbe86a9f5bf906ce7837f
#4 sha256:4c436ac5d39299d948ef79080102d272b18d64395fbed9cc821104f1e2bd7d93
#4 DONE 0.0s

#7 [internal] load build context
#7 sha256:64995b41690c2f7aec416dfd60cd8001c8d6c17719ce9dedbee6a9ce8fca16b4
#7 transferring context: 15.87kB done
#7 DONE 0.0s

#5 [builder 1/4] WORKDIR /airbyte/integration_code
#5 sha256:736c564b6c0d634b064a8145fffebbf56c57a10eea338e59977586dee56a7251
#5 CACHED

#6 [builder 2/4] RUN apk --no-cache upgrade && pip install --upgrade pip && apk --no-cache add tzdata build-base
#6 sha256:fddd1028d4c855a19a9d12c308b03a65954965cf7ce3303f4d640a7d59aba08d
#6 CACHED

#8 [builder 3/4] COPY setup.py ./
#8 sha256:78b02c9d83e9d827b82a996f64de80ce3c4e86103ace5b088bb7ba698eb5ff84
#8 DONE 0.0s

#9 [builder 4/4] RUN pip install --prefix=/install .
#9 sha256:fd4c6ed561e2800a0543fdc455b875abafa6cc83180e38903ade774f508bac14
#9 2.657 Processing /airbyte/integration_code
#9 2.662 Preparing metadata (setup.py): started
#9 3.731 Preparing metadata (setup.py): finished with status 'done'
#9 4.189 Collecting airbyte-cdk~=0.2
#9 4.368 Downloading airbyte_cdk-0.4.2-py3-none-any.whl (246 kB)
#9 4.515 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.6/246.6 kB 1.8 MB/s eta 0:00:00
#9 4.631 Collecting Jinja2~=3.1.2
#9 4.665 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
#9 4.699 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 4.2 MB/s eta 0:00:00
#9 4.788 Collecting jsonschema~=3.2.0
#9 4.833 Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
#9 4.930 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 kB 538.1 kB/s eta 0:00:00
#9 5.107 Collecting backoff
#9 5.225 Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
#9 5.695 Collecting pydantic~=1.9.2
#9 5.743 Downloading pydantic-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl (12.5 MB)
#9 15.53 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 MB 1.2 MB/s eta 0:00:00
#9 15.67 Collecting dataclasses-jsonschema==2.15.1
#9 15.70 Downloading dataclasses_jsonschema-2.15.1-py3-none-any.whl (17 kB)
#9 15.80 Collecting PyYAML~=5.4
#9 15.83 Downloading PyYAML-5.4.1.tar.gz (175 kB)
#9 15.94 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 1.5 MB/s eta 0:00:00
#9 16.32 Installing build dependencies: started
#9 26.07 Installing build dependencies: finished with status 'done'
#9 26.07 Getting requirements to build wheel: started
#9 28.35 Getting requirements to build wheel: finished with status 'done'
#9 28.35 Preparing metadata (pyproject.toml): started
#9 28.98 Preparing metadata (pyproject.toml): finished with status 'done'
#9 29.14 Collecting jsonref~=0.2
#9 29.16 Downloading jsonref-0.3.0-py3-none-any.whl (8.8 kB)
#9 29.43 Collecting requests-cache
#9 29.46 Downloading requests_cache-0.9.7-py3-none-any.whl (48 kB)
#9 29.49 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 1.6 MB/s eta 0:00:00
#9 29.67 Collecting pendulum
#9 29.70 Downloading pendulum-2.1.2.tar.gz (81 kB)
#9 29.74 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.2/81.2 kB 1.8 MB/s eta 0:00:00
#9 29.83 Installing build dependencies: started
#9 33.09 Installing build dependencies: finished with status 'done'
#9 33.09 Getting requirements to build wheel: started
#9 33.29 Getting requirements to build wheel: finished with status 'done'
#9 33.29 Preparing metadata (pyproject.toml): started
#9 33.98 Preparing metadata (pyproject.toml): finished with status 'done'
#9 34.17 Collecting dpath~=2.0.1
#9 34.22 Downloading dpath-2.0.6-py3-none-any.whl (15 kB)
#9 34.35 Collecting requests
#9 34.37 Downloading requests-2.28.1-py3-none-any.whl (62 kB)
#9 34.46 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 673.3 kB/s eta 0:00:00
#9 34.75 Collecting Deprecated~=1.2
#9 34.78 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
#9 34.86 Collecting python-dateutil
#9 34.89 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
#9 35.16 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 890.5 kB/s eta 0:00:00
#9 35.50 Collecting wrapt<2,>=1.10
#9 35.58 Downloading wrapt-1.14.1-cp39-cp39-musllinux_1_1_x86_64.whl (82 kB)
#9 35.72 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.3/82.3 kB 873.6 kB/s eta 0:00:00
#9 35.85 Collecting MarkupSafe>=2.0
#9 35.89 Downloading MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl (29 kB)
#9 36.04 Collecting pyrsistent>=0.14.0
#9 36.06 Downloading pyrsistent-0.19.1-py3-none-any.whl (57 kB)
#9 36.14 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.3/57.3 kB 683.9 kB/s eta 0:00:00
#9 36.20 Collecting attrs>=17.4.0
#9 36.24 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
#9 36.40 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 367.8 kB/s eta 0:00:00
#9 36.45 Collecting six>=1.11.0
#9 36.50 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
#9 36.64 Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from jsonschema~=3.2.0->airbyte-cdk~=0.2->source-pagarme==0.0.0) (58.1.0)
#9 36.72 Collecting typing-extensions>=3.7.4.3
#9 36.74 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
#9 37.16 Collecting pytzdata>=2020.1
#9 37.19 Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
#9 38.15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 490.0/490.0 kB 520.7 kB/s eta 0:00:00
#9 38.34 Collecting charset-normalizer<3,>=2
#9 38.36 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
#9 38.54 Collecting urllib3<1.27,>=1.21.1
#9 38.57 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
#9 38.92 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 378.8 kB/s eta 0:00:00
#9 39.00 Collecting certifi>=2017.4.17
#9 39.03 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
#9 39.38 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 479.8 kB/s eta 0:00:00
#9 39.45 Collecting idna<4,>=2.5
#9 39.48 Downloading idna-3.4-py3-none-any.whl (61 kB)
#9 39.62 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 425.3 kB/s eta 0:00:00
#9 39.90 Collecting cattrs>=22.2
#9 39.92 Downloading cattrs-22.2.0-py3-none-any.whl (35 kB)
#9 40.17 Collecting appdirs>=1.4.4
#9 40.20 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
#9 40.43 Collecting url-normalize>=1.4
#9 40.49 Downloading url_normalize-1.4.3-py2.py3-none-any.whl (6.8 kB)
#9 40.75 Collecting exceptiongroup
#9 40.78 Downloading exceptiongroup-1.0.0-py3-none-any.whl (12 kB)
#9 41.14 Building wheels for collected packages: source-pagarme, PyYAML, pendulum
#9 41.14 Building wheel for source-pagarme (setup.py): started
#9 41.81 Building wheel for source-pagarme (setup.py): finished with status 'done'
#9 41.81 Created wheel for source-pagarme: filename=source_pagarme-0.0.0-py3-none-any.whl size=1209 sha256=5a9e0034a67fa25d864e061abbf26af873155a31892cb813fd20cc68b3bba552
#9 41.81 Stored in directory: /tmp/pip-ephem-wheel-cache-ozj2pjk3/wheels/ba/6e/40/876b2449257c8324ccb203b3be14dad99463cc90e93c37cb2b
#9 41.82 Building wheel for PyYAML (pyproject.toml): started
#9 43.00 Building wheel for PyYAML (pyproject.toml): finished with status 'done'
#9 43.00 Created wheel for PyYAML: filename=PyYAML-5.4.1-cp39-cp39-linux_x86_64.whl size=45657 sha256=7547a18f9b325cfd409ea1000e1d5889233b7aee1147ae67053f9f61e4124d86
#9 43.00 Stored in directory: /root/.cache/pip/wheels/b7/a5/c4/504d913c2a55bb09c607541578ec5f844d1ff33467abe93ba5
#9 43.01 Building wheel for pendulum (pyproject.toml): started
#9 45.94 Building wheel for pendulum (pyproject.toml): finished with status 'done'
#9 45.95 Created wheel for pendulum: filename=pendulum-2.1.2-cp39-cp39-musllinux_1_2_x86_64.whl size=126863 sha256=dd74b5d62e3d521629e7edfc7b475e69fb5b44bdff52e80ef264c52d4e73bd1d
#9 45.95 Stored in directory: /root/.cache/pip/wheels/c9/c7/29/3cf0033406b18958d1a7b107c38be2405ef9c081b64a264fd5
#9 45.96 Successfully built source-pagarme PyYAML pendulum
#9 46.40 Installing collected packages: appdirs, wrapt, urllib3, typing-extensions, six, PyYAML, pytzdata, pyrsistent, MarkupSafe, jsonref, idna, exceptiongroup, dpath, charset-normalizer, certifi, backoff, attrs, url-normalize, requests, python-dateutil, pydantic, jsonschema, Jinja2, Deprecated, cattrs, requests-cache, pendulum, dataclasses-jsonschema, airbyte-cdk, source-pagarme
#9 50.41 Successfully installed Deprecated-1.2.13 Jinja2-3.1.2 MarkupSafe-2.1.1 PyYAML-5.4.1 airbyte-cdk-0.4.2 appdirs-1.4.4 attrs-22.1.0 backoff-2.2.1 cattrs-22.2.0 certifi-2022.9.24 charset-normalizer-2.1.1 dataclasses-jsonschema-2.15.1 dpath-2.0.6 exceptiongroup-1.0.0 idna-3.4 jsonref-0.3.0 jsonschema-3.2.0 pendulum-2.1.2 pydantic-1.9.2 pyrsistent-0.19.1 python-dateutil-2.8.2 pytzdata-2020.1 requests-2.28.1 requests-cache-0.9.7 six-1.16.0 source-pagarme-0.0.0 typing-extensions-4.4.0 url-normalize-1.4.3 urllib3-1.26.12 wrapt-1.14.1
#9 50.41 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#9 50.42
#9 50.42 [notice] A new release of pip available: 22.2.2 -> 22.3
#9 50.42 [notice] To update, run: pip install --upgrade pip
#9 DONE 50.9s

#5 [builder 1/4] WORKDIR /airbyte/integration_code
#5 sha256:736c564b6c0d634b064a8145fffebbf56c57a10eea338e59977586dee56a7251
#5 CACHED

#10 [stage-2 2/7] COPY --from=builder /install /usr/local
#10 sha256:62b817b7a017ee2878c4318b41feea53648345f344b3c57bf288d9df3ad4d294
#10 DONE 0.7s

#11 [stage-2 3/7] COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime
#11 sha256:28e8141ae8f99b06bbe903d25346eb7f1f02dc76f074723f7ca3ea78cb8aa2be
#11 DONE 0.0s

#12 [stage-2 4/7] RUN echo "Etc/UTC" > /etc/timezone
#12 sha256:fad312d0caa50b1587204b78b64090b7a3c60eff922ee7ca620d69a0a5b3f7db
#12 DONE 0.5s

#13 [stage-2 5/7] RUN apk --no-cache add bash
#13 sha256:44171350e158fd2e7d4d55b08d0e0b4920f3d6fc16965a2793fd7b5595c9fdc5
#13 0.499 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
#13 1.203 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
#13 2.727 (1/1) Installing bash (5.1.16-r0)
#13 3.500 Executing bash-5.1.16-r0.post-install
#13 3.510 Executing busybox-1.34.1-r4.trigger
#13 3.526 OK: 16 MiB in 37 packages
#13 DONE 3.6s

#14 [stage-2 6/7] COPY main.py ./
#14 sha256:ac20db89cc555bdd84a7ba2a42e7aed08c951fb189b0e6763378217790a7e136
#14 DONE 0.1s

#15 [stage-2 7/7] COPY source_pagarme ./source_pagarme
#15 sha256:0c73faf2ef6dbf0a049d59aa120dd468998fd96777360f95a20087d27a4ca127
#15 DONE 0.1s

#16 exporting to image
#16 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#16 exporting layers
#16 exporting layers 1.3s done
#16 writing image sha256:e1e9db80dc163e6a349021f1b79ac184ffd66cf7b7e02d04558174e7d79e11c4 done
#16 naming to docker.io/airbyte/source-pagarme:dev done
#16 DONE 1.3s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD SUCCESSFUL in 2m 5s
42 actionable tasks: 23 executed, 19 up-to-date

### Prerequisites
**To iterate on this connector, make sure to complete this prerequisites section.**

#### Minimum Python version required `= 3.9.0`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this version required be >=?

@@ -0,0 +1,25 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be changed to a spec.yaml file instead of a JSON file?


class BankAccounts(PagarmeStream):
def path(self, **kwargs) -> str:
return "bank_Accounts"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be bank_accounts instead?

},
"id": {
"type": [
"null",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Primary key fields shouldn't be null (this applies for all entities)


class PagarmeStream(HttpStream, ABC):
page = 1
page_size_limit = 1000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding a new config property to configure this page_size_limit?

page = 1
page_size_limit = 1000
primary_key = "id"
url_base = "https://api.pagar.me/1/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity, why using version 1 which looks a bit old?

Copy link
Contributor

@mmolimar mmolimar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments.

Btw, did you run ./gradlew format?


## Authentication

Authentication is done through an `api_key`, that can be found in the Dashboard. For more informations, consult the [documentation](https://docs.pagar.me/v1/reference/principios-basicos#autentica%C3%A7%C3%A3o).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in informations

@sajarin sajarin added the bounty-XL Maintainer program: claimable extra large bounty PR label Nov 7, 2022
@marcosmarxm
Copy link
Member

@sarafonseca-123 are you still working on this>

@sarafonseca-123
Copy link
Contributor Author

@marcosmarxm I got an access key for the latest Pagar.me API version, now I will update this code to use the V5 instead of V1

@marcosmarxm
Copy link
Member

Because this contribution didn't receive recent updates it won't be consider valid to hacktoberfest event. You can continue the work to get this merge in your own pace. Thank so much for your contribution!

@marcosmarxm
Copy link
Member

Hello 👋, first thank you for this amazing contribution.

We really appreciate the effort you've made to improve the project.
We ask you patience for the code review. Last month our team was focused on Hacktoberfest event and that probably left some PR without the proper feedback. And this week, due to the Thanksgiving US Holiday, most our team is out of office with their families. Another important piece of information why code won't be merge this week is: as a safety measure the core team has decided to freeze merging code to main branch to keep the release stable. Next week we'll return to you with the proper code review and update the status of your contribution.

If you have any questions feel free to send me a message in Slack!
Thanks!

@marcosmarxm
Copy link
Member

@sarafonseca-123 are you going to continue the work here?

@marcosmarxm
Copy link
Member

Close due inactivity.

@guillaume-chech
Copy link
Contributor

I'm also interested in being able to sync Pagar data with airbyte . Is this connector not being developed as we speak ?
Should I start over from scratch uising low code template or should I start from where you left off @sarafonseca-123 ?

@sarafonseca-123
Copy link
Contributor Author

@guillaume-chech, the connector was made using an old version of the API. If you have a key for the newest version I advise you to begin from scratch, since the entities change a lot from v5 to v1. I can gladly help you to conclude this connector if you want to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation bounty bounty-XL Maintainer program: claimable extra large bounty PR community connectors/source/pagarme
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

6 participants