From f23bc037713f67907696f1484149918a2fa55e4cfb9040afefb131f62cadef4e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 Dec 2023 21:35:05 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=207.1.1:=20=20=20*=20Fixing=20C?= =?UTF-8?q?ython=20optimized=20build=20deployments=20for=20linux=20=20=20*?= =?UTF-8?q?=20Adding=20#255=20defer=20ipython=20import=20for=20large=20imp?= =?UTF-8?q?ort=20speed=20=20=20=20=20improvements=20(thanks=20to=20Eric=20?= =?UTF-8?q?Prestat)=20=20=20*=20Adding=20testing=20for=20Python=203.12=20?= =?UTF-8?q?=20=20*=20Fixing=20#253=20merge=5Fupdate=20box=20list=20merge?= =?UTF-8?q?=20types=20not=20populated=20=20=20=20=20to=20sub=20dictionarie?= =?UTF-8?q?s=20(thanks=20to=20lei=20wang)=20=20=20*=20Fixing=20#257=20Two?= =?UTF-8?q?=20test=20failures=20due=20to=20arguments=20having=20=20=20=20?= =?UTF-8?q?=20incorrect=20types=20(thanks=20to=20Micha=C5=82=20G=C3=B3rny)?= =?UTF-8?q?=20=20=20*=20Fixing=20stub=20files=20to=20match=20latest=20code?= =?UTF-8?q?=20signatures=20=20=20*=20Removing=20#251=20support=20for=20cir?= =?UTF-8?q?cular=20references=20in=20lists=20=20=20*=20Removing=20support?= =?UTF-8?q?=20for=20Python=203.7=20as=20it=20is=20EOL=20=20=20*=20Switchin?= =?UTF-8?q?g=20off=20of=20poetry=20due=20to=20multiple=20build=20issues=20?= =?UTF-8?q?=20=20*=20Adding=20#169=20default=20functions=20with=20the=20bo?= =?UTF-8?q?x=5Finstance=20and=20key=20=20=20=20=20parameter=20(thanks=20to?= =?UTF-8?q?=20=D0=9A=D0=BE=D0=BF=D1=82=D0=B5=D0=B2=20=D0=A0=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=20=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B8=D1=87)=20=20=20*=20Adding=20#170=20Be=20able=20to=20init?= =?UTF-8?q?ialize=20with=20a=20flattened=20dict=20-=20by=20=20=20=20=20usi?= =?UTF-8?q?ng=20DDBox=20(thanks=20to=20Ash=20A.)=20=20=20*=20Adding=20#192?= =?UTF-8?q?=20box=5Fdots=20treats=20all=20keys=20with=20periods=20in=20the?= =?UTF-8?q?m=20as=20=20=20=20=20separate=20keys=20(thanks=20to=20Rexbard)?= =?UTF-8?q?=20=20=20*=20Adding=20#211=20support=20for=20properties=20and?= =?UTF-8?q?=20setters=20in=20subclasses=20=20=20*=20Adding=20#226=20namesp?= =?UTF-8?q?ace=20to=20track=20changes=20to=20the=20box=20=20=20*=20Adding?= =?UTF-8?q?=20#236=20iPython=20detection=20to=20prevent=20adding=20attribu?= =?UTF-8?q?te=20=20=20=20=20lookup=20words=20=20=20*=20Adding=20#238=20all?= =?UTF-8?q?ow=20``|``=20and=20``+``=20for=20frozen=20boxes=20=20=20*=20Add?= =?UTF-8?q?ing=20new=20DDBox=20class=20(Default=20Dots=20Box)=20that=20is?= =?UTF-8?q?=20a=20subclass=20=20=20=20=20of=20SBox=20=20=20*=20Fixing=20#2?= =?UTF-8?q?35=20how=20``|``=20and=20``+``=20updates=20were=20performed=20f?= =?UTF-8?q?or=20=20=20=20=20right=20operations=20=20=20*=20Fixing=20#234?= =?UTF-8?q?=20typos=20=20=20*=20Fixing=20no=20implicit=20optionals=20with?= =?UTF-8?q?=20type=20hinting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-box?expand=0&rev=17 --- 6.1.0.tar.gz | 3 --- 7.1.1.tar.gz | 3 +++ python-python-box.changes | 36 +++++++++++++++++++++++++++++++++++- python-python-box.spec | 19 ++++++++++--------- 4 files changed, 48 insertions(+), 13 deletions(-) delete mode 100644 6.1.0.tar.gz create mode 100644 7.1.1.tar.gz diff --git a/6.1.0.tar.gz b/6.1.0.tar.gz deleted file mode 100644 index c9256b0..0000000 --- a/6.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da98d12e9ef737444dbf6c198c5d92624116287d8b34d0254e1c5706d094f0b3 -size 83124 diff --git a/7.1.1.tar.gz b/7.1.1.tar.gz new file mode 100644 index 0000000..5eaddc8 --- /dev/null +++ b/7.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05e38713932906f86eac7411fcc1c6a9231fee5fac8c1c6ce64acc362feb8340 +size 87515 diff --git a/python-python-box.changes b/python-python-box.changes index 5381afa..44c8227 100644 --- a/python-python-box.changes +++ b/python-python-box.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Dec 15 21:31:47 UTC 2023 - Dirk Müller + +- 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 + ------------------------------------------------------------------- Wed Nov 9 18:38:35 UTC 2022 - Yogalakshmi Arunachalam @@ -52,7 +86,7 @@ Wed Dec 8 09:55:04 UTC 2021 - pgajdos@suse.com ------------- * Adding testing for Python 3.9 * Fixing #165 `box_dots` to work with `default_box` - + ------------------------------------------------------------------- Wed Aug 5 15:02:55 UTC 2020 - Marketa Calabkova diff --git a/python-python-box.spec b/python-python-box.spec index cd463fb..379266d 100644 --- a/python-python-box.spec +++ b/python-python-box.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-box # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -# python_requires='>=3.6' -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-python-box -Version: 6.1.0 +Version: 7.1.1 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 setuptools} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -49,10 +49,10 @@ Advanced Python dictionaries with dot notation access %setup -q -n Box-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -62,6 +62,7 @@ export PYTHONPATH='.' %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/box +%{python_sitelib}/python_box-%{version}.dist-info %changelog