Revisions of python-bidict

buildservice-autocommit accepted request 1160811 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 34)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 33)
- update to 0.23.1:
  * Fix a regression in 0.23.0 that could defeat type inference
    of a bidict's key type and value type when running in Python
    3.8 or 3.9. :issue:`310`
  * Primarily, this release simplifies bidict by removing minor
    features that are no longer necessary or that have little to
    no apparent usage, and it also includes some performance
    optimizations.
  * Specifically, initializing or updating a bidict is now up to
    70% faster in microbenchmarks.
  * The changes in this release will also make it easier to
    maintain and improve bidict in the future, including further
    potential performance optimizations.
  * It also contains several other improvements.
  * Drop support for Python 3.7, which reached end of life on
    2023-06-27, and take advantage of features available in
    Python 3.8+.
  * Drop support for Python 3.7, which reached end of life on
    2023-06-27, and take advantage of features available in
    Python 3.8+.
  * Remove FrozenOrderedBidict now that Python 3.7 is no longer
    supported. :class:`~bidict.frozenbidict` now provides
    everything that FrozenOrderedBidict provided (including
    :class:`reversibility <collections.abc.Reversible>`) on all
    supported Python versions, but with less space overhead.
  * Remove FrozenOrderedBidict now that Python 3.7 is no longer
    supported. :class:`~bidict.frozenbidict` now provides
    everything that FrozenOrderedBidict provided (including
    :class:`reversibility <collections.abc.Reversible>`) on all
    supported Python versions, but with less space overhead.
buildservice-autocommit accepted request 1144443 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 32)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 31)
- Add patch support-python-312.patch:
  * Cope with different TypeError raised.
- No more greedy globs in %files.
buildservice-autocommit accepted request 1138873 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 30)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 1138861 from Antonio Larrosa's avatar Antonio Larrosa (alarrosa) (revision 29)
- Remove BuildRequires that aren't really used:
  sortedcollections and sortedcontainers

I checked that the number of tests run are the same
with and without those buildrequires
buildservice-autocommit accepted request 1130386 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 28)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 1130323 from Antonio Larrosa's avatar Antonio Larrosa (alarrosa) (revision 27)
- Add %{?sle15_python_module_pythons}
buildservice-autocommit accepted request 1082828 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 25)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 24)
- update to 0.22.1:
  * Only include the source code in the source distribution. This
    reduces the size of the source distribution from ~200kB to ~30kB.
  * Fix the return type hint of bidict.inverted() to return an
    Iterator, rather than an Iterable
buildservice-autocommit accepted request 1005757 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 23)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 22)
- update to 0.22.0:
 - Drop support for Python 3.6, which reached end of life on 2021-12-23
   and is no longer supported by pip as of pip version 22.
   Take advantage of this to reduce bidict's maintenance costs.
 - Use mypy-appeasing explicit re-exports in ``__init__.py``
   (e.g. ``import x as x``)
   so that mypy no longer gives you an implicit re-export error
   if you run it with ``--no-implicit-reexport`` (or ``--strict``)
   against code that imports from :mod:`bidict`.
 - Update the implementations and type annotations of
   :meth:`bidict.BidictBase.keys` and
   :meth:`bidict.BidictBase.values` to make use of the new
   :class:`~bidict.BidictKeysView` type,
   which works a bit better with type checkers.
 - Inverse bidict instances are now computed lazily the first time
   the :attr:`~bidict.BidictBase.inverse` attribute is accessed
   rather than being computed eagerly during initialization.
   (A bidict's backing, inverse, one-way mapping
   is still kept in sync eagerly as any mutations are made,
   to preserve key- and value-uniqueness.)
 - Optimize initializing a bidict with another bidict.
   In a microbenchmark on Python 3.10,
   this now performs over **2x faster**.
 - Optimize updating an empty bidict with another bidict.
   In a microbenchmark on Python 3.10,
   this now performs **60-75% faster**.
 - Optimize :meth:`~bidict.BidictBase.copy`.
   In a microbenchmark on Python 3.10,
   this now performs **10-20x faster**.
 - Optimize rolling back
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 916936 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 21)
- Update to version 0.21.3
  * All bidicts now provide the equals_order_sensitive() method,
    not just bidict.OrderedBidicts.
  * Since support for Python < 3.6 was dropped in v0.21.0,
    non-Ordered bidicts preserve a deterministic ordering on all
    supported Python versions, so all bidicts can now provide
    equals_order_sensitive().
  * Take better advantage of the fact that dicts are reversible
    in Python 3.8+. This allows even non-Ordered bidicts to
    efficiently provide a __reversed__() implementation, which
    they now do. As a result, if you are using Python 3.8+,
    frozenbidict now gives you everything that
    FrozenOrderedBidict gives you with less space overhead.
  * Drop setuptools_scm as a setup_requires dependency.
  * Remove the bidict.__version_info__ attribute.
buildservice-autocommit accepted request 895565 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 20)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 895557 from Axel Braun's avatar Axel Braun (DocB) (revision 19)
- Update to version 0.21.2
  * Include `py.typed <https://www.python.org/dev/peps/pep-0561/#packaging-type-information>`__
    file to mark :mod:`bidict` as type hinted.
buildservice-autocommit accepted request 830940 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 18)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 17)
- Update to 0.21.0:
  * bidict now provides type hints
  * Add bidict.MutableBidirectionalMapping ABC
  * Drop Python 3.5 support
  * Remove bidict.compat module
  * Remove APIs deprecated in previous releases 
- Drop dont-limit-versions.patch, included upstream
buildservice-autocommit accepted request 830126 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 16)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) committed (revision 15)
- Add dont-limit-versions.patch … don't limit the upper
  version of setuptools_scm to be used.
Displaying revisions 1 - 20 of 34
openSUSE Build Service is sponsored by