Skip to content

Commit

Permalink
Amend changelog note for removal of attrs (#10888)
Browse files Browse the repository at this point in the history
As discussed in #10669 (comment), we should
make the reasoning behind this change more clear, as well as thank the attrs maintainers for the
many years of cooperation and support.

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
  • Loading branch information
nicoddemus and Pierre-Sassoulas committed Apr 10, 2023
1 parent be9faa6 commit 6dcd652
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/en/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ Improved Documentation
Trivial/Internal Changes
------------------------

- `#10669 <https://github.com/pytest-dev/pytest/issues/10669>`_: pytest no longer depends on the `attrs` package (don't worry, nice diffs for attrs classes are still supported).
- `#10669 <https://github.com/pytest-dev/pytest/issues/10669>`_: pytest no longer directly depends on the `attrs <https://www.attrs.org/en/stable/>`__ package. While
we at pytest all love the package dearly and would like to thank the ``attrs`` team for many years of cooperation and support,
it makes sense for ``pytest`` to have as little external dependencies as possible, as this helps downstream projects.
With that in mind, we have replaced the pytest's limited internal usage to use the standard library's ``dataclasses`` instead.

Nice diffs for ``attrs`` classes are still supported though.


pytest 7.2.2 (2023-03-03)
Expand Down

0 comments on commit 6dcd652

Please sign in to comment.