Skip to content

chore(deps): upgrade dependency pytest to v9#2995

Merged
Lulalaby merged 1 commit intomasterfrom
renovate/pytest-9.x
Nov 27, 2025
Merged

chore(deps): upgrade dependency pytest to v9#2995
Lulalaby merged 1 commit intomasterfrom
renovate/pytest-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2025

This PR contains the following updates:

Package Change Age Confidence
pytest (changelog) ~=8.4.1 -> ~=9.0.1 age confidence

Release Notes

pytest-dev/pytest (pytest)

v9.0.1

Compare Source

pytest 9.0.1 (2025-11-12)

Bug fixes

  • #​13895: Restore support for skipping tests via raise unittest.SkipTest.
  • #​13896: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.
  • #​13904: Fixed the TOML type of the verbosity settings in the API reference from number to string.
  • #​13910: Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 and 3.13 point versions.

Packaging updates and notes for downstreams

  • #​13933: The tox configuration has been adjusted to make sure the desired
    version string can be passed into its package_env through
    the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment
    variable as a part of the release process -- by webknjaz.

Contributor-facing changes

  • #​13891, #​13942: The CI/CD part of the release automation is now capable of
    creating GitHub Releases without having a Git checkout on
    disk -- by bluetech and webknjaz.
  • #​13933: The tox configuration has been adjusted to make sure the desired
    version string can be passed into its package_env through
    the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment
    variable as a part of the release process -- by webknjaz.

v9.0.0

Compare Source

pytest 9.0.0 (2025-11-05)

New features

  • #​1367: Support for subtests has been added.

    subtests <subtests> are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.

    Example:

    def contains_docstring(p: Path) -> bool:
        """Return True if the given Python file contains a top-level docstring."""
        ...
    
    def test_py_files_contain_docstring(subtests: pytest.Subtests) -> None:
        for path in Path.cwd().glob("*.py"):
            with subtests.test(path=str(path)):
                assert contains_docstring(path)

    Each assert failure or error is caught by the context manager and reported individually, giving a clear picture of all files that are missing a docstring.

    In addition, unittest.TestCase.subTest is now also supported.

    This feature was originally implemented as a separate plugin in pytest-subtests, but since then has been merged into the core.

    [!NOTE]
    This feature is experimental and will likely evolve in future releases. By that we mean that we might change how subtests are reported on failure, but the functionality and how to use it are stable.

  • #​13743: Added support for native TOML configuration files.

    While pytest, since version 6, supports configuration in pyproject.toml files under [tool.pytest.ini_options],
    it does so in an "INI compatibility mode", where all configuration values are treated as strings or list of strings.
    Now, pytest supports the native TOML data model.

    In pyproject.toml, the native TOML configuration is under the [tool.pytest] table.

    # pyproject.toml
    [tool.pytest]
    minversion = "9.0"
    addopts = ["-ra", "-q"]
    testpaths = [
        "tests",
        "integration",
    ]

    The [tool.pytest.ini_options] table remains supported, but both tables cannot be used at the same time.

    If you prefer to use a separate configuration file, or don't use pyproject.toml, you can use pytest.toml or .pytest.toml:

    # pytest.toml or .pytest.toml
    [pytest]
    minversion = "9.0"
    addopts = ["-ra", "-q"]
    testpaths = [
        "tests",
        "integration",
    ]

    The documentation now (sometimes) shows configuration snippets in both TOML and INI formats, in a tabbed interface.

    See config file formats for full details.

  • #​13823: Added a "strict mode" enabled by the strict configuration option.

    When set to true, the strict option currently enables

    • strict_config
    • strict_markers
    • strict_parametrization_ids
    • strict_xfail

    The individual strictness options can be explicitly set to override the global strict setting.

    The previously-deprecated --strict command-line flag now enables strict mode.

    If pytest adds new strictness options in the future, they will also be enabled in strict mode.
    Therefore, you should only enable strict mode if you use a pinned/locked version of pytest,
    or if you want to proactively adopt new strictness options as they are added.

    See strict mode for more details.

  • #​13737: Added the strict_parametrization_ids configuration option.

    When set, pytest emits an error if it detects non-unique parameter set IDs,
    rather than automatically making the IDs unique by adding 0, 1, ... to them.
    This can be particularly useful for catching unintended duplicates.

  • #​13072: Added support for displaying test session progress in the terminal tab using the OSC 9;4; ANSI sequence.
    When pytest runs in a supported terminal emulator like ConEmu, Gnome Terminal, Ptyxis, Windows Terminal, Kitty or Ghostty,
    you'll see the progress in the terminal tab or window,
    allowing you to monitor pytest's progress at a glance.

    This feature is automatically enabled when running in a TTY. It is implemented as an internal plugin. If needed, it can be disabled as follows:

    • On a user level, using -p no:terminalprogress on the command line or via an environment variable PYTEST_ADDOPTS='-p no:terminalprogress'.
    • On a project configuration level, using addopts = "-p no:terminalprogress".
  • #​478: Support PEP420 (implicit namespace packages) as --pyargs target when consider_namespace_packages is true in the config.

    Previously, this option only impacted package imports, now it also impacts tests discovery.

  • #​13678: Added a new faulthandler_exit_on_timeout configuration option set to "false" by default to let faulthandler interrupt the pytest process after a timeout in case of deadlock.

    Previously, a faulthandler timeout would only dump the traceback of all threads to stderr, but would not interrupt the pytest process.

    -- by ogrisel.

  • #​13829: Added support for configuration option aliases via the aliases parameter in Parser.addini() <pytest.Parser.addini>.

    Plugins can now register alternative names for configuration options,
    allowing for more flexibility in configuration naming and supporting backward compatibility when renaming options.
    The canonical name always takes precedence if both the canonical name and an alias are specified in the configuration file.

