Terence Tsang (7bd41943) at 13 Mar 08:12
Merge branch 'test-fixes' into 'master'
Terence Tsang (d982ca90) at 13 Mar 07:57
Terence Tsang (7bd41943) at 13 Mar 07:57
Merge branch 'test-fixes' into 'master'
... and 1 more commit
pyproject.toml::[tool.mypy.files].mock-ci/ to also typecheck that automaticallysrc/pytest_autoprofile/__init__.py::__version__src/pytest_autoprofile/line_profiler PR #419 made the package more transparent to type-checkers
_doctest.pyprofiler.pyREADME.mdtests/test_profiler.pyline_profiler versions
(see line_profiler PR #414):
test_profiling_{{bound,class,static}method,property,partial}()tests_add_imported_function_or_module()test_global_profiler().ci-dependency-versions.yml
[.middle-stack.variables.SETUPTOOLS_VERSION]setuptools < v82 because newer versions no longer ships with pkg_resources
(see setuptools PR #5007),
which is required by pytest_doctestplus < v1.3
[.newest-stack.variables]${PYTEST_VERSION}: 9.0.1 -> 9.0.2${PYTEST_DOCTESTPLUS_VERSION}: 1.5.0 -> 1.7.1[.bleeding-edge-stack.variabls.PYTHON_VERSION].ci-helper-funcs.py::install_requirements(),
python .ci-helper-funcs.py install-requirementssetuptools,
which are only explicitly installed when the corresponding environment variable is passed.mock-ci/pytest_autoprofiler_local_ci/
stacks.py::Stack
.setuptools${SETUPTOOLS_VERSION} in CI config files.to_ci_environment_variables()environment.py::find_python()${PYTHON_VERSION} to not set a patch/micro version.gitlab-ci.yml::[workflow.rules]Terence Tsang (d982ca90) at 13 Mar 07:43
Bumped dependencies on "newest" stack
... and 1 more commit
pyproject.toml::[tool.mypy.files].mock-ci/ to also typecheck that automaticallysrc/pytest_autoprofile/__init__.py::__version__src/pytest_autoprofile/line_profiler PR #419 made the package more transparent to type-checkers
_doctest.pyprofiler.pyREADME.mdtests/test_profiler.pyline_profiler versions
(see line_profiler PR #414):
test_profiling_{{bound,class,static}method,property,partial}()tests_add_imported_function_or_module()test_global_profiler().ci-dependency-versions.yml
[.middle-stack.variables.SETUPTOOLS_VERSION]setuptools < v82 because newer versions no longer ships with pkg_resources
(see setuptools PR #5007),
which is required by pytest_doctestplus < v1.3
[.newest-stack.variables]${PYTEST_VERSION}: 9.0.1 -> 9.0.2${PYTEST_DOCTESTPLUS_VERSION}: 1.5.0 -> 1.7.1[.bleeding-edge-stack.variabls.PYTHON_VERSION].ci-helper-funcs.py::install_requirements(),
python .ci-helper-funcs.py install-requirementssetuptools,
which are only explicitly installed when the corresponding environment variable is passed.mock-ci/pytest_autoprofiler_local_ci/
stacks.py::Stack
.setuptools${SETUPTOOLS_VERSION} in CI config files.to_ci_environment_variables()environment.py::find_python()${PYTHON_VERSION} to not set a patch/micro version.gitlab-ci.yml::[workflow.rules]Terence Tsang (5fcae039) at 09 Mar 07:33
Pin setuptools version for the "middle" CI stack
... and 1 more commit
I think Jakob fixed the docs in !3158 (merged). Should this be closed?
Seems that !3158 (merged) has fixed the docs and is more concise; I'll just close this one then.
See #1401.
Terence Tsang (fbae4a37) at 08 Feb 05:01
Merge branch 'diropt-unocc' into 'master'
... and 3435 more commits
Terence Tsang (257617a7) at 30 Dec 01:06
Merge branch 'lp-5-1-prep' into 'master'
Terence Tsang (93fdc150) at 30 Dec 00:55
Terence Tsang (257617a7) at 30 Dec 00:55
Merge branch 'lp-5-1-prep' into 'master'
... and 1 more commit
.ci-helper-funcs.py
python .ci-helper-funcs.py install-requirements now:
line_profiler as a default requirementHEAD versions,
if their corresponding ${*_VERSION} environment variable is set to the special value '<SOURCE>'
.gitlab-ci.yml
bleeding-edge stack put back into use (non-blocking on CI);
now signifying an environment where repo-HEAD versions of the requirements
(e.g. line_profiler, pytest, ...),
instead of pinned PyPI releases,
are used during tests.ci-dependency-versions.yml file.mock-ci/
configs.py::STACK:.ci-dependency-versions.yml to reduce duplication and avoid inconsistenciesstacks.py::Stack.line_profiler:${LINE_PROFILER_VERSION} when using .ci-helper-funcs.py
versioning.py::VersionInfo._compare():yaml_helper.py::parse_versions():test:.mock-ci/
pyproject.toml
Added pyyaml and types-pyyaml to the list of optional dependencies required for dev,
since they are now used by .mock-ci/
src/pytest_autoprofile/
__init__.py::__version__0.19.0
_test_utils.py::CheckPytestConfig# type: ignore[arg-type] comments:
.test_count, .capture_reported_warnings, .profiling_flags:.capture_reported_warnings).__post_init__():.new()
option_hooks.py::resolve_hooked_option():._opt2dest) of pytest.Config objects,
which will be moved in v9.0.x
(see pytest #13880)profiler.py
line_profiler.[...].LineStats class,
which will be moved in v5.1
(see line_profiler #380)_LinestatsCollator.__init__() to type-check bettertests/
CheckPytestConfig.new() constructortest_doctest.py::test_doctest_plus():pytest_doctestplus v1.6 and earlier versions
(see pytest-doctestplus #312)Terence Tsang (93fdc150) at 30 Dec 00:39
Bump __version__ to 0.19.0
.ci-helper-funcs.py
python .ci-helper-funcs.py install-requirements now:
line_profiler as a default requirementHEAD versions,
if their corresponding ${*_VERSION} environment variable is set to the special value '<SOURCE>'
.gitlab-ci.yml
bleeding-edge stack put back into use (non-blocking on CI);
now signifying an environment where repo-HEAD versions of the requirements
(e.g. line_profiler, pytest, ...),
instead of pinned PyPI releases,
are used during tests.ci-dependency-versions.yml file.mock-ci/
configs.py::STACK:.ci-dependency-versions.yml to reduce duplication and avoid inconsistenciesstacks.py::Stack.line_profiler:${LINE_PROFILER_VERSION} when using .ci-helper-funcs.py
versioning.py::VersionInfo._compare():yaml_helper.py::parse_versions():test:.mock-ci/
pyproject.toml
Added pyyaml and types-pyyaml to the list of optional dependencies required for dev,
since they are now used by .mock-ci/
src/pytest_autoprofile/
__init__.py::__version__0.19.0
_test_utils.py::CheckPytestConfig# type: ignore[arg-type] comments:
.test_count, .capture_reported_warnings, .profiling_flags:.capture_reported_warnings).__post_init__():.new()
option_hooks.py::resolve_hooked_option():._opt2dest) of pytest.Config objects,
which will be moved in v9.0.x
(see pytest #13880)profiler.py
line_profiler.[...].LineStats class,
which will be moved in v5.1
(see line_profiler #380)_LinestatsCollator.__init__() to type-check bettertests/
CheckPytestConfig.new() constructortest_doctest.py::test_doctest_plus():pytest_doctestplus v1.6 and earlier versions
(see pytest-doctestplus #312)Terence Tsang (74e07244) at 29 Dec 00:26
.mock-ci/: Read versions from YAML