1
0

11 Commits

Author SHA256 Message Date
1761fb705a Accepting request 1295995 from devel:languages:python
- Update to 7.3.2:
  * Fixing #288 default get value error when using box_dots
  * Fixing #275 default_box_create_on_get is ignored with from_yaml
  * Fixing #285 Infinite Recursion when accessing non existent list index in
    a DefaultBox with box_dots
  * Fixing #281 consistent error message about missing YAML parser
  * Removing support for Python 3.8 as it is EOL

OBS-URL: https://build.opensuse.org/request/show/1295995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=11
2025-07-28 12:58:45 +00:00
cf80176a3e - Update to 7.3.2:
* Fixing #288 default get value error when using box_dots
  * Fixing #275 default_box_create_on_get is ignored with from_yaml
  * Fixing #285 Infinite Recursion when accessing non existent list index in
    a DefaultBox with box_dots
  * Fixing #281 consistent error message about missing YAML parser
  * Removing support for Python 3.8 as it is EOL

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-box?expand=0&rev=21
2025-07-28 05:06:39 +00:00
d4f8962f87 Accepting request 1181931 from devel:languages:python
- update to 7.2.0:
  * Adding #266 support for accessing nested items in BoxList
    using numpy-style tuple indexing (thanks to Bit0r)
  * Adding tests and Cython releases for Python 3.12
  * Fixing #251 support for circular references in lists (thanks
    to Muspi Merol)
  * Fixing #261 altering all __repr__ methods so that subclassing
    will output the correct class name (thanks to Gabriel Tkacz)
  * Fixing #267 Fix type 'int' not iterable (thanks to YISH)

OBS-URL: https://build.opensuse.org/request/show/1181931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=10
2024-06-20 14:49:07 +00:00
1f08c2cf5a Accepting request 1133530 from devel:languages:python
- update to 7.1.1:
  * Fixing Cython optimized build deployments for linux
  * Adding #255 defer ipython import for large import speed
    improvements (thanks to Eric Prestat)
  * Adding testing for Python 3.12
  * Fixing #253 merge_update box list merge types not populated
    to sub dictionaries (thanks to lei wang)
  * Fixing #257 Two test failures due to arguments having
    incorrect types (thanks to Michał Górny)
  * Fixing stub files to match latest code signatures
  * Removing #251 support for circular references in lists
  * Removing support for Python 3.7 as it is EOL
  * Switching off of poetry due to multiple build issues
  * Adding #169 default functions with the box_instance and key
    parameter (thanks to Коптев Роман Викторович)
  * Adding #170 Be able to initialize with a flattened dict - by
    using DDBox (thanks to Ash A.)
  * Adding #192 box_dots treats all keys with periods in them as
    separate keys (thanks to Rexbard)
  * Adding #211 support for properties and setters in subclasses
  * Adding #226 namespace to track changes to the box
  * Adding #236 iPython detection to prevent adding attribute
    lookup words
  * Adding #238 allow ``|`` and ``+`` for frozen boxes
  * Adding new DDBox class (Default Dots Box) that is a subclass
    of SBox
  * Fixing #235 how ``|`` and ``+`` updates were performed for
    right operations
  * Fixing #234 typos
  * Fixing no implicit optionals with type hinting

