Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python38-attrs | Distribution: openSUSE Tumbleweed |
Version: 21.4.0 | Vendor: openSUSE |
Release: 1.2 | Build date: Tue May 10 22:02:21 2022 |
Group: Development/Languages/Python | Build host: lamb59 |
Size: 518584 | Source RPM: python-attrs-21.4.0-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/hynek/attrs/ | |
Summary: Attributes without boilerplate |
attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols. You just specify the attributes to work with and attrs gives you: - a nice human-readable __repr__, - a complete set of comparison methods, - an initializer, - and much more without writing dull boilerplate code again and again. This gives you the power to use actual classes with actual types in your code instead of confusing tuples or confusingly behaving namedtuples. So put down that type-less data structures and welcome some class into your life! python-attrs is the successor to python-characterstic
MIT
* Tue Jan 04 2022 Dirk Müller <dmueller@suse.com> - update to 21.4.0: * Fixed the test suite on PyPy3.8 where ``cloudpickle`` does not work. * Fixed ``coverage report`` for projects that use ``attrs`` and don't set a ``--source``. * When using ``@define``, converters are now run by default when setting an attribute on an instance -- additionally to validators. * ``import attrs`` has finally landed! * ``attr.asdict(retain_collection_types=False)`` (default) dumps collection-esque keys as tuples. * ``__match_args__`` are now generated to support Python 3.10's * If the class-level *on_setattr* is set to ``attrs.setters.validate`` (default in ``@define`` and ``@mutable``) but no field defines a validator, pretend that it's not set. * The generated ``__repr__`` is significantly faster on Pythons with f-strings. * Attributes transformed via ``field_transformer`` are wrapped with ``AttrsClass`` again. * Generated source code is now cached more efficiently for identical classes. * Added ``attrs.converters.to_bool()``. * ``attrs.resolve_types()`` now resolves types of subclasses after the parents are resolved. * Added new validators: ``lt(val)`` (< val), ``le(va)`` (≤ val), ``ge(val)`` (≥ val), ``gt(val)`` (> val), and ``maxlen(n)``. * ``attrs`` classes are now fully compatible with cloudpickle * Added new context manager ``attrs.validators.disabled()`` and functions ``attrs.validators.(set|get)_disabled()``. They deprecate ``attrs.(set|get)_run_validators()``. All functions are interoperable and modify the same internal state. They are not – and never were – thread-safe, though. * Thu May 27 2021 Dirk Müller <dmueller@suse.com> - update to 21.2.0: * We had to revert the recursive feature for ``attr.evolve()`` because it broke some use-cases -- sorry! * Python 3.4 is now blocked using packaging metadata because ``attrs`` can't be imported on it anymore. * The long-awaited, much-talked-about, little-delivered ``import attrs`` is finally upon us! * The *cmp* argument to ``attr.s()`` and `attr.ib()` has been **undeprecated** It will continue to be supported as syntactic sugar to set *eq* and *order* in one go. * Further smaller changes, see included Changelog.md * Thu Nov 26 2020 Dirk Mueller <dmueller@suse.com> - update to 20.3.0: - ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain **provisional**. * Thu Sep 17 2020 Dirk Mueller <dmueller@suse.com> - update to 20.2.0: - Python 3.4 is not supported anymore. - ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain **provisional**. This release fixes a bunch of bugs and ergonomics but they remain mostly unchanged. Further changes see included CHANGELOG.rst * Thu May 14 2020 Tomáš Chvátal <tchvatal@suse.com> - Do not restrict us to new setuptools, we generate stuff even with the older variants * Mon Oct 21 2019 Ondřej Súkup <mimi.vx@gmail.com> - update to 19.3.0 * Fixed auto_attribs usage when default values cannot be compared directly with ==, such as numpy arrays. * Fri Oct 04 2019 Arun Persaud <arun@gmx.de> - update to version 19.2.0: * Backward-incompatible Changes + Removed deprecated "Attribute" attribute "convert" per scheduled removal on 2019/1. This planned deprecation is tracked in issue `#307 <https://github.com/python-attrs/attrs/issues/307>`_. `#504 <https://github.com/python-attrs/attrs/issues/504>`_ + "__lt__", "__le__", "__gt__", and "__ge__" do not consider subclasses comparable anymore. This has been deprecated since 18.2.0 and was raising a "DeprecationWarning" for over a year. `#570 <https://github.com/python-attrs/attrs/issues/570>`_ * Deprecations + The "cmp" argument to "attr.s()" and "attr.ib()" is now deprecated. Please use "eq" to add equality methods ("__eq__" and "__ne__") and "order" to add ordering methods ("__lt__", "__le__", "__gt__", and "__ge__") instead – just like with `dataclasses <https://docs.python.org/3/library/dataclasses.html>`_. Both are effectively "True" by default but it's enough to set "eq=False" to disable both at once. Passing "eq=False, order=True" explicitly will raise a "ValueError" though. Since this is arguably a deeper backward-compatibility break, it will have an extended deprecation period until 2021-06-01. After that day, the "cmp" argument will be removed. "attr.Attribute" also isn't orderable anymore. `#574 <https://github.com/python-attrs/attrs/issues/574>`_ * Changes + Updated "attr.validators.__all__" to include new validators added in `#425`_. `#517 <https://github.com/python-attrs/attrs/issues/517>`_ + Slotted classes now use a pure Python mechanism to rewrite the "__class__" cell when rebuilding the class, so "super()" works even on environments where "ctypes" is not installed. `#522 <https://github.com/python-attrs/attrs/issues/522>`_ + When collecting attributes using "@attr.s(auto_attribs=True)", attributes with a default of "None" are now deleted too. `#523 <https://github.com/python-attrs/attrs/issues/523>`_, `#556 <https://github.com/python-attrs/attrs/issues/556>`_ + Fixed "attr.validators.deep_iterable()" and "attr.validators.deep_mapping()" type stubs. `#533 <https://github.com/python-attrs/attrs/issues/533>`_ + "attr.validators.is_callable()" validator now raises an exception "attr.exceptions.NotCallableError", a subclass of "TypeError", informing the received value. `#536 <https://github.com/python-attrs/attrs/issues/536>`_ + "@attr.s(auto_exc=True)" now generates classes that are hashable by ID, as the documentation always claimed it would. `#543 <https://github.com/python-attrs/attrs/issues/543>`_, `#563 <https://github.com/python-attrs/attrs/issues/563>`_ + Added "attr.validators.matches_re()" that checks string attributes whether they match a regular expression. `#552 <https://github.com/python-attrs/attrs/issues/552>`_ + Keyword-only attributes ("kw_only=True") and attributes that are excluded from the "attrs"'s "__init__" ("init=False") now can appear before mandatory attributes. `#559 <https://github.com/python-attrs/attrs/issues/559>`_ + The fake filename for generated methods is now more stable. It won't change when you restart the process. `#560 <https://github.com/python-attrs/attrs/issues/560>`_ + The value passed to "@attr.ib(repr=…)" can now be either a boolean (as before) or a callable. That callable must return a string and is then used for formatting the attribute by the generated "__repr__()" method. `#568 <https://github.com/python-attrs/attrs/issues/568>`_ + Added "attr.__version_info__" that can be used to reliably check the version of "attrs" and write forward- and backward-compatible code. Please check out the `section on deprecated APIs <http://www.attrs.org/en/stable/api.html#deprecated-apis>`_ on how to use it. `#580 <https://github.com/python-attrs/attrs/issues/580>`_ * Mon Aug 12 2019 Tomáš Chvátal <tchvatal@suse.com> - Switch to multibuild to enable tests * Mon Mar 04 2019 Ondřej Súkup <mimi.vx@gmail.com> - update to 19.1.0 * Fixed a bug where deserialized objects with cache_hash=True could have incorrect hash code values * Add is_callable, deep_iterable, and deep_mapping validators. * Fixed stub files to prevent errors raised by mypy's disallow_any_generics = True option. * Attributes with init=False now can follow after kw_only=True attributes. * attrs now has first class support for defining exception classes. * Clarified documentation for hashing to warn that hashable objects should be deeply immutable * Thu Dec 06 2018 Tomáš Chvátal <tchvatal@suse.com> - Fix fdupes call
/usr/lib/python3.8/site-packages/attr /usr/lib/python3.8/site-packages/attr/__init__.py /usr/lib/python3.8/site-packages/attr/__init__.pyi /usr/lib/python3.8/site-packages/attr/__pycache__ /usr/lib/python3.8/site-packages/attr/__pycache__/__init__.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/__init__.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_cmp.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_cmp.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_compat.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_compat.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_config.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_config.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_funcs.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_funcs.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_make.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_make.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_next_gen.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_next_gen.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_version_info.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/_version_info.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/converters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/converters.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/exceptions.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/exceptions.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/filters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/filters.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/setters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/setters.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/validators.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attr/__pycache__/validators.cpython-38.pyc /usr/lib/python3.8/site-packages/attr/_cmp.py /usr/lib/python3.8/site-packages/attr/_cmp.pyi /usr/lib/python3.8/site-packages/attr/_compat.py /usr/lib/python3.8/site-packages/attr/_config.py /usr/lib/python3.8/site-packages/attr/_funcs.py /usr/lib/python3.8/site-packages/attr/_make.py /usr/lib/python3.8/site-packages/attr/_next_gen.py /usr/lib/python3.8/site-packages/attr/_version_info.py /usr/lib/python3.8/site-packages/attr/_version_info.pyi /usr/lib/python3.8/site-packages/attr/converters.py /usr/lib/python3.8/site-packages/attr/converters.pyi /usr/lib/python3.8/site-packages/attr/exceptions.py /usr/lib/python3.8/site-packages/attr/exceptions.pyi /usr/lib/python3.8/site-packages/attr/filters.py /usr/lib/python3.8/site-packages/attr/filters.pyi /usr/lib/python3.8/site-packages/attr/py.typed /usr/lib/python3.8/site-packages/attr/setters.py /usr/lib/python3.8/site-packages/attr/setters.pyi /usr/lib/python3.8/site-packages/attr/validators.py /usr/lib/python3.8/site-packages/attr/validators.pyi /usr/lib/python3.8/site-packages/attrs /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/PKG-INFO /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/SOURCES.txt /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/dependency_links.txt /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/not-zip-safe /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/requires.txt /usr/lib/python3.8/site-packages/attrs-21.4.0-py3.8.egg-info/top_level.txt /usr/lib/python3.8/site-packages/attrs/__init__.py /usr/lib/python3.8/site-packages/attrs/__init__.pyi /usr/lib/python3.8/site-packages/attrs/__pycache__ /usr/lib/python3.8/site-packages/attrs/__pycache__/__init__.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/__init__.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/converters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/converters.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/exceptions.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/exceptions.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/filters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/filters.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/setters.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/setters.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/validators.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/attrs/__pycache__/validators.cpython-38.pyc /usr/lib/python3.8/site-packages/attrs/converters.py /usr/lib/python3.8/site-packages/attrs/exceptions.py /usr/lib/python3.8/site-packages/attrs/filters.py /usr/lib/python3.8/site-packages/attrs/py.typed /usr/lib/python3.8/site-packages/attrs/setters.py /usr/lib/python3.8/site-packages/attrs/validators.py /usr/share/doc/packages/python38-attrs /usr/share/doc/packages/python38-attrs/CHANGELOG.rst /usr/share/doc/packages/python38-attrs/README.rst /usr/share/licenses/python38-attrs /usr/share/licenses/python38-attrs/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jun 16 23:38:12 2022