Improvements in existing functionality

  • #​13330: Having pytest configuration spread over more than one file (for example having both a pytest.ini file and pyproject.toml with a [tool.pytest.ini_options] table) will now print a warning to make it clearer to the user that only one of them is actually used.

    -- by sgaist

  • #​13574: The single argument --version no longer loads the entire plugin infrastructure, making it faster and more reliable when displaying only the pytest version.

    Passing --version twice (e.g., pytest --version --version) retains the original behavior, showing both the pytest version and plugin information.

    [!NOTE]
    Since --version is now processed early, it only takes effect when passed directly via the command line. It will not work if set through other mechanisms, such as PYTEST_ADDOPTS or addopts.

  • #​13823: Added strict_xfail as an alias to the xfail_strict option,
    strict_config as an alias to the --strict-config flag,
    and strict_markers as an alias to the --strict-markers flag.
    This makes all strictness options consistently have configuration options with the prefix strict_.

  • #​13700: --junitxml no longer prints the generated xml file summary at the end of the pytest session when --quiet is given.

  • #​13732: Previously, when filtering warnings, pytest would fail if the filter referenced a class that could not be imported. Now, this only outputs a message indicating the problem.

  • #​13859: Clarify the error message for pytest.raises() when a regex match fails.

  • #​13861: Better sentence structure in a test's expected error message. Previously, the error message would be "expected exception must be <expected>, but got <actual>". Now, it is "Expected <expected>, but got <actual>".

Removals and backward incompatible breaking changes

  • #​12083: Fixed a bug where an invocation such as pytest a/ a/b would cause only tests from a/b to run, and not other tests under a/.

    The fix entails a few breaking changes to how such overlapping arguments and duplicates are handled:

    1. pytest a/b a/ or pytest a/ a/b are equivalent to pytest a; if an argument overlaps another arguments, only the prefix remains.
    2. pytest x.py x.py is equivalent to pytest x.py; previously such an invocation was taken as an explicit request to run the tests from the file twice.

    If you rely on these behaviors, consider using --keep-duplicates <duplicate-paths>, which retains its existing behavior (including the bug).

  • #​13719: Support for Python 3.9 is dropped following its end of life.

  • #​13766: Previously, pytest would assume it was running in a CI/CD environment if either of the environment variables $CI or $BUILD_NUMBER was defined;
    now, CI mode is only activated if at least one of those variables is defined and set to a non-empty value.

  • #​13779: PytestRemovedIn9Warning deprecation warnings are now errors by default.

    Following our plan to remove deprecated features with as little disruption as
    possible, all warnings of type PytestRemovedIn9Warning now generate errors
    instead of warning messages by default.

    The affected features will be effectively removed in pytest 9.1, so please consult the
    deprecations section in the docs for directions on how to update existing code.

    In the pytest 9.0.X series, it is possible to change the errors back into warnings as a
    stopgap measure by adding this to your pytest.ini file:

    [pytest]
    filterwarnings =
        ignore::pytest.PytestRemovedIn9Warning

    But this will stop working when pytest 9.1 is released.

    If you have concerns about the removal of a specific feature, please add a
    comment to 13779.