OBS-URL: https://build.opensuse.org/request/show/1133530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=9
2023-12-17 20:31:39 +00:00
66e46251ce Accepting request 1035242 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=8
2022-11-12 16:40:55 +00:00
d41bddcc13 Accepting request 983572 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/983572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=7
2022-06-18 20:06:24 +00:00
56b8ff0897 Accepting request 937740 from devel:languages:python
- version update to 5.4.1
  Version 5.4.1
  -------------
  * Fixing #205 setdefault behavior with box_dots (thanks to  Ivan Pepelnjak)
  Version 5.4.0
  -------------
  * Adding py.typed for mypy support (thanks to Dominic)
  * Adding testing for Python 3.10-dev
  * Fixing #189 by adding mappings for mypy
  * Fixing setdefault behavior with box_dots (thanks to ipcoder)
  * Changing #193 how magic methods are handled with default_box (thanks to Rexbard)
  Version 5.3.0
  -------------
  * Adding support for functions to box_recast (thanks to Jacob Hayes)
  * Adding #181 support for extending or adding new items to list during `merge_update`  (thanks to Marcos Dione)
  * Fixing maintain stacktrace cause for BoxKeyError and BoxValueError (thanks to Jacob Hayes)
  * Fixing #177 that emtpy yaml files raised errors instead of returning empty objects (thanks to Tim Schwenke)
  * Fixing #171 that `popitems` wasn't first checking if box was frozen (thanks to Varun Madiath)
  * Changing all files to LF line endings
  * Removing duplicate `box_recast` calls (thanks to Jacob Hayes)
  * Removing coveralls code coverage, due to repeated issues with service
  Version 5.2.0
  -------------
  * Adding checks for frozen boxes to `pop`, `popitem` and `clear` (thanks to Varun Madiath)
  * Fixing requirements-test.txt (thanks to Fabian Affolter)
  * Fixing Flake8 conflicts with black (thanks to Varun Madiath)
  * Fixing coveralls update (thanks to Varun Madiath)
  Version 5.1.1
  -------------
  * Adding testing for Python 3.9
  * Fixing #165 `box_dots` to work with `default_box`

OBS-URL: https://build.opensuse.org/request/show/937740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=6
2021-12-09 18:45:42 +00:00
4ddf1f3a87 Accepting request 824585 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/824585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=5
2020-08-06 08:42:32 +00:00
55ed30e974 Accepting request 786925 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=4
2020-03-23 11:50:10 +00:00
a45812b3e6 Accepting request 729831 from devel:languages:python
- Update to 3.4.3:
  * Fixing propagation of box options when adding a new list via setdefault (thanks to Stretch)
  * Fixing update does not keep box_intact_types (thanks to pwwang)
  * Fixing update to operate the same way as a normal dictionary (thanks to Craig Quiter)
  * Fixing deepcopy not copying box options (thanks to Nikolay Stanishev)

OBS-URL: https://build.opensuse.org/request/show/729831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=3
2019-09-11 08:36:25 +00:00
7612b4f618 Accepting request 717601 from devel:languages:python
- Update to 3.4.2:
  * Adding license, changes and authors files to source distribution

OBS-URL: https://build.opensuse.org/request/show/717601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-box?expand=0&rev=2
2019-07-22 15:20:21 +00:00
4 changed files with 23 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae403d70dfe4260397906da4ab8e98f6bb11240e44cdda43c6d23d30115f4ef3
size 87699

3
7.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e36006ee9e1e6a11ad6258831a2f7b4260f3113188ebfe482a47f8df69427194
size 88125

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jul 28 05:05:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 7.3.2:
* Fixing #288 default get value error when using box_dots
* Fixing #275 default_box_create_on_get is ignored with from_yaml
* Fixing #285 Infinite Recursion when accessing non existent list index in
a DefaultBox with box_dots
* Fixing #281 consistent error message about missing YAML parser
* Removing support for Python 3.8 as it is EOL
-------------------------------------------------------------------
Thu Jun 20 12:50:45 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-box
#
# 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
@@ -18,14 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-python-box
Version: 7.2.0
Version: 7.3.2
Release: 0
Summary: Advanced Python dictionaries with dot notation access
License: MIT
Group: Development/Languages/Python
URL: https://github.com/cdgriffith/Box
Source: https://github.com/cdgriffith/Box/archive/%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@@ -37,9 +36,11 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ruamel.yaml >= 0.17}
BuildRequires: %{python_module toml >= 0.10.2}
# /SECTION
Requires: python-msgpack >= 1.0.0
Requires: python-ruamel.yaml >= 0.17
Requires: python-toml >= 0.10.2
Suggests: python-msgpack >= 1.0.0
Suggests: python-ruamel.yaml >= 0.17
%if %{python_version_nodots} < 311
Suggests: python-toml >= 0.10.2
%endif
%python_subpackages
%description
@@ -57,7 +58,7 @@ Advanced Python dictionaries with dot notation access
%check
export PYTHONPATH='.'
%pytest_arch
%pytest_arch -k 'not test_to_yaml_ruamel'
%files %{python_files}
%license LICENSE