Sync from SUSE:SLFO:Main python-nocasedict revision b79761ab8f779787095ddc6af1c091b4
This commit is contained in:
parent
d67cb8a4a1
commit
88b3d3daf8
BIN
nocasedict-1.0.4.tar.gz
(Stored with Git LFS)
BIN
nocasedict-1.0.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
nocasedict-2.0.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
nocasedict-2.0.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 13:09:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.4:
|
||||
* Fixed safety issues up to 2024-08-18.
|
||||
* Test: Increased versions of GitHub Actions plugins used, to
|
||||
eliminate warnings about node v16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 02:15:26 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.0.3:
|
||||
* Installation of this package using “setup.py” is no longer supported.
|
||||
* Fixed issues resulting from removal of support for pytest.warns(None)
|
||||
in pytest version 8.
|
||||
* Added support for Python 3.12.
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 11:43:21 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- version update to 2.0.1
|
||||
* Fixed coveralls issues with KeyError and HTTP 422 Unprocessable Entity.
|
||||
* Removed support for Python 2.7, 3.4, 3.5. The minimum required Python version
|
||||
is now 3.6. This was needed in order to add Python type hints (issue #123).
|
||||
* Enabled Github Actions for stable branches.
|
||||
* Addressed new issues of Pylint 2.16.
|
||||
* Added type hints and type checking with MyPy (issue #123).
|
||||
* Resurrected support for byte string keys that was removed in version 1.1.0.
|
||||
(issue #139)
|
||||
* The default casefolding method on Python 3 was changed from `str.lower()`
|
||||
to `str.casefold()`. This changes the matching of the case-insensitive keys.
|
||||
This shold normally be an improvement, but in case you find that you are
|
||||
negatively affected by this change, you can go back to the `str.lower()`
|
||||
method by overriding the `NocaseDict.__casefold__()` method with a method
|
||||
that calls `str.lower()`. (issue #122)
|
||||
* Added support for Python 3.11.
|
||||
* Changed the default casefolding method on Python 3 to be `str.casefold()`
|
||||
in order to improve Unicode support. On Python 2, it remains `str.lower()`.
|
||||
Added support for user-defined casefolding. (issue #122)
|
||||
- drop python-six dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 1 12:59:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-nocasedict
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,21 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-nocasedict
|
||||
Version: 1.0.4
|
||||
Version: 2.0.4
|
||||
Release: 0
|
||||
Summary: A case-insensitive ordered dictionary for Python
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pywbem/nocasedict
|
||||
Source: https://files.pythonhosted.org/packages/source/n/nocasedict/nocasedict-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.14.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six >= 1.14.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -42,19 +40,19 @@ the original lexical case of its keys.
|
||||
%setup -q -n nocasedict-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/nocasedict
|
||||
%{python_sitelib}/nocasedict-%{version}*info
|
||||
%{python_sitelib}/nocasedict-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user