From ce24565e0a0cfa1b49ad45b63cd88a48a1846810b6a11eab476317f8ea88013b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 9 Jan 2025 12:21:13 +0000 Subject: [PATCH] Accepting request 1236124 from home:glaubitz:branches:devel:languages:python - Update to 3.4.1 * Project metadata are now stored using `pyproject.toml` instead of `setup.cfg` using setuptools as the build backend. * Enforce annotation delayed loading for a simpler and consistent types in the project. * Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8 * Added pre-commit configuration. * Added noxfile. * Removed `build-requirements.txt` as per using `pyproject.toml` native build configuration. * Removed `bin/integration.py` and `bin/serve.py` in favor of downstream integration test (see noxfile). * Removed `setup.cfg` in favor of `pyproject.toml` metadata configuration. * Removed unused `utils.range_scan` function. * Converting content to Unicode bytes may insert `utf_8` instead of preferred `utf-8`. (#572) * Deprecation warning "'count' is passed as positional argument" when converting to Unicode bytes on Python 3.13+ - Drop sed command to remove code coverage flags from pytest OBS-URL: https://build.opensuse.org/request/show/1236124 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=49 --- charset_normalizer-3.4.0.tar.gz | 3 --- charset_normalizer-3.4.1.tar.gz | 3 +++ python-charset-normalizer.changes | 23 +++++++++++++++++++++++ python-charset-normalizer.spec | 6 ++---- 4 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 charset_normalizer-3.4.0.tar.gz create mode 100644 charset_normalizer-3.4.1.tar.gz diff --git a/charset_normalizer-3.4.0.tar.gz b/charset_normalizer-3.4.0.tar.gz deleted file mode 100644 index a7e431a..0000000 --- a/charset_normalizer-3.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8dfa606a7c3f4d4540e7f648a602338323ee0f5e458043accf59b4a0493783f -size 97414 diff --git a/charset_normalizer-3.4.1.tar.gz b/charset_normalizer-3.4.1.tar.gz new file mode 100644 index 0000000..b1bccf9 --- /dev/null +++ b/charset_normalizer-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b91677d4c790eead798f4ed3e5f546ed80d6fe8cf1d8120939960d593371855 +size 97345 diff --git a/python-charset-normalizer.changes b/python-charset-normalizer.changes index dceeddb..4d09ab4 100644 --- a/python-charset-normalizer.changes +++ b/python-charset-normalizer.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Jan 9 09:05:30 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 3.4.1 + * Project metadata are now stored using `pyproject.toml` instead of + `setup.cfg` using setuptools as the build backend. + * Enforce annotation delayed loading for a simpler and consistent + types in the project. + * Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8 + * Added pre-commit configuration. + * Added noxfile. + * Removed `build-requirements.txt` as per using `pyproject.toml` + native build configuration. + * Removed `bin/integration.py` and `bin/serve.py` in favor of downstream + integration test (see noxfile). + * Removed `setup.cfg` in favor of `pyproject.toml` metadata configuration. + * Removed unused `utils.range_scan` function. + * Converting content to Unicode bytes may insert `utf_8` instead of + preferred `utf-8`. (#572) + * Deprecation warning "'count' is passed as positional argument" when + converting to Unicode bytes on Python 3.13+ +- Drop sed command to remove code coverage flags from pytest + ------------------------------------------------------------------- Mon Oct 28 16:37:52 UTC 2024 - Dirk Müller diff --git a/python-charset-normalizer.spec b/python-charset-normalizer.spec index 3af91d0..de319cc 100644 --- a/python-charset-normalizer.spec +++ b/python-charset-normalizer.spec @@ -1,7 +1,7 @@ # # spec file for package python-charset-normalizer # -# 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,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-charset-normalizer -Version: 3.4.0 +Version: 3.4.1 Release: 0 Summary: Python Universal Charset detector License: MIT @@ -44,8 +44,6 @@ Python Universal Charset detector. %prep %setup -q -n charset_normalizer-%{version} -# remove code coverage flags from pytest -sed -i '/addopts/d' setup.cfg %build %pyproject_wheel