diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..9c65144a0f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: + - package-ecosystem: "pip" + directories: + - "/packages/http-client-python/eng/" + - "/packages/http-client-python/generator/test" + - "/packages/http-client-python/generator/test/azure" + - "/packages/http-client-python/generator/test/unbranded" + schedule: + interval: "weekly" + commit-message: + prefix: "pip prod" + prefix-development: "pip dev" + include: "scope" + labels: + - "emitter:client:python" diff --git a/packages/http-client-python/eng/scripts/ci/dev_requirements.txt b/packages/http-client-python/eng/scripts/ci/dev_requirements.txt new file mode 100644 index 0000000000..38c286da5d --- /dev/null +++ b/packages/http-client-python/eng/scripts/ci/dev_requirements.txt @@ -0,0 +1,11 @@ +pyright==1.1.391 +pylint==3.2.7 +tox==4.16.0 +mypy==1.14.1 +colorama==0.4.6 +debugpy==1.8.2 +pytest==8.3.2 +coverage==7.6.1 +black==24.8.0 +ptvsd==4.3.2 +types-PyYAML==6.0.12.8 diff --git a/packages/http-client-python/generator/dev_requirements.txt b/packages/http-client-python/generator/dev_requirements.txt index 99b5bfa176..5ad915cc9c 100644 --- a/packages/http-client-python/generator/dev_requirements.txt +++ b/packages/http-client-python/generator/dev_requirements.txt @@ -1,12 +1,2 @@ -e ./generator -pyright==1.1.391 -pylint==3.2.7 -tox==4.16.0 -mypy==1.14.1 -colorama==0.4.6 -debugpy==1.8.2 -pytest==8.3.2 -coverage==7.6.1 -black==24.8.0 -ptvsd==4.3.2 -types-PyYAML==6.0.12.8 +-r ../eng/scripts/ci/dev_requirements.txt diff --git a/packages/http-client-python/generator/test/azure/requirements.txt b/packages/http-client-python/generator/test/azure/requirements.txt index cd2fa0481f..5c4e0d05a3 100644 --- a/packages/http-client-python/generator/test/azure/requirements.txt +++ b/packages/http-client-python/generator/test/azure/requirements.txt @@ -1,15 +1,7 @@ -setuptools==69.5.1 +-r ../dev_requirements.txt -e ../../ -aiohttp;python_full_version>="3.5.2" -requests==2.32.2 -pytest -pytest-asyncio==0.14.0;python_full_version>="3.5.2" azure-core==1.30.0 azure-mgmt-core==1.3.2 -pyright==1.1.391 -pylint==3.2.7 -tox==4.18.1 -mypy==1.14.1 # only for azure -e ./generated/azure-client-generator-core-access diff --git a/packages/http-client-python/generator/test/dev_requirements.txt b/packages/http-client-python/generator/test/dev_requirements.txt new file mode 100644 index 0000000000..aa9d18c9eb --- /dev/null +++ b/packages/http-client-python/generator/test/dev_requirements.txt @@ -0,0 +1,4 @@ +-r ../../eng/scripts/ci/dev_requirements.txt +aiohttp +pytest-asyncio==0.14.0 +requests==2.32.2 diff --git a/packages/http-client-python/generator/test/unbranded/requirements.txt b/packages/http-client-python/generator/test/unbranded/requirements.txt index 295c6de28e..1e08545659 100644 --- a/packages/http-client-python/generator/test/unbranded/requirements.txt +++ b/packages/http-client-python/generator/test/unbranded/requirements.txt @@ -1,14 +1,5 @@ -setuptools==69.5.1 +-r ../dev_requirements.txt -e ../../ -aiohttp;python_full_version>="3.5.2" -requests==2.32.2 -pytest -pytest-asyncio==0.14.0;python_full_version>="3.5.2" -pyright==1.1.391 -pylint==3.2.7 -tox==4.18.1 -mypy==1.14.1 - # common test case -e ./generated/authentication-api-key