Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update python dev-dependencies #363

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bump-my-version >=1.0.1 -> >=1.1.1 age adoption passing confidence
inline-snapshot (changelog) >=0.19.3 -> >=0.21.2 age adoption passing confidence
poethepoet >=0.32.1 -> >=0.33.1 age adoption passing confidence
pytest-asyncio (changelog) >=0.25.2 -> >=0.26.0 age adoption passing confidence

Release Notes

callowayproject/bump-my-version (bump-my-version)

v1.1.1

Compare Source

Compare the full difference.

Fixes
  • Fix fallback search pattern in files. 51ea69f

    Refactor _contains_change_pattern method by removing unused context parameter.

    Replace version config usage with DEFAULT_CONFIG to provide correct fallback logic.

    Minor test update to align with changes.

  • Fixes lack of rendering in moveable tags. d201dff

v1.1.0

Compare Source

Compare the full difference.

Fixes
  • Refactor Mercurial SCM support and improve test coverage. acd94d1

    Revamped the Mercurial SCM implementation with new features including full tag retrieval, commit handling, and clean working directory assertion. Enhanced test suite with new Mercurial-specific tests for functionality and edge cases.

  • Fixed the test_bump_nested_regex function to use utc time. 7d33dff

    Code in the test function used the machine local time instead of UTC
    time. This made the test fail if the user was not in UTC time, as the
    fixture tested against a bumped time using utcnow

    Added a recipe to justfile to run the tests and open the coverage report
    in a default web browser

  • Fix caching in action. d3b9f76

New
  • Added to the setup section in the contribution doc for the devenv.nix shell. f94cc27

  • Added devenv.nix and justfile. 653d917

    Addition of devenv.nix allows developers to easily create hermetic
    environments in order to develop this package. This greatly simplifies
    the setup of the environment, and utilizes uv's tooling to create the
    virtual environment(s). Devenv.nix can also handle git-hooks, but that
    is already handled via the .pre-commit-config.yaml file.

    The justfile includes some helpful starter recipes. Additional recipes
    can be added, such as build and publishing of the package/Docker.

Other
Updates
  • Improved mercurial test coverage. e35eee1

v1.0.2

Compare Source

Compare the full difference.

Fixes
  • Fix incorrect evaluation. 3578c87

    The check for valid files to add should be filename, not self.files

  • Refactor and improve test structure for file modifications. 8b52174

    Consolidated and restructured tests for modify_files into classes for better organization and clarity. Fixed an issue where empty file configurations were not properly ignored and enhanced filtering logic in configuration handling.

    Fixes #​312

Other
  • Replace list[str] with List[str] for Python 3.8+ compatibility. 6fb977c

    Updated all instances of list[str] with the generic List[str] from the typing module to maintain compatibility with older Python versions (3.8 and earlier). This ensures consistent type annotations across the codebase.

    Fixes #​313

  • [pre-commit.ci] pre-commit autoupdate. a057743

    updates: - github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.9.9

15r10nk/inline-snapshot (inline-snapshot)

v0.21.2

Compare Source

Fixed

  • repr(Is(x)) returns the same value as repr(x) to provide nice pytest outputs (#​217)

v0.21.1

Compare Source

Changed

  • trailing white spaces in multi-line strings are now terminated with an \n\.
    def test_something():
        assert "a   \nb\n" == snapshot(
            """\
    a   \n\
    b
    """
        )

v0.21.0

Compare Source

Changed

  • inline-snapshot uses now --inline-snapshot=disable during CI runs by default.
    This improves performance because snapshot() is then equal to:

    def snapshot(x):
        return x

    It also has benefits for the accuracy of your tests as it is less likely that inline snapshot will affect your tests in CI.

  • The default flags have changed for cpython >= 3.11:

    • --inline-snapshot=create,review is used in an interactive terminal and
    • --inline-snapshot=report otherwise.
  • The categories in the terminal output are now links to the documentation if it is supported by the terminal.

Fixed

  • Hide update section if the diff is empty because the change is reverted by the format-command.

v0.20.10

Compare Source

Fixed

  • Use of the correct snapshot category (update/fix) when deleting dataclass arguments.

v0.20.9

Compare Source

Fixed

  • --inline-snapshot=create preserves test failures now.

v0.20.8

Compare Source

Fixed

  • inline-snapshot now also works if you use --no-summary (which pycharm does if you run your tests from the IDE).

v0.20.7

Compare Source

Changed

  • Tests with failed snapshot comparisons now always result in a pytest Error, even if snapshots have been fixed or created.

v0.20.6

Compare Source

Fixed

  • Do not skip snapshots in conditional marked xfail tests.
    @​pytest.mark.xfail(False, reason="...")
    def test_a():
        assert 5 == snapshot(3)  # <- this will be fixed
    
    @&#8203;pytest.mark.xfail(True, reason="...")
    def test_b():
        assert 5 == snapshot(3)  # <- this not

v0.20.5

Compare Source

Fixed

  • correct normalization of "python3.9" to "python" in tests

v0.20.4

Compare Source

Fixed

  • Prevent a crash if a value cannot be copied and a UsageError is raised.

v0.20.3

Compare Source

Fixed

v0.20.2

Compare Source

Fixed

  • snapshots inside tests which are marked as xfail are now ignored (#​184)

  • Fixed a crash caused by the following code:

    snapshot(tuple())

v0.20.1

Compare Source

Fixed

  • Use of the correct snapshot category (update/fix) when deleting dataclass arguments.

v0.20.0

Compare Source

Changed

  • pytest assert rewriting works now together with inline-snapshot if you use cpython>=3.11

  • ... is now a special value to create snapshot values.
    The value change in assert [5,4] == snapshot([5,...]) is now a create (previously it was a fix)

Fixed

  • fixed some issues with dataclass arguments

  • fixed an issue where --inline-snapshot=review discarded the user input and never formatted
    the code if you used cpython 3.13.

pytest-dev/pytest-asyncio (pytest-asyncio)

v0.26.0: pytest-asyncio 0.26.0

Compare Source

  • Adds configuration option that sets default event loop scope for all tests #​793
  • Improved type annotations for pytest_asyncio.fixture #​1045
  • Added typing-extensions as additional dependency for Python <3.10 #​1045

v0.25.3: pytest-asyncio 0.25.3

Compare Source

  • Avoid errors in cleanup of async generators when event loop is already closed #​1040

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sorry, something went wrong.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 27, 2025
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.65%. Comparing base (7a8772e) to head (9668886).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #363   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files          41       41           
  Lines        2268     2268           
=======================================
  Hits         2124     2124           
  Misses        144      144           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 5 times, most recently from 4608a9a to 328e5a0 Compare February 4, 2025 10:11
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 3 times, most recently from fedfedd to 55d4ffc Compare February 13, 2025 08:11
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 2 times, most recently from ce37701 to 9fbbed8 Compare February 28, 2025 11:30
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 5 times, most recently from 3c3b955 to 4515415 Compare March 8, 2025 17:24
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 3 times, most recently from 1e14ecf to 4a4bf50 Compare March 15, 2025 21:34
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 6 times, most recently from fea779e to 5e2b2ed Compare March 26, 2025 12:29
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch 2 times, most recently from 4f02b88 to 9506f8d Compare March 29, 2025 21:42
@renovate renovate bot force-pushed the renovate/python-dev-dependencies branch from 9506f8d to 9668886 Compare March 31, 2025 20:11
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants