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

fix(templates): Install dependencies in CI and bump dev dependencies #1305

Merged
merged 6 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry==1.2.*
- name: Install dependencies
run: |
poetry install
- name: Run lint command from tox.ini
run: |
poetry run tox -e lint
Expand Down
20 changes: 10 additions & 10 deletions cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ keywords = [
license = "Apache 2.0"

[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
python = "<3.12,>=3.7.1"
requests = "^2.28.1"
singer-sdk = { version="^0.16.0"}
fs-s3fs = { version = "^1.1.1", optional = true}

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
tox = "^3.24.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
tox = "^4.1.3"
flake8 = "^3.9.2"
black = "^21.9b0"
pydocstyle = "^6.1.1"
mypy = "^0.910"
types-requests = "^2.26.1"
isort = "^5.10.1"
black = "^22.12.0"
pydocstyle = "^6.2.1"
mypy = "^0.991"
types-requests = "^2.28.11.7"
isort = "^5.11.4"

[tool.poetry.extras]
s3 = ["fs-s3fs"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist = py38
isolated_build = true

[testenv]
whitelist_externals = poetry
allowlist_externals = poetry

commands =
poetry install -v
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ keywords = [
license = "Apache 2.0"

[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
python = "<3.12,>=3.7.1"
requests = "^2.28.1"
singer-sdk = { version="^0.16.0"}
fs-s3fs = { version = "^1.1.1", optional = true}

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
tox = "^3.24.4"
pytest = "^7.2.0"
tox = "^4.1.3"
flake8 = "^3.9.2"
black = "^21.9b0"
pydocstyle = "^6.1.1"
mypy = "^0.910"
types-requests = "^2.26.1"
isort = "^5.10.1"
black = "^22.12.0"
pydocstyle = "^6.2.1"
mypy = "^0.991"
types-requests = "^2.28.11.7"
isort = "^5.11.4"

[tool.poetry.extras]
s3 = ["fs-s3fs"]
Expand Down