Skip to content
Closed
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
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
target-branch: "mainline-1.x"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
target-branch: "mainline-2.x"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
Comment on lines +1 to +20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know if dependabot will make recommendations for any requirements file? Or will it only think about the requirements file in root directory and ignore test/requirements.txt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll look at any requirements file, it's the same way with the ddbec-java repo. There are two pom.xml files, one in the root and one in sdk1/

8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
boto3>=1.10.0
cryptography>=2.5.0
attrs>=17.4.0
wrapt>=1.10.11
boto3==1.20.24
cryptography==36.0.1
attrs==21.2.0
wrapt==1.13.3
Comment on lines -1 to +4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this is a bad idea. Why? Our customers now cannot use different versions of these dependencies in their environments. I recommend reverting the changes in this file.

Comment on lines -1 to +4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this is a bad idea. Why? Our customers now cannot use different versions of these dependencies in their environments. I recommend reverting the changes in this file.

15 changes: 11 additions & 4 deletions test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
mock
pytest>=3.3.1
pytest-cov
pytest-mock
mock==4.0.0
pytest==6.2.5
pytest-cov==3.0.0
pytest-mock==3.6.0

bandit==1.7.1
doc8==0.10.1
flake8==4.0.1
pylint==2.12.2
black==21.12b0
isort==5.10.1
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ commands = python setup.py check -r -s
[testenv:bandit]
basepython = python3
deps =
bandit>=1.5.1
bandit
commands = bandit -r src/aws_encryption_sdk/

# Prone to false positives: only run independently
Expand Down