Skip to content

Commit

Permalink
[python] add dependabot for python, add requirements.txt (#5683)
Browse files Browse the repository at this point in the history
fixes Azure/autorest.python#2871

---------

Co-authored-by: iscai-msft <[email protected]>
  • Loading branch information
iscai-msft and iscai-msft authored Jan 24, 2025
1 parent 2389dc7 commit 981ab79
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 30 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
11 changes: 11 additions & 0 deletions packages/http-client-python/eng/scripts/ci/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -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
12 changes: 1 addition & 11 deletions packages/http-client-python/generator/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r ../../eng/scripts/ci/dev_requirements.txt
aiohttp
pytest-asyncio==0.14.0
requests==2.32.2
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 981ab79

Please sign in to comment.