diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index aed8a6cd..f286a0d5 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -11,7 +11,7 @@ jobs: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] services: postgres: - image: debezium/postgres:15 + image: debezium/postgres:16 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d4499ba3..be5bdb59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black diff --git a/docker-compose.yml b/docker-compose.yml index 816b6619..8c2f2aa9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: postgres: - image: debezium/postgres:15 + image: debezium/postgres:16 ports: - "15432:5432" environment: diff --git a/pgsync/settings.py b/pgsync/settings.py index 51f72225..0e531953 100644 --- a/pgsync/settings.py +++ b/pgsync/settings.py @@ -130,7 +130,9 @@ ELASTICSEARCH = env.bool("ELASTICSEARCH", default=True) OPENSEARCH = env.bool("OPENSEARCH", default=(not ELASTICSEARCH)) OPENSEARCH_AWS_HOSTED = env.bool("OPENSEARCH_AWS_HOSTED", default=False) -OPENSEARCH_AWS_SERVERLESS = env.bool("OPENSEARCH_AWS_SERVERLESS", default=False) # noqa E501 +OPENSEARCH_AWS_SERVERLESS = env.bool( + "OPENSEARCH_AWS_SERVERLESS", default=False +) # noqa E501 # Postgres: PG_HOST = env.str("PG_HOST", default="localhost") diff --git a/requirements/dev.txt b/requirements/dev.txt index 7309be68..31229abb 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -2,19 +2,19 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --config=pyproject.toml --output-file=requirements/dev.txt requirements/dev.in +# pip-compile --output-file=requirements/dev.txt requirements/dev.in # async-timeout==4.0.3 # via redis -black==23.7.0 +black==23.9.1 # via -r requirements/base.in -boto3==1.28.31 +boto3==1.28.51 # via -r requirements/base.in -botocore==1.31.31 +botocore==1.31.51 # via # boto3 # s3transfer -build==0.10.0 +build==1.0.3 # via pip-tools certifi==2023.7.22 # via @@ -30,7 +30,7 @@ click==8.1.7 # -r requirements/base.in # black # pip-tools -coverage[toml]==7.3.0 +coverage[toml]==7.3.1 # via # -r requirements/dev.in # pytest-cov @@ -46,9 +46,9 @@ environs==9.5.0 # via -r requirements/base.in exceptiongroup==1.1.3 # via pytest -faker==19.3.0 +faker==19.6.2 # via -r requirements/base.in -filelock==3.12.2 +filelock==3.12.4 # via virtualenv flake8==5.0.4 # via @@ -61,7 +61,7 @@ flake8-debugger==4.1.2 # via -r requirements/test.in flake8-docstrings==1.7.0 # via -r requirements/test.in -flake8-isort==6.0.0 +flake8-isort==6.1.0 # via -r requirements/test.in flake8-print==5.0.0 # via -r requirements/test.in @@ -71,10 +71,12 @@ freezegun==1.2.2 # via -r requirements/test.in greenlet==2.0.2 # via sqlalchemy -identify==2.5.27 +identify==2.5.29 # via pre-commit idna==3.4 # via requests +importlib-metadata==6.8.0 + # via build iniconfig==2.0.0 # via pytest isort==5.11.5 @@ -97,7 +99,7 @@ nodeenv==1.8.0 # via pre-commit opensearch-dsl==2.1.0 # via -r requirements/base.in -opensearch-py==2.3.0 +opensearch-py==2.3.1 # via opensearch-dsl packaging==23.1 # via @@ -114,9 +116,9 @@ platformdirs==3.10.0 # via # black # virtualenv -pluggy==1.2.0 +pluggy==1.3.0 # via pytest -pre-commit==3.3.3 +pre-commit==3.4.0 # via -r requirements/dev.in psycopg2-binary==2.9.7 # via -r requirements/base.in @@ -132,7 +134,7 @@ pyflakes==2.5.0 # via flake8 pyproject-hooks==1.0.0 # via build -pytest==7.4.0 +pytest==7.4.2 # via # -r requirements/test.in # pytest-cov @@ -193,7 +195,7 @@ tomli==2.0.1 # pip-tools # pyproject-hooks # pytest -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via black urllib3==1.26.16 # via @@ -201,10 +203,12 @@ urllib3==1.26.16 # elasticsearch # opensearch-py # requests -virtualenv==20.24.3 +virtualenv==20.24.5 # via pre-commit -wheel==0.41.1 +wheel==0.41.2 # via pip-tools +zipp==3.17.0 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/prod.txt b/requirements/prod.txt index 97aba136..81bd64c0 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -2,15 +2,15 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --config=pyproject.toml --output-file=requirements/prod.txt requirements/prod.in +# pip-compile --output-file=requirements/prod.txt requirements/prod.in # async-timeout==4.0.3 # via redis -black==23.7.0 +black==23.9.1 # via -r requirements/base.in -boto3==1.28.31 +boto3==1.28.51 # via -r requirements/base.in -botocore==1.31.31 +botocore==1.31.51 # via # boto3 # s3transfer @@ -33,7 +33,7 @@ elasticsearch-dsl==7.4.1 # via -r requirements/base.in environs==9.5.0 # via -r requirements/base.in -faker==19.3.0 +faker==19.6.2 # via -r requirements/base.in greenlet==2.0.2 # via sqlalchemy @@ -51,7 +51,7 @@ mypy-extensions==1.0.0 # via black opensearch-dsl==2.1.0 # via -r requirements/base.in -opensearch-py==2.3.0 +opensearch-py==2.3.1 # via opensearch-dsl packaging==23.1 # via @@ -97,7 +97,7 @@ sqlparse==0.4.4 # via -r requirements/base.in tomli==2.0.1 # via black -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via black urllib3==1.26.16 # via diff --git a/requirements/test.txt b/requirements/test.txt index b36dbe53..3df24db1 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -2,15 +2,15 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --config=pyproject.toml --output-file=requirements/test.txt requirements/test.in +# pip-compile --output-file=requirements/test.txt requirements/test.in # async-timeout==4.0.3 # via redis -black==23.7.0 +black==23.9.1 # via -r requirements/base.in -boto3==1.28.31 +boto3==1.28.51 # via -r requirements/base.in -botocore==1.31.31 +botocore==1.31.51 # via # boto3 # s3transfer @@ -25,7 +25,7 @@ click==8.1.7 # via # -r requirements/base.in # black -coverage[toml]==7.3.0 +coverage[toml]==7.3.1 # via pytest-cov elasticsearch==7.13.4 # via @@ -37,7 +37,7 @@ environs==9.5.0 # via -r requirements/base.in exceptiongroup==1.1.3 # via pytest -faker==19.3.0 +faker==19.6.2 # via -r requirements/base.in flake8==5.0.4 # via @@ -50,7 +50,7 @@ flake8-debugger==4.1.2 # via -r requirements/test.in flake8-docstrings==1.7.0 # via -r requirements/test.in -flake8-isort==6.0.0 +flake8-isort==6.1.0 # via -r requirements/test.in flake8-print==5.0.0 # via -r requirements/test.in @@ -82,7 +82,7 @@ mypy-extensions==1.0.0 # via black opensearch-dsl==2.1.0 # via -r requirements/base.in -opensearch-py==2.3.0 +opensearch-py==2.3.1 # via opensearch-dsl packaging==23.1 # via @@ -94,7 +94,7 @@ pathspec==0.11.2 # via black platformdirs==3.10.0 # via black -pluggy==1.2.0 +pluggy==1.3.0 # via pytest psycopg2-binary==2.9.7 # via -r requirements/base.in @@ -108,7 +108,7 @@ pydocstyle==6.3.0 # via flake8-docstrings pyflakes==2.5.0 # via flake8 -pytest==7.4.0 +pytest==7.4.2 # via # -r requirements/test.in # pytest-cov @@ -164,7 +164,7 @@ tomli==2.0.1 # black # coverage # pytest -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via black urllib3==1.26.16 # via