Skip to content

Commit 18324ff

Browse files
author
Test User
committed
Bump coverage versions and tweak pip install in CI scripts
1 parent 71cfc00 commit 18324ff

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ jobs:
417417
echo "INSTALL_EXTRAS=$INSTALL_EXTRAS"
418418
echo "UV_RESOLUTION=$UV_RESOLUTION"
419419
echo "MOD_VERSION=$MOD_VERSION"
420-
python -m pip install --prefer-binary "line_profiler[$INSTALL_EXTRAS]==$MOD_VERSION" -f wheelhouse
420+
python -m pip install --prefer-binary "${WHEEL_FPATH}[${INSTALL_EXTRAS}]"
421421
echo "Install finished."
422422
- name: Test wheel ${{ matrix.install-extras }}
423423
shell: bash

line_profiler/_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def configure(
168168
'path': None,
169169
'format': '%(asctime)s : [file] %(levelname)s : %(message)s',
170170
}
171-
streaminfo: dict[str, bool | None | str] = {
171+
streaminfo: dict[str, bool | None | str] = {
172172
'__enable__': None, # will be determined below
173173
'format': '%(levelname)s: %(message)s',
174174
}

requirements/tests.txt

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
pytest>=7.4.4 ; python_version < '4.0' and python_version >= '3.13' # Python 3.13+
2-
pytest>=7.4.4 ; python_version < '3.13' and python_version >= '3.12' # Python 3.12
3-
pytest>=7.4.4 ; python_version < '3.12' and python_version >= '3.11' # Python 3.11
4-
pytest>=7.4.4 ; python_version < '3.11' and python_version >= '3.10' # Python 3.10
5-
pytest>=7.4.4 ; python_version < '3.10' and python_version >= '3.9' # Python 3.9
6-
pytest>=7.4.4 ; python_version < '3.9' and python_version >= '3.8' # Python 3.8
7-
1+
pytest>=7.4.4
82
pytest-cov>=3.0.0
9-
10-
coverage[toml]>=7.3.0 ; python_version < '4.0' and python_version >= '3.12' # Python 3.12
11-
coverage[toml]>=6.5.0 ; python_version < '3.12' and python_version >= '3.10' # Python 3.10-3.11
12-
coverage[toml]>=6.5.0 ; python_version < '3.10' and python_version >= '3.9' # Python 3.9
13-
coverage[toml]>=6.5.0 ; python_version < '3.9' and python_version >= '3.8' # Python 3.8
14-
3+
coverage[toml]>=7.3.0
154
ubelt >= 1.3.4
165
xdoctest >= 1.1.3

0 commit comments

Comments
 (0)