Deprecations (removal in next major release)

  • #​13807: monkeypatch.syspath_prepend() <pytest.MonkeyPatch.syspath_prepend> now issues a deprecation warning when the prepended path contains legacy namespace packages (those using pkg_resources.declare_namespace()).
    Users should migrate to native namespace packages (420).
    See monkeypatch-fixup-namespace-packages for details.

Bug fixes

  • #​13445: Made the type annotations of pytest.skip and friends more spec-complaint to have them work across more type checkers.

  • #​13537: Fixed a bug in which ExceptionGroup with only Skipped exceptions in teardown was not handled correctly and showed as error.

  • #​13598: Fixed possible collection confusion on Windows when short paths and symlinks are involved.

  • #​13716: Fixed a bug where a nonsensical invocation like pytest x.py[a] (a file cannot be parametrized) was silently treated as pytest x.py. This is now a usage error.

  • #​13722: Fixed a misleading assertion failure message when using pytest.approx on mappings with differing lengths.

  • #​13773: Fixed the static fixture closure calculation to properly consider transitive dependencies requested by overridden fixtures.

  • #​13816: Fixed pytest.approx which now returns a clearer error message when comparing mappings with different keys.

  • #​13849: Hidden .pytest.ini files are now picked up as the config file even if empty.
    This was an inconsistency with non-hidden pytest.ini.

  • #​13865: Fixed --show-capture with --tb=line.

  • #​13522: Fixed pytester in subprocess mode ignored all :attr`pytester.plugins <pytest.Pytester.plugins>` except the first.

    Fixed pytester in subprocess mode silently ignored non-str pytester.plugins <pytest.Pytester.plugins>.
    Now it errors instead.
    If you are affected by this, specify the plugin by name, or switch the affected tests to use pytester.runpytest_inprocess <pytest.Pytester.runpytest_inprocess> explicitly instead.

Packaging updates and notes for downstreams

  • #​13791: Minimum requirements on iniconfig and packaging were bumped to 1.0.1 and 22.0.0, respectively.

Contributor-facing changes

  • #​12244: Fixed self-test failures when TERM=dumb.
  • #​12474: Added scheduled GitHub Action Workflow to run Sphinx linkchecks in repo documentation.
  • #​13621: pytest's own testsuite now handles the lsof command hanging (e.g. due to unreachable network filesystems), with the affected selftests being skipped after 10 seconds.
  • #​13638: Fixed deprecated gh pr new command in scripts/prepare-release-pr.py.
    The script now uses gh pr create which is compatible with GitHub CLI v2.0+.
  • #​13695: Flush stdout and stderr in Pytester.run to avoid truncated outputs in test_faulthandler.py::test_timeout on CI -- by ogrisel.
  • #​13771: Skip test_do_not_collect_symlink_siblings on Windows environments without symlink support to avoid false negatives.
  • #​13841: tox>=4 is now required when contributing to pytest.
  • #​13625: Added missing docstrings to pytest_addoption(), pytest_configure(), and cacheshow() functions in cacheprovider.py.

Miscellaneous internal changes

  • #​13830: Configuration overrides (-o/--override-ini) are now processed during startup rather than during config.getini() <pytest.Config.getini>.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@renovate renovate bot requested a review from a team as a code owner November 8, 2025 18:26
@renovate renovate bot added dependencies Pull requests that update a dependency file optional labels Nov 8, 2025
@renovate renovate bot requested a review from a team as a code owner November 8, 2025 18:26
@renovate renovate bot requested review from NeloBlivion and Paillat-dev November 8, 2025 18:26
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 8, 2025
@renovate renovate bot requested review from EmmmaTech and baronkobama November 8, 2025 18:26
@renovate renovate bot added the optional label Nov 8, 2025
@pycord-app
Copy link

