# attrs 24.3.0 - Product: attrs (https://whatsnew.fyi/product/attrs) - Vendor: attrs - Date: 2024-12-16 - Version: 24.3.0 - Original notes: https://github.com/python-attrs/attrs/releases/tag/24.3.0 - Permalink: https://whatsnew.fyi/product/attrs/releases/24.3.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Requirement raised:** `Python 3.7` → `3.8` (inferred by a model) - **removed** — Python 3.7 has been dropped - **added** — Introduce attrs.NothingType, for annotating types consistent with attrs.NOTHING - **changed** — Allow mutating __suppress_context__ and __notes__ on frozen exceptions - **fixed** — attrs.converters.optional() works again when taking attrs.converters.pipe() or another Converter as its argument - **added** — attrs instances now support copy.replace() - **changed** — attrs.validators.instance_of()'s type hints now allow for union types ##### Highlights Mostly bug fixes and adjustments, but also support for Python 3.13's [`copy.replace()`](https://docs.python.org/3/library/copy.html#copy.replace). On the other side we say goodbye to Python 3.7. *Full changelog below!* ##### Special Thanks This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If *you* would like to join them, go to and check out the sweet perks! ###### Above and Beyond [Variomedia AG](https://www.variomedia.de/) (@[variomedia](https://github.com/variomedia)), [Tidelift](https://www.tidelift.com/) (@[tidelift](https://github.com/tidelift)), [thanks.dev](https://www.thanks.dev) (@[thnxdev](https://github.com/thnxdev)), [Klaviyo](https://www.klaviyo.com) (@[klaviyo](https://github.com/klaviyo)), [FilePreviews](http://filepreviews.io/) (@[filepreviews](https://github.com/filepreviews)), [Privacy Solutions GmbH](https://privacy-solutions.org) (@[privacy-solutions](https://github.com/privacy-solutions)), Daniel Fortunov (@[asqui](https://github.com/asqui)), Kevin P. Fleming (@[kpfleming](https://github.com/kpfleming)), and [Polar](https://polar.sh) (@[polarsource](https://github.com/polarsource)). ###### Maintenance Sustainers [Buttondown](https://buttondown.com) (@[buttondown](https://github.com/buttondown)), [Konstantin Vinogradov](https://kvinogradov.com) (@[vinogradovkonst](https://github.com/vinogradovkonst)), [Christopher Dignam](https://christopher.xyz) (@[chdsbd](https://github.com/chdsbd)), [Stefan Hagen](https://stefan-hagen.website) (@[sthagen](https://github.com/sthagen)), Magnus Watn (@[magnuswatn](https://github.com/magnuswatn)), [David Cramer](https://cra.mr) (@[dcramer](https://github.com/dcramer)), Jesse Snyder (@[jessesnyder](https://github.com/jessesnyder)), [Rivo Laks](https://rivolaks.com) (@[rivol](https://github.com/rivol)), Chris Withers (@[cjw296](https://github.com/cjw296)), [Mike Fiedler](https://mike.fiedler.me) (@[miketheman](https://github.com/miketheman)), Duncan Hill (@[cricalix](https://github.com/cricalix)), Colin Marquardt (@[cmarqu](https://github.com/cmarqu)), [Pieter Swinkels](https://blog.journeythatcounts.nl) (@[swinkels](https://github.com/swinkels)), Nick Libertini (@[libertininick](https://github.com/libertininick)), Moving Content AG (@[moving-content](https://github.com/moving-content)), [ProteinQure](https://proteinqure.com/) (@[ProteinQure](https://github.com/ProteinQure)), [The Westervelt Company](https://westervelt.com) (@[westerveltco](https://github.com/westerveltco)), [Sławomir Ehlert](https://slafs.net) (@[slafs](https://github.com/slafs)), Mostafa Khalil (@[khadrawy](https://github.com/khadrawy)), [Filip Mularczyk](https://fmularczyk.pl) (@[mukiblejlok](https://github.com/mukiblejlok)), Thomas Klinger (@[thmsklngr](https://github.com/thmsklngr)), [Andreas Poehlmann](https://poehlmann.io) (@[ap--](https://github.com/ap--)), [August Bigelow](https://atbigelow.com) (@[atbigelow](https://github.com/atbigelow)), [Carlton Gibson](https://noumenal.es/) (@[carltongibson](https://github.com/carltongibson)), and [Roboflow](https://roboflow.com) (@[roboflow](https://github.com/roboflow)). Not to forget 9 more amazing humans who chose to be generous but anonymous! ##### Full Changelog ###### Backwards-incompatible Changes - Python 3.7 has been dropped. [\#1340](https://github.com/python-attrs/attrs/issues/1340) ###### Changes - Introduce `attrs.NothingType`, for annotating types consistent with `attrs.NOTHING`. [\#1358](https://github.com/python-attrs/attrs/issues/1358) - Allow mutating `__suppress_context__` and `__notes__` on frozen exceptions. [\#1365](https://github.com/python-attrs/attrs/issues/1365) - `attrs.converters.optional()` works again when taking `attrs.converters.pipe()` or another Converter as its argument. [\#1372](https://github.com/python-attrs/attrs/issues/1372) - *attrs* inst _[Truncated at 4000 characters — full notes: https://github.com/python-attrs/attrs/releases/tag/24.3.0]_