Skip to content

Commit 023f750

Browse files
committed
Merge remote-tracking branch 'origin/master' into dependabot/pip/requirements/pylint-2.12.2
2 parents 16e1f37 + 844233a commit 023f750

File tree

23 files changed

+37
-41
lines changed

23 files changed

+37
-41
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: [3.9]
23+
python-version: ["3.9"]
2424
ci_pattern:
2525
- test_query.py::TestContentType
2626
- test_query.py::TestSuccess

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
python-version: [3.9]
22+
python-version: ["3.9"]
2323

2424
steps:
2525
- uses: actions/checkout@v2

.github/workflows/windows-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
python-version: [3.9]
20+
python-version: ["3.9"]
2121
platform: [windows-latest]
2222

2323
runs-on: ${{ matrix.platform }}
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
SKIP_REAL: 1
6161
run: |
62-
pytest -s -vvv --exitfirst --cov=src/ --cov=tests --cov-report=xml tests/mock_vws/${{ matrix.ci_pattern }}
62+
pytest -s -vvv --exitfirst --cov=src/ --cov=tests --cov-report=xml tests/mock_vws/
6363
6464
- name: "Show coverage file"
6565
run: |

docs/source/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,16 @@
4747
# The name of the syntax highlighting style to use.
4848
pygments_style = 'sphinx'
4949

50+
python_minumum_supported_version = '3.9'
51+
5052
# Output file base name for HTML help builder.
5153
htmlhelp_basename = 'VWSPYTHONMOCKdoc'
5254
autoclass_content = 'init'
5355
intersphinx_mapping = {
54-
'python': ('https://docs.python.org/3.9', None),
56+
'python': (
57+
f'https://docs.python.org/{python_minumum_supported_version}',
58+
None,
59+
),
5560
'docker': ('https://docker-py.readthedocs.io/en/stable', None),
5661
}
5762
nitpicky = True
@@ -85,6 +90,7 @@
8590
autodoc_member_order = 'bysource'
8691

8792
rst_prolog = f"""
93+
.. |python-minumum-version| replace:: {python_minumum_supported_version}
8894
.. |project| replace:: {project}
8995
.. |release| replace:: {release}
9096
.. |github-owner| replace:: VWS-Python

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Mocking calls made to Vuforia with Python ``requests``
88

99
pip3 install vws-python-mock
1010

11-
This requires Python 3.9+.
11+
This requires Python |python-minumum-version|\+.
1212

1313
.. include:: basic-example.rst
1414

docs/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Installation
55

66
pip3 install vws-python-mock
77

8-
This requires Python 3.9+.
8+
This requires Python |python-minumum-version|\+.

docs/source/release-process.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Outcomes
1010
Prerequisites
1111
~~~~~~~~~~~~~
1212

13-
* ``python3`` on your ``PATH`` set to Python 3.9+.
13+
* ``python3`` on your ``PATH`` set to Python |python-minumum-version|\+.
1414
* ``virtualenv``.
1515
* Push access to this repository.
1616
* Trust that ``master`` is ready and high enough quality for release.

lint.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fix-isort:
4242

4343
.PHONY: pip-extra-reqs
4444
pip-extra-reqs:
45-
pip-extra-reqs --requirements-file=requirements/requirements.txt src/
45+
pip-extra-reqs --skip-incompatible --requirements-file=requirements/requirements.txt src/
4646

4747
.PHONY: pip-missing-reqs
4848
pip-missing-reqs:

readthedocs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
version: 2
22

3-
# We do this because at the time of writing we need "image: testing" for Python
4-
# 3.9.
53
build:
6-
image: testing
4+
os: ubuntu-20.04
5+
tools:
6+
python: "3.9"
77

88
python:
99
install:
1010
- method: pip
1111
path: .
1212
extra_requirements:
1313
- dev
14-
version: 3.9
1514

1615
sphinx:
1716
builder: html

requirements/dev-requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Sphinx-Substitution-Extensions==2020.9.30.0
33
Sphinx==4.3.1
44
VWS-Test-Fixtures==2021.11.5.1
55
autoflake==1.4
6-
black==21.11b1
6+
black==21.12b0
77
check-manifest==0.47
88
doc8==0.10.1
99
docker==5.0.3
@@ -14,7 +14,7 @@ flake8==4.0.1 # Lint
1414
freezegun==1.1.0 # Freeze time in tests
1515
furo==2021.11.23
1616
isort==5.10.1 # Lint imports
17-
keyring==23.3.0
17+
keyring==23.4.0
1818
mypy==0.910 # Type checking
1919
pip_check_reqs==2.3.2
2020
pydocstyle==6.1.1 # Lint docstrings
@@ -29,12 +29,12 @@ requests-mock-flask==2021.7.10.0
2929
sphinx-autodoc-typehints==1.12.0
3030
sphinx_paramlinks==0.5.2
3131
sphinxcontrib-httpdomain==1.8.0
32-
sphinxcontrib-spelling==7.2.1
33-
twine==3.7.0
32+
sphinxcontrib-spelling==7.3.0
33+
twine==3.7.1
3434
types-Flask==1.1.6
3535
types-freezegun==1.1.3
3636
types-PyYAML==6.0.1
37-
types-requests==2.26.0
38-
types-setuptools==57.4.3
37+
types-requests==2.26.1
38+
types-setuptools==57.4.4
3939
vulture==2.3
4040
vws-python==2021.3.28.2

0 commit comments

Comments
 (0)