Skip to content

Commit

Permalink
Fix vulnerability cause by pytest
Browse files Browse the repository at this point in the history
See Dependabot #2. Also cap the azure-mgmt-datafactory lib at lower
than 2.7.0. This is needed as the typing after 2.7.0 becomes
problematic. Some changes were made without updating docs, leading
to attributes/parameters requiring a JSON-like MutableMapping
parameter instead of a string, without explaining what fields would/
should be set in this struct.
  • Loading branch information
danielvdende committed Oct 28, 2022
1 parent 0f4e016 commit ae8d957
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 94 deletions.
141 changes: 49 additions & 92 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ keywords = ["azure", "data", "factory"]

[tool.poetry.dependencies]
python = "^3.8"
azure-mgmt-datafactory = "^2.2.1"
azure-mgmt-datafactory = "^2.2.1, <2.7.0"
azure-identity = "^1.7.1"
click = "^8.1.3"

[tool.poetry.dev-dependencies]
pytest = "^7.0.1"
pytest = "^7.2.0"
flake8 = "^4.0.1"
coverage = "^6.3.2"
pytest-cov = "^3.0.0"
Expand Down

0 comments on commit ae8d957

Please sign in to comment.