Skip to content

Commit

Permalink
Bump test dependencies (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Jan 4, 2023
1 parent b457d5f commit 1abc8d3
Show file tree
Hide file tree
Showing 14 changed files with 225 additions and 456 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
FORCE_COLOR: 1
PY_COLORS: 1
TOXENV: packaging
TOXENV: pkg
TOX_PARALLEL_NO_SPINNER: 1

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install -U pip 'coverage[toml]'
python3 -m pip install 'tox>=4.0.0rc2'
python3 -m pip install 'tox>=4.0.0'
- name: Run tox -e ${{ matrix.tox_env }}
run: |
echo "${{ matrix.PREFIX }} tox -e ${{ matrix.tox_env }}"
${{ matrix.PREFIX }} tox -e ${{ matrix.tox_env }}
continue-on-error: ${{ matrix.experimental || false }}
- name: Combine coverage data
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fund=false
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
- prettier
- prettier-plugin-toml
- repo: https://github.com/PyCQA/doc8
rev: "v1.0.0"
rev: "v1.1.1"
hooks:
- id: doc8
- repo: https://github.com/codespell-project/codespell
Expand All @@ -43,11 +43,11 @@ repos:
tools/test-schema/package-lock.json
)$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.11.4
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black
language_version: python3
Expand Down Expand Up @@ -101,7 +101,7 @@ repos:
- types-filelock
- types-setuptools
- repo: https://github.com/PyCQA/pylint
rev: v2.15.6
rev: v2.15.9
hooks:
- id: pylint
additional_dependencies:
Expand All @@ -115,7 +115,7 @@ repos:
- pexpect
- testinfra
- repo: https://github.com/jazzband/pip-tools
rev: 6.10.0
rev: 6.12.1
hooks:
- id: pip-compile
entry: pip-compile -q --resolver=backtracking --strip-extras --no-annotate --output-file=requirements.txt tools/opts.txt pyproject.toml --extra docs --extra test --extra lint
Expand Down
63 changes: 0 additions & 63 deletions .pyup.yml

This file was deleted.

4 changes: 2 additions & 2 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ Run all unit tests with coverage.

.. code-block:: bash
$ tox -e 'py{27,35,36,37,38}-unit'
$ tox -e py
Run all unit tests for a specific version of Python .

.. code-block:: bash
$ tox -e py37-unit
$ tox -e py311
Linting
-------
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ docs = [
"sphinx-notfound-page >= 0.7.1",
]
lint = [
"check-jsonschema >= 0.19.2",
"flake8 >= 3.8.4",
"check-jsonschema >= 0.20.0",
"flake8 >= 6.0.0",
"jsonschema >= 4.17.3",
"pre-commit >= 2.10.1",
"yamllint",
"pre-commit >= 2.21.0",
"yamllint >= 1.28.0",
]
test = [
# Do not include ansible or any package that would drag ansible in here
Expand Down Expand Up @@ -105,7 +105,7 @@ branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]

[tools.doc8]
[tool.doc8]
# see https://github.com/PyCQA/doc8/issues/75
ignore-path = [
".eggs",
Expand Down
37 changes: 18 additions & 19 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --extra=docs --extra=lint --extra=test --no-annotate --output-file=requirements.txt --resolver=backtracking --strip-extras pyproject.toml tools/opts.txt
#
alabaster==0.7.12
ansi2html==1.8.0
ansible-compat==2.2.4
ansible-core==2.13.6
ansible-compat==2.2.6
ansible-core==2.14.0
ansible-pygments==0.1.1
arrow==1.2.3
attrs==22.1.0
babel==2.10.3
babel==2.11.0
binaryornot==0.4.4
certifi==2022.9.24
cffi==1.15.1
cfgv==3.3.1
chardet==5.0.0
chardet==5.1.0
charset-normalizer==2.1.1
check-jsonschema==0.19.2
check-jsonschema==0.20.0
click==8.1.3
click-help-colors==0.9.1
commonmark==0.9.1
cookiecutter==2.1.1
coverage==6.5.0
cryptography==38.0.3
cryptography==38.0.4
distlib==0.3.6
distro==1.8.0
docutils==0.17.1
enrich==1.2.7
exceptiongroup==1.0.3
exceptiongroup==1.0.4
execnet==1.9.0
filelock==3.8.0
filelock==3.8.2
flake8==6.0.0
identify==2.5.9
idna==3.4
Expand All @@ -50,7 +50,7 @@ pathspec==0.10.2
pexpect==4.8.0
platformdirs==2.5.4
pluggy==1.0.0
pre-commit==2.20.0
pre-commit==2.21.0
ptyprocess==0.7.0
py==1.11.0
pycodestyle==2.10.0
Expand All @@ -65,10 +65,10 @@ pytest-html==3.2.0
pytest-metadata==2.0.4
pytest-mock==3.10.0
pytest-plus==0.2
pytest-testinfra==6.8.0
pytest-xdist==3.0.2
pytest-testinfra==7.0.0
pytest-xdist==3.1.0
python-dateutil==2.8.2
python-slugify==6.1.2
python-slugify==7.0.0
pytz==2022.6
pyyaml==6.0
requests==2.28.1
Expand All @@ -82,21 +82,20 @@ snowballstemmer==2.2.0
sphinx==5.3.0
sphinx-ansible-theme==0.9.1
sphinx-notfound-page==0.8.3
sphinx-rtd-theme==1.0.0
sphinx-rtd-theme==1.1.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
subprocess-tee==0.3.5
subprocess-tee==0.4.1
text-unidecode==1.3
toml==0.10.2
tomli==2.0.1
urllib3==1.26.12
urllib3==1.26.13
virtualenv==20.17.0
yamllint==1.28.0
zipp==3.10.0
zipp==3.11.0

# The following packages are considered to be unsafe in a requirements file:
# setuptools
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ stdout:
"message": "2 is not of type 'array'",
"has_sub_errors": false
}
],
"parse_errors": []
]
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ stdout:
"message": "'bar' is not of type 'object'",
"has_sub_errors": false
}
],
"parse_errors": []
]
}
```
Loading

0 comments on commit 1abc8d3

Please sign in to comment.