Skip to content

Commit 20cc23b

Browse files
committed
chore: freeze dev dependencies
1 parent 89af850 commit 20cc23b

File tree

3 files changed

+30
-19
lines changed

3 files changed

+30
-19
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project
66
adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [Unreleased]
9+
10+
[unreleased]: https://github.com/rogdham/python-xz/compare/v0.5.0...HEAD
11+
12+
### :house: Internal
13+
14+
- Freeze dev dependencies versions
15+
816
## [0.5.0] - 2023-02-27
917

1018
[0.5.0]: https://github.com/rogdham/python-xz/releases/tag/v0.5.0

dev-requirements.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22
-e .
33

44
# typing
5-
mypy
5+
mypy==1.0.1
66

77
# tests
8-
coverage
9-
pytest
10-
pytest-cov
8+
pytest==7.2.1
9+
pytest-cov==4.0.0
1110

1211
# lint
13-
pylint
12+
pylint==2.16.2
1413

1514
# format
16-
black
17-
isort
15+
black==23.1.0
16+
isort==5.12.0
1817

1918
# publish
20-
setuptools_scm
21-
wheel
19+
setuptools_scm==7.1.0
20+
wheel==0.38.4

tox.ini

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ envlist =
55

66
[testenv]
77
deps =
8-
pytest
9-
pytest-cov
8+
pytest==7.2.1
9+
pytest-cov==4.0.0
1010
passenv = PY_COLORS
1111
setenv =
1212
COVERAGE_FILE = {toxworkdir}/{envname}/.coverage
@@ -16,36 +16,40 @@ commands =
1616
py: -coverage html
1717

1818
[testenv:generate-integration-files]
19+
basepython = python3.11
1920
deps =
20-
pytest
21-
pytest-cov
21+
pytest==7.2.1
22+
pytest-cov==4.0.0
2223
passenv = PY_COLORS
2324
setenv =
2425
PYTEST_ADDOPTS = --no-cov
2526
PYTHONDEVMODE = 1
2627
commands = pytest -vv -m generate_integration_files --generate-integration-files
2728

2829
[testenv:type]
30+
basepython = python3.11
2931
deps =
30-
mypy
31-
pytest # for typing
32+
mypy==1.0.1
33+
pytest==7.2.1 # for typing
3234
commands =
3335
mypy
3436
mypy --namespace-packages --explicit-package-bases tests
3537

3638
[testenv:lint]
39+
basepython = python3.11
3740
deps =
38-
pylint
39-
pytest # to avoid import errors
41+
pylint==2.16.2
42+
pytest==7.2.1 # to avoid import errors
4043
commands =
4144
pylint src
4245
pylint -d duplicate-code,too-many-statements,use-implicit-booleaness-not-comparison tests
4346

4447
[testenv:format]
48+
basepython = python3.11
4549
skip_install = true
4650
deps =
47-
black
48-
isort
51+
black==23.1.0
52+
isort==5.12.0
4953
commands =
5054
black {posargs:--check --diff} src tests
5155
isort {posargs:--check --diff} src tests

0 commit comments

Comments
 (0)