Skip to content

Commit ba262c5

Browse files
fix: update coverage dependency and include toml extra
1 parent b79d886 commit ba262c5

File tree

4 files changed

+67
-65
lines changed

4 files changed

+67
-65
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test:
7070
matrix:
7171
- DOCKER_IMAGE: "python:3.11"
7272
- DOCKER_IMAGE: "python:3.6"
73-
EXTRA_POETRY_ADD_ARGUMENT: "[email protected]"
73+
EXTRA_POETRY_ADD_ARGUMENT: "[email protected] [email protected]"
7474
USE_MOCK_SERVER: "use mock server"
7575
- DOCKER_IMAGE: "python:3.7"
7676
USE_MOCK_SERVER: "use mock server"
@@ -83,7 +83,7 @@ test:
8383
- DOCKER_IMAGE: "python:3.11"
8484
USE_MOCK_SERVER: "use mock server"
8585
- DOCKER_IMAGE: "python:3.6"
86-
EXTRA_POETRY_ADD_ARGUMENT: "[email protected] [email protected]"
86+
8787
USE_MOCK_SERVER: "use mock server"
8888
- DOCKER_IMAGE: "python:3.9"
8989
EXTRA_POETRY_ADD_ARGUMENT: "[email protected]"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
* Fix `py` dependency by upgrading `pytest` version to 7.2.0 for Python 3.7+.
1313
For Python 3.6 tests `pytest` needs to be added manually.
1414
* Remove unused `tox` dependency.
15+
* Update `coverage` dependency.
1516

1617

1718
## [1.11.0] - 2022-09-26

poetry.lock

Lines changed: 60 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ requests = "^2"
4242

4343
[tool.poetry.dev-dependencies]
4444
black = "^21.4b2"
45-
# pytest v7.2.0 addresses a vulnerability but unfortunately only supports Python 3.7+
46-
# To test on Python 3.6 we install pytest v6.2.3 manually.
47-
pytest = { version = "^7.2.0", python = ">=3.7,<4" }
4845
pydantic = "^1.8.1"
49-
coverage = "^5.5"
5046
flake8 = "^3.9.2"
47+
# pytest v7.2.0 addresses a vulnerability but unfortunately only supports Python 3.7+
48+
# To test on Python 3.6 we install pytest v6.2.3 and coverage manually.
49+
pytest = { version = "^7.2.0", python = ">=3.7,<4" }
50+
coverage = {extras = ["toml"], version = "^6.5.0", python = ">=3.7,<4"}
5151

5252
[tool.poetry.scripts]
5353
deepl = "deepl.__main__:main"

0 commit comments

Comments
 (0)