Skip to content

Commit

Permalink
Merge branch 'main' into sanitize-nulls
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Oct 28, 2024
2 parents 7e52b38 + 3116006 commit 4c1571f
Show file tree
Hide file tree
Showing 9 changed files with 663 additions and 569 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ body:
label: Python Version
description: Version of Python you are using
options:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
- "NA"
validations:
required: true
Expand Down
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ updates:
interval: weekly
timezone: "America/New_York"
time: "07:23"
reviewers:
- "visch"
versioning-strategy: increase-if-necessary
groups:
development-dependencies:
Expand All @@ -39,8 +37,6 @@ updates:
interval: weekly
timezone: "America/New_York"
time: "07:23"
reviewers:
- "visch"
groups:
actions:
patterns:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
steps:
- uses: actions/checkout@v4
- name: Fix key permissions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
poetry==1.8.3
poetry==1.8.4
2 changes: 1 addition & 1 deletion .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- uses: pypa/[email protected].2
- uses: pypa/[email protected].3
with:
attestations: true
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-json
- id: check-toml
Expand All @@ -18,14 +18,14 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
rev: v0.7.1
hooks:
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.11.2'
rev: 'v1.13.0'
hooks:
- id: mypy
exclude: tests
Expand Down
1,195 changes: 647 additions & 548 deletions poetry.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
packages = [
{ include = "target_postgres" }
]

[tool.poetry.dependencies]
python = ">=3.8"
faker = {version = "~=29.0", optional = true}
psycopg2-binary = "2.9.9"
python = ">=3.9"
faker = {version = "~=30.0", optional = true}
psycopg2-binary = "2.9.10"
sqlalchemy = "~=2.0"
sshtunnel = "0.4.0"

[tool.poetry.dependencies.singer-sdk]
version = "~=0.40.0a1"
version = "~=0.41.0"

[tool.poetry.extras]
faker = ["faker"]
Expand All @@ -63,7 +63,7 @@ module = ["sshtunnel"]
ignore_missing_imports = true

[build-system]
requires = ["poetry-core==1.9.0", "poetry-dynamic-versioning==1.4.0"]
requires = ["poetry-core>=1.9,<2", "poetry-dynamic-versioning>=1.4,<2"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry.scripts]
Expand All @@ -81,7 +81,7 @@ vcs = "git"
style = "semver"

[tool.ruff]
target-version = "py38"
target-version = "py39"

[tool.ruff.lint]
select = [
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy

[tox]
envlist = py38
; envlist = py37, py38, py39
envlist = py312
isolated_build = true

[testenv]
Expand All @@ -11,7 +10,7 @@ allowlist_externals = poetry
[testenv:pytest]
# Run the python tests.
# To execute, run `tox -e pytest`
envlist = py38, py39, py310, py311, py312
envlist = py3{9,10,11,12,13}
commands =
poetry install -v
poetry run pytest
Expand Down

0 comments on commit 4c1571f

Please sign in to comment.