Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python38-attrs-21.4.0-1.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python38-attrs Distribution: openSUSE:Factory:zSystems
Version: 21.4.0 Vendor: obs://
Release: 1.2 Build date: Thu May 12 11:29:30 2022
Group: Development/Languages/Python Build host: s390zl23
Size: 518584 Source RPM: python-attrs-21.4.0-1.2.src.rpm
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

python-attrs is the successor to python-characterstic






* Tue Jan 04 2022 Dirk Müller <>
  - 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
    * 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 <>
  - 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
* Thu Nov 26 2020 Dirk Mueller <>
  - update to 20.3.0:
    - ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain **provisional**.
* Thu Sep 17 2020 Dirk Mueller <>
  - 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 <>
  - Do not restrict us to new setuptools, we generate stuff
    even with the older variants
* Mon Oct 21 2019 Ondřej Súkup <>
  - 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 <>
  - 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 <>`_.
      `#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 <>`_
    * 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
      <>`_.  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
    * Changes
      + Updated "attr.validators.__all__" to include new validators
      added in `#425`_.  `#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
      + When collecting attributes using "@attr.s(auto_attribs=True)",
      attributes with a default of "None" are now deleted too.  `#523
      <>`_, `#556
      + Fixed "attr.validators.deep_iterable()" and
      "attr.validators.deep_mapping()" type stubs.  `#533
      + "attr.validators.is_callable()" validator now raises an
      exception "attr.exceptions.NotCallableError", a subclass of
      "TypeError", informing the received value.  `#536
      + "@attr.s(auto_exc=True)" now generates classes that are hashable
      by ID, as the documentation always claimed it would.  `#543
      <>`_, `#563
      + Added "attr.validators.matches_re()" that checks string
      attributes whether they match a regular expression.  `#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
      + The fake filename for generated methods is now more stable.  It
      won't change when you restart the process.  `#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
      + 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
      <>`_ on
      how to use it.  `#580
* Mon Aug 12 2019 Tomáš Chvátal <>
  - Switch to multibuild to enable tests
* Mon Mar 04 2019 Ondřej Súkup <>
  - 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 <>
  - Fix fdupes call



Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Jun 15 00:09:19 2022