14
0

32 Commits

Author SHA256 Message Date
8a1a6bbf38 Accepting request 1219196 from devel:languages:python
- update to 2.4.6:
  * Added pure py wheel for Python 3.13
  * Now `set`, `setdefault` and `delete` does always a shallow
    copy, as the C extension, `tuple` and the rest of the world.
- update to 2.4.5:
  * Improved speed of `set`, `setdefault` and `delete` for pure
    py impl, if `frozendict` is hashable

OBS-URL: https://build.opensuse.org/request/show/1219196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=12
2024-10-30 16:36:35 +00:00
19b6514eaa - update to 2.4.6:
* Added pure py wheel for Python 3.13
  * Now `set`, `setdefault` and `delete` does always a shallow
    copy, as the C extension, `tuple` and the rest of the world.
- update to 2.4.5:
  * Improved speed of `set`, `setdefault` and `delete` for pure
    py impl, if `frozendict` is hashable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=30
2024-10-29 21:35:44 +00:00
6828e93cfe Accepting request 1173180 from devel:languages:python
- update to 2.4.4:
  * Added typing for deepfreeze, register and unregister (see
    #99)
- update to 2.4.3:
  * Now enums are not modified by deepfreeze (see #98)

OBS-URL: https://build.opensuse.org/request/show/1173180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=11
2024-05-11 16:21:00 +00:00
ce034bf632 - update to 2.4.4:
* Added typing for deepfreeze, register and unregister (see
    #99)
- update to 2.4.3:
  * Now enums are not modified by deepfreeze (see #98)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=28
2024-05-10 13:29:40 +00:00
4314636182 Accepting request 1169411 from devel:languages:python
- update to 2.4.2:
  * deepfreeze doesn't change anymore the original object,
- update to 2.4.1:
  * In deepfreeze, prefer registered conversions
  * Some little fixing to typing
  * Documentation typo

- update to 2.3.9:
  * Various improvements to type hints
  * Fix union of frozendict for python implementation
  * Avoid storing empty singleton on class itself in python
    implementation
  * Now pure py implementation can be built also passing the
    `FROZENDICT_PURE_PY` env var with value `1`
  * Added type annotations to pyi interface file.
  * Numerous improvements to `frozendict` type hints.
  * Fixed a regression in sdist packages that made them not
    working in the previous release
  * Added monkeypatches to `json` and `orjson`, so you can
    serialize `frozendict` directly
  * Added muslinux builds

OBS-URL: https://build.opensuse.org/request/show/1169411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=10
2024-04-21 18:28:15 +00:00
451fe2e8b6 - update to 2.4.2:
* deepfreeze doesn't change anymore the original object,
- update to 2.4.1:
  * In deepfreeze, prefer registered conversions
  * Some little fixing to typing
  * Documentation typo

- update to 2.3.9:
  * Various improvements to type hints
  * Fix union of frozendict for python implementation
  * Avoid storing empty singleton on class itself in python
    implementation
  * Now pure py implementation can be built also passing the
    `FROZENDICT_PURE_PY` env var with value `1`
  * Added type annotations to pyi interface file.
  * Numerous improvements to `frozendict` type hints.
  * Fixed a regression in sdist packages that made them not
    working in the previous release
  * Added monkeypatches to `json` and `orjson`, so you can
    serialize `frozendict` directly
  * Added muslinux builds

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=26
2024-04-20 20:42:10 +00:00
a831b6b498 Accepting request 1092255 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=9
2023-06-12 13:25:51 +00:00
d7041fefde Accepting request 1092096 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=24
2023-06-11 11:44:01 +00:00
149a3c90f1 Accepting request 1067009 from devel:languages:python
- Don't disable whole 3.11 build, just skip tests. Package builds
  and works, it is just slower.

OBS-URL: https://build.opensuse.org/request/show/1067009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=8
2023-02-21 14:36:51 +00:00
215c776577 Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=22
2023-02-21 13:27:38 +00:00
906d973499 - Don't disable whole 3.11 build, just skip tests. Package builds
and works, it is just slower.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=21
2023-02-21 13:26:33 +00:00
fbb1f55843 Accepting request 1066715 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1066715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=7
2023-02-20 16:46:08 +00:00
05541a7496 Accepting request 1066677 from home:darix:apps
- disable python 3.11 until it is supported by the C extension

- Update to 2.3.5
  - C Extension is now optional by default
  - Pure py package will be no more pubished on Pypi
  - Fixed incompatibility with pyinstaller
  - Fixed little bug with mypy

- Update to 2.3.4

OBS-URL: https://build.opensuse.org/request/show/1066677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=19
2023-02-20 07:45:57 +00:00
8f65395530 Accepting request 991937 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/991937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=6
2022-08-01 19:32:56 +00:00
a299818b6f Accepting request 991871 from home:darix:apps
- Update to 2.3.4 
  - fixed various memory leaks
  - Implemented a memory leak tracer
  - Fixed memory leaks in repr() and in costruction of an empty
    frozendict.

OBS-URL: https://build.opensuse.org/request/show/991871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=17
2022-08-01 06:28:30 +00:00
a0786f89db Accepting request 981208 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/981208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=5
2022-06-08 12:24:54 +00:00
e59b04f977 Accepting request 981192 from home:darix:apps
- Update to 2.3.2
  - Fixed a memory leak in __hash__() (thanks to @gusostow for the
    report)
- Changes from 2.3.1
  - Added key([index]), value([index]) and item([index]) methods
  - Other internal changes and clean-ups
- Changes from 2.3.0
  - Added set, delete and setdefault methods.
- Changes from 2.2.1
  - Fix segfault on equals between a frozendict and any other
    dict-like object different but with the same length, in Python
    3.6
- Changes from 2.2.0
  - Added binaries for all supported Py versions (3.7+), OSes
    (Linux, Windows, MacOS) and architectures (x86_64)
  - Speed is now fast as dict, if not faster!
  - reversed() now works also for Py 3.6 and 3.7
  - Completely refactored internal code, fixing a load of problems
  - Fixed bug with empty instances of subclasses
  - Removed binaries for Python 3.6, see next releases
  - now frozendict no more inherits from MutableMapping. We
    recommend anyway the C Extension.
  - reversed supported

OBS-URL: https://build.opensuse.org/request/show/981192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=15
2022-06-07 20:47:22 +00:00
f57ac2daa1 Accepting request 944909 from devel:languages:python
- Enable tests
- Update to 2.1.3:
  - renamed popitem in delete_by_index in coold
  - removed pop() from coold
  - substituted _PyObject_GC_(UN)TRACK with PyObject_GC_(Un)Track
  - readding needed internal cpython header files for version >=
    3.8
  - restored compilation of dictobject.c
  - cleaning up thing for more canonical compilation (testing on
    3.7 only for now)
  - added segfault debugger and pure py builder
  - add cibuildwheel
  - fixed regression for coold.set() in Python 3.6
  - added to __repr__ in pure py version the module name,
    consistently with C extension
  - added support for | operand for C extension and for pure py
    version 3.6 - 3.8
  - added type hinting support for C extension
  - restored Py_BUILD_CORE instead of Py_BUILD_CORE_MODULE
  - updated code for cpython 3.7
  - readded deprecated FrozenOrderedDict
  - added pure py version of coold
  - fixed repr for subclasses
  - support for python 3.10
  - inhibited __ior__ in py version
  - added 3.7 and 3.8 c ext ; fixed subclass bugs
  - added python 3.8 support
  - aligned immutability exceptions with stdlib
  - other minor changes to readme
  - now __init__ does not throw an exception is reinvoked, as
    frozenset. Notable speedup in creation.
  - returned to the dict API, __hash__() apart
  - change `change __sub__ to be consistent with __and__
  - change `isdisjoint` accordingly to new `__and__` behavior
  - added `by="items" to `sorted()` method
  - docstring for __and__
  - now __and__ returns the intersection between a frozendict and
    a dict-like only with the *items* in common. Order of the
    *second parameter* is preserved.
  - get_deep() implemented
  - implemented isdisjoint()
  - improved bitwise end operator unit test
  - implemented method sorted()
  - added & operator (intersection)
  - implemented the CPython frozenset hash method. More slow but
    more memory-friendly
  - fixed deepcopy; various micro-optimizations; other minors
  - reverted calculation of hash using frozenset
  - improving `hash` speed and memory consumption
  - copy() and frozendict(another_frozendict) does return the
    same instance
  - fixed repr()
  - __sub__ now supports also text-like and generators-like
    iterables
  - now values of frozendict can be unhashable, as tuple.
    hash(myfrozendict) will raise an exception in that case; now
    empty frozendict is a singleton, like tuple and frozenset
  - speed improvements to constructor
  - removed useless attempt of micro-optimization
  - speedup to creating a copy of a frozendict; added testcase
    and benchmarks

OBS-URL: https://build.opensuse.org/request/show/944909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=4
2022-01-08 22:24:06 +00:00
7a0d90027c Don't build on Python 2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=14
2022-01-08 12:25:44 +00:00
b530fa5d46 Add warning
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=13
2022-01-08 12:13:01 +00:00
b40c5cfc9c Accepting request 944897 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/944897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=12
2022-01-08 12:10:05 +00:00
e5c5416c19 Multibuild
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=11
2022-01-08 11:32:10 +00:00
4e17e2fcb7 - Enable tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=10
2022-01-08 11:27:31 +00:00
0a19be7084 - Update to 2.1.3:
- renamed popitem in delete_by_index in coold
  - removed pop() from coold
  - substituted _PyObject_GC_(UN)TRACK with PyObject_GC_(Un)Track
  - readding needed internal cpython header files for version >=
    3.8
  - restored compilation of dictobject.c
  - cleaning up thing for more canonical compilation (testing on
    3.7 only for now)
  - added segfault debugger and pure py builder
  - add cibuildwheel
  - fixed regression for coold.set() in Python 3.6
  - added to __repr__ in pure py version the module name,
    consistently with C extension
  - added support for | operand for C extension and for pure py
    version 3.6 - 3.8
  - added type hinting support for C extension
  - restored Py_BUILD_CORE instead of Py_BUILD_CORE_MODULE
  - updated code for cpython 3.7
  - readded deprecated FrozenOrderedDict
  - added pure py version of coold
  - fixed repr for subclasses
  - support for python 3.10
  - inhibited __ior__ in py version
  - added 3.7 and 3.8 c ext ; fixed subclass bugs
  - added python 3.8 support
  - aligned immutability exceptions with stdlib
  - other minor changes to readme
  - now __init__ does not throw an exception is reinvoked, as
    frozenset. Notable speedup in creation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=9
2022-01-08 11:21:37 +00:00
741d16b1ec Accepting request 707818 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/707818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=3
2019-06-06 16:17:21 +00:00
Tomáš Chvátal
af55faaaee Accepting request 707803 from home:pgajdos
- not there is no upstream testsuite
- call spec cleaner

OBS-URL: https://build.opensuse.org/request/show/707803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=7
2019-06-05 11:38:40 +00:00
1c064bd0df Accepting request 656858 from devel:languages:python
- Fix fdupes call

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/656858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=2
2018-12-11 14:48:28 +00:00
Tomáš Chvátal
42f3de9060 - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=5
2018-12-10 14:53:10 +00:00
3cb2fe8313 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=4
2018-12-04 17:13:47 +00:00
4a3c264ec3 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=3
2018-12-04 13:28:36 +00:00
e625621daf Accepting request 494783 from devel:languages:python
Needed for ycmd code completion tool

OBS-URL: https://build.opensuse.org/request/show/494783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozendict?expand=0&rev=1
2017-05-31 10:16:36 +00:00
Jan Matejek
4f1c274a89 Accepting request 479145 from home:hurricanehernandez:youcompleteme
As requested:
    * modname and origname dropped
    * source url update. `py2pack show frozendict` produces no url.
        url submitted in first request was url suggested by py2ack.
        Do you have any recommendations  on how to retrieve correct
        url when py2pack suggests wrong url?
    * fdupes updated as requested.
    * updated %python_module redefinition

OBS-URL: https://build.opensuse.org/request/show/479145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozendict?expand=0&rev=1
2017-03-14 12:58:15 +00:00