pycord-app bot commented Nov 8, 2025

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/2995/head:pr-2995
git checkout pr-2995

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/2995/head

@renovate renovate bot force-pushed the renovate/pytest-9.x branch from 1acdeb0 to 26f8048 Compare November 10, 2025 16:59
@renovate renovate bot force-pushed the renovate/pytest-9.x branch from 26f8048 to cb84ae7 Compare November 12, 2025 19:02
@Lulalaby
Copy link
Member

looks okay to me, we might wanna adjust the pyproject.toml in future

@Lulalaby Lulalaby merged commit 9914770 into master Nov 27, 2025
27 of 30 checks passed
@Lulalaby Lulalaby deleted the renovate/pytest-9.x branch November 27, 2025 08:57
Lumabots pushed a commit to Lumabots/pycord that referenced this pull request Dec 5, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
solaluset pushed a commit to solaluset/pycord that referenced this pull request Jan 29, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
baribarton pushed a commit to baribarton/pycord-no-potential-reconnect that referenced this pull request Feb 24, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
baribarton added a commit to baribarton/pycord-no-potential-reconnect that referenced this pull request Feb 24, 2026
* chore(deps): upgrade pre-commit hook asottile/pyupgrade to v3.21.1 (Pycord-Development#2996)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade softprops/action-gh-release action to v2.4.2 (Pycord-Development#2997)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency pre-commit to v4.4.0 (Pycord-Development#2998)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade pre-commit hook psf/black-pre-commit-mirror to v25.11.0 (Pycord-Development#2999)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency pytest-asyncio to ~=1.3.0 (Pycord-Development#3000)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: Fix breaking change in `ui.Select` Generic typing (Pycord-Development#3002)

* Update select.py

* fix: update TypeVar defaults for BaseView and DesignerModal in select.py

* Update discord/ui/select.py

Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>

* fix: update TypeVar default for V in select.py

* fix: update changelog to reflect fix for breaking change in ui.Select Generic typing

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Co-authored-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore(deps): upgrade pre-commit hook asottile/pyupgrade to v3.21.2 (Pycord-Development#3006)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency msgspec to ~=0.20.0 (Pycord-Development#3009)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: 📝 Fix versionadded for bypass slowmode permission to 2.7 (Pycord-Development#3010)

:memo: Fix versionadded for bypass slowmode permission to 2.7

* chore(deps): upgrade actions/checkout action to v6 (Pycord-Development#3007)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency pre-commit to v4.5.0 (Pycord-Development#3008)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency bandit to v1.9.2 (Pycord-Development#3005)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency pytest to v9 (Pycord-Development#2995)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix:  ♻️ Make Attachment.save clearer by expliciting that chunksize is non-null (Pycord-Development#2991)

Co-authored-by: plun1331 <plun1331@gmail.com>

* fix: 🐛 Fix paginator implementation when only passing `PageGroup` objects and `show_menu` is falsy (Pycord-Development#2993)

* chore(deps): upgrade pre-commit hook psf/black-pre-commit-mirror to v25.12.0 (Pycord-Development#3021)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: 🐛 Use `.parent` when disabling items on timeout for private channel messages (Pycord-Development#3016)

* chore(deps): upgrade actions/cache action to v5 (Pycord-Development#3026)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor: rework how item.view is determined (Pycord-Development#2981)

* feat: rework how item.view is determined

* docs: changelog

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update discord/ui/view.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: plun1331 <plun1331@gmail.com>

* remove useless stuff

* fuckin circles man

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update discord/ui/item.py

Signed-off-by: Paillat <jeremiecotti@ik.me>

* Annotate return type for remove_item method

Added return type annotation for remove_item method.

Signed-off-by: Paillat <paillat@pycord.dev>

---------

Signed-off-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Signed-off-by: Paillat <paillat@pycord.dev>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Co-authored-by: Paillat <paillat@pycord.dev>

* chore(deps): upgrade dependency pre-commit to v4.5.1 (Pycord-Development#3028)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade actions/upload-artifact action to v6 (Pycord-Development#3027)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade crowdin/github-action action to v2.13.0 (Pycord-Development#3015)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade softprops/action-gh-release action to v2.5.0 (Pycord-Development#3014)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency mypy to ~=1.19.1 (Pycord-Development#3011)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: 📝 Fixes (Pycord-Development#3030)

* 📝 Fix formatting for gateway links in docstrings

* 📝 Fix documentation for default value type in mentionable select

* 🐛 Fix import path for Interaction in label.py

* 📝 Exclude 'cog' member from SlashCommand documentation

* 📝 Fix documentation of `check_any`

* 📝 Fix section heading underline lenght in docstring sections

* feat: ✨ Add `fetch_roles_member_counts` method to `Guild` and corresponding HTTP route (Pycord-Development#3020)

* ✨ Add `fetch_roles_member_counts` method to `Guild` and corresponding HTTP route

* 📝 CHANGELOG.md

* ♻️ Add GuildRoleCounts class for mapping role IDs to member counts

* ✨ Add custom __repr__ method to GuildRoleCounts for improved representation

* 📝 Add usage examples for fetching member counts in GuildRoleCounts

* Update discord/guild.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>

* style(pre-commit): auto fixes from pre-commit.com hooks

* 📝 Document raised exception for fetching role member counts in GuildRoleCounts

* ♻️ Enhance GuildRoleCounts with TypeVar and add __contains__ method for role ID checks

* 📝 CHANGELOG.md

---------

Signed-off-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix(actions): rework release workflow (Pycord-Development#3034)

* chore: empty (Pycord-Development#3035)

* chore: empty

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix: "fix" bandit issues

* chore(release): update CHANGELOG.md for version 2.7.0

* fix: Update checkout action to v6 in release workflow

Signed-off-by: Lala Sabathil <lala@pycord.dev>

* chore(actions): cleanup

* fix(actions): gh milestone create takes -t arg

* chore: empty (Pycord-Development#3036)

* chore: empty

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore: ⚰️ Remove meaningless TODO comment from interactions.py (Pycord-Development#3039)

:coffin: Remove meaningless TODO comment from interactions.py

* fix: :bug: Set `cached_message` attribute to `RawMessageUpdateEvent` on message edits (Pycord-Development#3038)

* 🐛 Set cached_message attribute to RawMessageUpdateEvent on message edits

* 📝 CHANGELOG.md

---------

Co-authored-by: Lala Sabathil <lala@pycord.dev>

* docs: Fix typo in enums.rst documentation (Pycord-Development#3045)

Fix typo in enums.rst documentation

fix "stringly typed" to "strongly typed"

Signed-off-by: Ryan Hou <rhou7873@gmail.com>

* fix: 🐛 Add permission check to `Role.is_assignable()` (Pycord-Development#3048)

Co-authored-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: ✨Add `BaseEmoji.extension` and fix animated emoji downloads (Pycord-Development#3055)

* ✨🐛 Add extension property and fix animated emoji url

* Update changelog accordingly

* style(pre-commit): auto fixes from pre-commit.com hooks

* 📝 Add versionadded

* Apply change requests

Co-authored-by: Paillat-dev <me@paillat.dev>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Apply change requests 2

Co-authored-by: Paillat-dev <me@paillat.dev>

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat-dev <me@paillat.dev>

* fix: 🐛 Fallback to resolving channel with interaction data when not cached (Pycord-Development#3047)

* :fix: Fallback to resolving channel with interaction channel data when channel is missing from cache

* 📝 CHANGELOG.md

* Fix wording in CHANGELOG for clarity

Signed-off-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>

---------

Signed-off-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>

* chore(deps): upgrade ribtoks/tdg-github-action action to v0.4.16 (Pycord-Development#3058)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): upgrade dependency myst-parser to v5 (Pycord-Development#3066)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: 🐛 Correct page group assignment in Paginator (Pycord-Development#3065)

* fix: 🐛 Correct page group assignment in Paginator

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix: 🐛 Update changelog to include fix for incorrect page group assignment in Paginator

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* docs: 💄 Add width appearance selector to docs (Pycord-Development#3040)

* 💄 Add width appearance selector to docs

* ♻️ Use `padding:`

---------

Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>

* docs: Update localizations from Crowdin (Pycord-Development#3068)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>

* fix: 🐛 Fix docs rendering for `ForwardedMessage` and `MessageSnapshot` and add missing attributes (Pycord-Development#3051)

* 📝 Add missing rendering for MessageSnapshot in docs

* 📝 Add missing rendering for ForwardedMessage in docs

* 🐛 Add missing mentions property for ForwardedMessage

* style(pre-commit): auto fixes from pre-commit.com hooks

* Add to changelog

* style(pre-commit): auto fixes from pre-commit.com hooks

* Correct data conversion

* Correct docstring data type

* 📝 Add note in docs to inform about empty list possibility

* 📝 Update role_mentions docs to warn about its usage

* Implement type attribute

* Update changelog accordingly

* Copy role mentions logic from `Message`

This knowingly doesn't work yet due to a Discord limitation / unresolved discussion on the API. A warning in the docs is in place

* Add missing type information

* Update changelog

* Update CHANGELOG.md

,

Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>

---------

Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>

* chore(deps): upgrade dependency bandit to v1.9.3 (Pycord-Development#3070)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(pre-commit): pre-commit autoupdate (Pycord-Development#3071)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix: 📝 Add missing docs to `.respond` methods (Pycord-Development#3061)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <paillat@pycord.dev>

* docs: changelog patches (Pycord-Development#3075)

* docs: changelog patches

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore(deps): upgrade crowdin/github-action action to v2.14.0 (Pycord-Development#3072)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: Unify API and gateway version constants (Pycord-Development#3080)

* fix: Unify API and gateway version constants

Introduced a new constants module to define API_VERSION and GATEWAY_VERSION, and updated gateway and HTTP modules to use these shared constants. This prevents version drift between REST and gateway usage. Updated the changelog to reflect this change.

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Revert "fix: Unify API and gateway version constants (Pycord-Development#3080)"

This reverts commit ff6464e.

* fix: remove unused identify property

* fix: 🐛 Primary guild update not firing `on_user_update` (Pycord-Development#3077)

Co-authored-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: Paillat-dev <me@paillat.dev>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <paillat@pycord.dev>

* docs: update slash options example (Pycord-Development#3083)

* fix: 🎨 Format code (Pycord-Development#3085)

* chore(docs): ⬆️ upgrade Sphinx and related dependencies to latest versions (Pycord-Development#3067)

* ⬆️ chore(docs): upgrade Sphinx and related dependencies to latest versions

* ➖ Remove sphinxcontrib_trio dependency

* ➕ Add back sphinxcontrib_trio because it got updated

* 📝 CHANGELOG.md

* chore: ⬆️ Bump `setuptools` to version `77.0.3` in pyproject.toml (Pycord-Development#3054)

:arrow_up: Bump `setuptools` to version `77.0.3` in pyproject.toml

* fix: :bug: Set autocomplete instance method status on `Option` directly (Pycord-Development#3082)

* 🐛 Set autocomplete instance method status on `Option` directly

* 📝 CHANGELO

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>

---------

Signed-off-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>

* fix:  ♻️ Handle exceptions during message edits in Paginator and BaseView timeouts (Pycord-Development#3019)

* fix:  ♻️ Handle discord.HTTPException during message edits in Paginator and BaseView

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix:  ♻️ Update changelog to reflect changes in BaseView and Paginator timeout behavior

* Update discord/ext/pages/pagination.py

Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>

* fix: reorder timeout error handling in changelog

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix: format changelog for better readability

* style(pre-commit): auto fixes from pre-commit.com hooks

* chore: update changelog with new features, changes, and fixes for version 2.7.0

* style(pre-commit): auto fixes from pre-commit.com hooks

* chore: update changelog with new features, changes, and fixes for Components V2 and other improvements

* fix: improve error handling and clean up type annotations in Paginator and BaseView

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix: improve message handling and type hint formatting in BaseView and ViewStore

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix: replace discord error references with local imports in BaseView

* style(pre-commit): auto fixes from pre-commit.com hooks

* Apply suggestion from @Paillat-dev

Signed-off-by: Paillat <jeremiecotti@ik.me>

* style(pre-commit): auto fixes from pre-commit.com hooks

* Update CHANGELOG.md

Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>

---------

Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: Paillat <paillat@pycord.dev>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>

* fix: 🐛 Only remove custom view item from paginator if it is in it (Pycord-Development#3090)

* 🐛 Only remove custom view item from paginator if it is in it

* 📝 CHANGELOG.md

* fix: General fixes for views (Pycord-Development#3032)

* introduce replace_item and some additional patches

* style(pre-commit): auto fixes from pre-commit.com hooks

* cls

* style(pre-commit): auto fixes from pre-commit.com hooks

* rework underlying

* style(pre-commit): auto fixes from pre-commit.com hooks

* maybe fixed

* ,

* or

* spacing

* replace and remove on gallery

* style(pre-commit): auto fixes from pre-commit.com hooks

* index

* select_type

* row

* type

* cl

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix(actions): rework release workflow (Pycord-Development#3034)

* fix(actions): rework release workflow

* style(pre-commit): auto fixes from pre-commit.com hooks

---------

Co-Authored-By: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* style(pre-commit): auto fixes from pre-commit.com hooks

* style(pre-commit): auto fixes from pre-commit.com hooks

* revert cl

* files

* file again

* one more

* cl

* style(pre-commit): auto fixes from pre-commit.com hooks

* buildout for new features & items aliases

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix

* style(pre-commit): auto fixes from pre-commit.com hooks

* Iterator,

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix modal typing

* correct return types

* fix modal error docs

* remove incorrect release script

* fix paginator

* style(pre-commit): auto fixes from pre-commit.com hooks

* doc fix

* add convenience methods to DesignerView

* style(pre-commit): auto fixes from pre-commit.com hooks

* adjust underlying order

* fix fileupload

* misc

* view.add_row

* misc fixes

* style(pre-commit): auto fixes from pre-commit.com hooks

* fix

* adjust legacy item attributes

* style(pre-commit): auto fixes from pre-commit.com hooks

* width docs adjustment

* style(pre-commit): auto fixes from pre-commit.com hooks

* remove new features for 3093

* style(pre-commit): auto fixes from pre-commit.com hooks

* change row to deprecation

* remove uncertain paginator fix

* file setter

* media setter

* dead changelog

* Update discord/ext/pages/pagination.py

Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>

* Update discord/ui/select.py

Signed-off-by: Paillat <jeremiecotti@ik.me>

* Update discord/ui/button.py

Signed-off-by: Paillat <jeremiecotti@ik.me>

---------

Signed-off-by: Lala Sabathil <lala@pycord.dev>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lala Sabathil <lala@pycord.dev>
Co-authored-by: Paillat <paillat@pycord.dev>
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Co-authored-by: Paillat <jeremiecotti@ik.me>

* chore(actions): disable dn

* chore(actions): bump execute-whitelist-action to v2.1.0

Update .github/workflows/release.yml to use Pycord-Development/execute-whitelist-action@v2.1.0 (was v2.0.0) for the Security Check step so the release workflow picks up the latest fixes and improvements.

* chore(release): update CHANGELOG.md for version 2.7.1

---------

Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: plun1331 <plun1331@gmail.com>
Signed-off-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Signed-off-by: Paillat <paillat@pycord.dev>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Lala Sabathil <lala@pycord.dev>
Signed-off-by: Ryan Hou <rhou7873@gmail.com>
Signed-off-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Signed-off-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Co-authored-by: Paillat <jeremiecotti@ik.me>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Paillat <paillat@pycord.dev>
Co-authored-by: plun1331 <plun1331@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nelo <41271523+NeloBlivion@users.noreply.github.com>
Co-authored-by: Lala Sabathil <lala@pycord.dev>
Co-authored-by: NyuwBot <nyuw@aitsys.dev>
Co-authored-by: Ryan Hou <rhou7873@gmail.com>
Co-authored-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com>
Co-authored-by: Paillat-dev <me@paillat.dev>
Co-authored-by: Dorukyum <53639936+Dorukyum@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
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 on hold optional

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants