diff --git a/attrs-24.2.0.tar.gz b/attrs-24.2.0.tar.gz deleted file mode 100644 index 2059b3b..0000000 --- a/attrs-24.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346 -size 792678 diff --git a/attrs-24.3.0.tar.gz b/attrs-24.3.0.tar.gz new file mode 100644 index 0000000..d7eb66b --- /dev/null +++ b/attrs-24.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f5c07333d543103541ba7be0e2ce16eeee8130cb0b3f9238ab904ce1e85baff +size 805984 diff --git a/python-attrs.changes b/python-attrs.changes index 94d2181..895c662 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Jan 2 14:12:53 UTC 2025 - Dirk Müller + +- update to 24.3.0: + * Python 3.7 has been dropped. + * Introduce `attrs.NothingType`, for annotating types + consistent with `attrs.NOTHING`. + * Allow mutating `__suppress_context__` and `__notes__` on + frozen exceptions. + * `attrs.converters.optional()` works again when taking + `attrs.converters.pipe()` or another Converter as its + argument. + * *attrs* instances now support `copy.replace()`. + * `attrs.validators.instance_of()`'s type hints now allow for + union types. + * For example: `instance_of(str | int)` + ------------------------------------------------------------------- Tue Nov 5 13:03:04 UTC 2024 - Matej Cepl diff --git a/python-attrs.spec b/python-attrs.spec index 700af08..c1c5633 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -1,7 +1,7 @@ # # spec file for package python-attrs # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,13 +26,14 @@ %endif %{?sle15_python_module_pythons} Name: python-attrs%{psuffix} -Version: 24.2.0 +Version: 24.3.0 Release: 0 Summary: Attributes without boilerplate License: MIT Group: Development/Languages/Python URL: https://github.com/hynek/attrs/ Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling}