From 14db9ebc31b6cb8fb580ccc7ecc957539cf0105054186b6b4786481d0984b4c4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 13 Jul 2025 14:15:47 +0000 Subject: [PATCH] - update to 2.1.0: * Dropped support for Python 3.6 and 3.7 because they are out of service and to simplify development dependencies. (issue #214) * Dev: Changed 'make install' to no longer perform an editable install, but a standalone install, since pip will remove support for editable installs. (related to issue #180) * Dev: Removed support for the env.var TEST_INSTALLED that used the installed package for testing, for simplicity. Now, the local package in the repository main directory is always used for testing. * Test: Python 3.13 was pinned to 3.13.0 to work around a pylint issue on Python 3.13.1. * Addressed safety issues up to 2025-04-27. * Dev: Added missing dependencies for development. * Test: Fixed the issue that coveralls was not found in the test workflow on MacOS with Python 3.9-3.11, by running it without login shell. Added Python 3.11 on MacOS to the normal tests. * Added support for Python 3.13. This required increasing the minimum version of several packages needed for development. (issue #225) * Added '__version_tuple__' with the integer versions. (related to issue #180) * Dev: Changed from setup.py to using pyproject.toml. (issue #180) * Dev: Split safety policy files into one for installation dependencies and one for development dependencies. (issue #205, related to issue #180) * Dev: Split minimum-constraints.txt file into one for OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nocasedict?expand=0&rev=15 --- .gitattributes | 23 +++++++ .gitignore | 1 + nocasedict-2.0.3.tar.gz | 3 + nocasedict-2.0.4.tar.gz | 3 + nocasedict-2.1.0.tar.gz | 3 + python-nocasedict.changes | 122 ++++++++++++++++++++++++++++++++++++++ python-nocasedict.spec | 59 ++++++++++++++++++ 7 files changed, 214 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 nocasedict-2.0.3.tar.gz create mode 100644 nocasedict-2.0.4.tar.gz create mode 100644 nocasedict-2.1.0.tar.gz create mode 100644 python-nocasedict.changes create mode 100644 python-nocasedict.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/nocasedict-2.0.3.tar.gz b/nocasedict-2.0.3.tar.gz new file mode 100644 index 0000000..6cdb5e8 --- /dev/null +++ b/nocasedict-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9 +size 40678 diff --git a/nocasedict-2.0.4.tar.gz b/nocasedict-2.0.4.tar.gz new file mode 100644 index 0000000..e396baf --- /dev/null +++ b/nocasedict-2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ca934f65df57b10d0fcab5f0c39e9dccb93577ff9f22bef98265ddbf12f8af1 +size 41025 diff --git a/nocasedict-2.1.0.tar.gz b/nocasedict-2.1.0.tar.gz new file mode 100644 index 0000000..9f8b069 --- /dev/null +++ b/nocasedict-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b563d5851cbb0e0b10fbb6189ba87e0612d22e5a6f3a004a4573ab5b38aaaa7d +size 129973 diff --git a/python-nocasedict.changes b/python-nocasedict.changes new file mode 100644 index 0000000..08d1083 --- /dev/null +++ b/python-nocasedict.changes @@ -0,0 +1,122 @@ +------------------------------------------------------------------- +Sun Jul 13 14:15:36 UTC 2025 - Dirk Müller + +- update to 2.1.0: + * Dropped support for Python 3.6 and 3.7 because they are out + of service and to simplify development dependencies. (issue + #214) + * Dev: Changed 'make install' to no longer perform an editable + install, but a standalone install, since pip will remove + support for editable installs. (related to issue #180) + * Dev: Removed support for the env.var TEST_INSTALLED that used + the installed package for testing, for simplicity. Now, the + local package in the repository main directory is always used + for testing. + * Test: Python 3.13 was pinned to 3.13.0 to work around a + pylint issue on Python 3.13.1. + * Addressed safety issues up to 2025-04-27. + * Dev: Added missing dependencies for development. + * Test: Fixed the issue that coveralls was not found in the + test workflow on MacOS with Python 3.9-3.11, by running it + without login shell. Added Python 3.11 on MacOS to the normal + tests. + * Added support for Python 3.13. This required increasing the + minimum version of several packages needed for development. + (issue #225) + * Added '__version_tuple__' with the integer versions. (related + to issue #180) + * Dev: Changed from setup.py to using pyproject.toml. (issue + #180) + * Dev: Split safety policy files into one for installation + dependencies and one for development dependencies. (issue + #205, related to issue #180) + * Dev: Split minimum-constraints.txt file into one for + installation dependencies and one for development + dependencies. (related to issue #180) + * Dev: Cleanup in the Makefile. (related to issue #180) + * Docs: Changed versions shown for the documentation to be + master and the latest fix version of each minor version. + Changed documentation links in README file to reference the + master version. + +------------------------------------------------------------------- +Mon Sep 30 13:09:09 UTC 2024 - Dirk Müller + +- 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 + +- 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 + +- update to 1.0.4: + * Fixed recursion issue with flake8 5.0 + * Add python 3.7 support + +------------------------------------------------------------------- +Wed Jun 8 19:53:47 UTC 2022 - Dirk Müller + +- update to 1.0.3: + * Mitigated the coveralls HTTP status 422 by pinning coveralls-python to <3.0.0 (issue #55). + * Fixed issues raised by new Pylint 2.9 and 2.10. + * Fixed a dependency error that caused importlib-metadata to be installed on + Python 3.8, while it is included in the Python base. + * Disabled new Pylint issue 'consider-using-f-string', since f-strings were + introduced only in Python 3.6. + * Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of + MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13. + * Fixed potential issue with Sphinx/docutils versions on Python 2.7. + * Fixed error when installing virtualenv in install test on Python 2.7. + * Fixed that the added setup.py commands (test, leaktest, installtest) were + not displayed. They are now displayed at verbosity level 1 (using '-v'). + * Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in package metadata. + * Removed old tools that were needed for travis and Appveyor but no longer on + +------------------------------------------------------------------- +Mon Feb 1 18:13:39 UTC 2021 - Dirk Müller + +- update to 1.0.2: + * Migrated from Travis and Appveyor to GitHub Actions. This required changes + in several areas including dependent packages used for testing and + coverage. This did not cause any changes on dependent packages used for the + installation of the package. + +------------------------------------------------------------------- +Tue Oct 13 14:48:04 UTC 2020 - Benjamin Greiner + +- initial specfile for version 1.0.1 diff --git a/python-nocasedict.spec b/python-nocasedict.spec new file mode 100644 index 0000000..93467b7 --- /dev/null +++ b/python-nocasedict.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-nocasedict +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-nocasedict +Version: 2.1.0 +Release: 0 +Summary: A case-insensitive ordered dictionary for Python +License: LGPL-2.1-or-later +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_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Class `NocaseDict`_ is a case-insensitive ordered dictionary that preserves +the original lexical case of its keys. + +%prep +%setup -q -n nocasedict-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/nocasedict +%{python_sitelib}/nocasedict-%{version}.dist-info + +%changelog