Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps mutmut from 2.5.1 to 3.2.3.

Changelog

Sourced from mutmut's changelog.

3.2.3


* Crash with error message on invalid imports for `src` module
  • Autodetect simpler project configurations with test_*.py in the dir directly

  • Handle filenames (as opposed to dirnames) in paths_to_mutate

  • Also copy setup.cfg and pyproject.toml by default

  • Handle single line paths_to_mutate

3.2.2

  • Fixed crash when running mutmut results

3.2.1


* Read `paths_to_mutate` from config file
  • Mutate break to return to avoid timeouts

  • Added debug mode. Enable with debug=True in setup.cfg under [mutmut]

  • Fixed new test detection. The old code incorrectly detected new tests when there were none, creating a much slower interaction loop for fixing mutants.

  • And many more fixes

3.2.0

  • Timeouts for mutants implemented.

  • Browser: syntax highlighting for diff view

  • More fixes for generators.

  • Fix for src-style layout of projects.

  • Fixed bug where mutmut would recollect all tests on every run, slowing down startup.

3.1.0


* Correctly handle mutation for generator functions (`yield`).
</tr></table> 

... (truncated)

Commits
  • 20d0a62 Release
  • 548c0ed Remove testing of EOL python versions
  • ec387be Crash with error message on invalid imports for src module
  • c388a99 Autodetect simpler project configurations with test_*.py in the dir directly
  • c8fd9f9 Handle filenames (as opposed to dirnames) in paths_to_mutate
  • 1e809bf Merge pull request #357 from WillGibson/patch-1
  • 772c413 Correct position of comma CONTRIBUTING.rst
  • ca3e690 Merge pull request #356 from WillGibson/test-multiple-python-versions
  • 98b5f5c Merge pull request #355 from WillGibson/initial-contributing-documentation
  • 292b9c5 Temporarily lock to GitHub Actions unit test runner to ubuntu-22.04
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 14, 2025
@dependabot dependabot bot force-pushed the dependabot/pip/mutmut-3.2.3 branch 2 times, most recently from 314d3ca to 0e96671 Compare January 21, 2025 15:04
@dependabot dependabot bot force-pushed the dependabot/pip/mutmut-3.2.3 branch from 0e96671 to 8dc50f5 Compare February 1, 2025 03:44
@TeoZosa
Copy link
Owner

TeoZosa commented Feb 26, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/mutmut-3.2.3 branch from 8dc50f5 to 0c923af Compare February 26, 2025 08:51
@TeoZosa TeoZosa force-pushed the dependabot/pip/mutmut-3.2.3 branch 3 times, most recently from ffac58a to 7da9be7 Compare March 1, 2025 07:22
dependabot bot and others added 6 commits April 3, 2025 12:00
Bumps [mutmut](https://github.com/boxed/mutmut) from 2.5.1 to 3.2.3.
- [Changelog](https://github.com/boxed/mutmut/blob/main/HISTORY.rst)
- [Commits](boxed/mutmut@2.5.1...3.2.3)

---
updated-dependencies:
- dependency-name: mutmut
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
```
=================================== ERRORS ====================================
_ ERROR collecting tests/docs_src/test_pure_structlog_logging_without_sentry.py _
ImportError while importing test module '/home/runner/work/structlog-sentry-logger/structlog-sentry-logger/mutants/tests/docs_src/test_pure_structlog_logging_without_sentry.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/docs_src/test_pure_structlog_logging_without_sentry.py:14: in <module>
    from docs_src import (  # pylint: disable=import-error
E   ModuleNotFoundError: No module named 'docs_src'
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.69s ===============================
```
```
=================================== FAILURES ===================================
__________________ test_mock_read_bad_git_ownership_root_dir ___________________
/home/runner/work/structlog-sentry-logger/structlog-sentry-logger/mutants/tests/structlog_sentry_logger/test__config.py:266: in test_mock_read_bad_git_ownership_root_dir
    assert tmp_path == structlog_sentry_logger._config.get_git_root()
        git_repo   = <git.repo.base.Repo '/tmp/pytest-of-runner/pytest-0/test_mock_read_bad_git_ownersh0/.git'>
        mock_err   = <function test_mock_read_bad_git_ownership_root_dir.<locals>.mock_err at 0x7f76f8c3bc40>
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f76f8c0bb60>
        tmp_path   = PosixPath('/tmp/pytest-of-runner/pytest-0/test_mock_read_bad_git_ownersh0')
/home/runner/work/structlog-sentry-logger/structlog-sentry-logger/mutants/structlog_sentry_logger/_config.py:277: in get_git_root
    result = _mutmut_trampoline(x_get_git_root__mutmut_orig, x_get_git_root__mutmut_mutants, *args, **kwargs)
        args       = ()
        kwargs     = {}
/home/runner/work/structlog-sentry-logger/structlog-sentry-logger/mutants/structlog_sentry_logger/_config.py:14: in _mutmut_trampoline
    result = orig(*args, **kwargs)
        args       = ()
        kwargs     = {}
        mutant_under_test = 'stats'
        mutants    = {'x_get_git_root__mutmut_1': <function x_get_git_root__mutmut_1 at 0x7f76f8c184a0>, 'x_get_git_root__mutmut_2': <funct...t__mutmut_3 at 0x7f76f8c191c0>, 'x_get_git_root__mutmut_4': <function x_get_git_root__mutmut_4 at 0x7f76f8c19260>, ...}
        orig       = <function x_get_git_root__mutmut_orig at 0x7f76f8c19080>
        os         = <module 'os' (frozen)>
        record_trampoline_hit = <function record_trampoline_hit at 0x7f7704a51080>
/home/runner/work/structlog-sentry-logger/structlog-sentry-logger/mutants/structlog_sentry_logger/_config.py:199: in x_get_git_root__mutmut_orig
    git_repo = git.Repo(pathlib.Path.cwd(), search_parent_directories=True)
E   AttributeError: 'NoneType' object has no attribute 'Repo'
```
@TeoZosa TeoZosa force-pushed the dependabot/pip/mutmut-3.2.3 branch from 7da9be7 to 86e27e4 Compare April 3, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant