Skip to content

Commit

Permalink
deps: update development constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed May 7, 2021
1 parent 4122379 commit 9591e88
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 57 deletions.
83 changes: 35 additions & 48 deletions poetry.lock

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

12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,15 @@ importlib-metadata = {version = "^1.6.0", python = "<3.8"}
dataclasses = {version = "^0.8", python = "~3.6"}

[tool.poetry.dev-dependencies]
pytest = "^5.4.3"
pytest-cov = "^2.5"
pytest-mock = "^1.9"
pytest = "^6.2"
pytest-cov = "^2.8"
pytest-mock = "^3.5"
pre-commit = { version = "^2.6", python = "^3.6.1" }
tox = "^3.0"
pytest-sugar = "^0.9.2"
pytest-sugar = "^0.9"
httpretty = "^1.0"
zipp = { version = "^3.4", python = "<3.8"}
deepdiff = "^5.0.2"
# temporary workaround for /~https://github.com/python-poetry/poetry/issues/3404
urllib3 = "1.25.10"
deepdiff = "^5.0"

[tool.poetry.scripts]
poetry = "poetry.console.application:main"
Expand Down
4 changes: 2 additions & 2 deletions tests/repositories/test_installed_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import pytest

from pytest_mock.plugin import MockFixture
from pytest_mock.plugin import MockerFixture

from poetry.core.packages.package import Package
from poetry.repositories.installed_repository import InstalledRepository
Expand Down Expand Up @@ -59,7 +59,7 @@ def env() -> MockEnv:


@pytest.fixture
def repository(mocker: MockFixture, env: MockEnv) -> InstalledRepository:
def repository(mocker: MockerFixture, env: MockEnv) -> InstalledRepository:
mocker.patch(
"poetry.utils._compat.metadata.Distribution.discover",
return_value=INSTALLED_RESULTS,
Expand Down

0 comments on commit 9591e88

Please sign in to comment.