Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 47330596f3 | |||
| ab50880005 | |||
| a740e78bfc | |||
| b9035188a5 | |||
| 8b284f7fc4 | |||
| ce24565e0a | |||
| 18a0c71fd1 | |||
| 487aa77732 | |||
| 2d943a97e6 | |||
| 1c00795eb1 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9948e5c17831916ef192cf3f26c744d539eb6f4e9e3b02eea649552c52b10d91
|
||||
size 95792
|
||||
BIN
charset_normalizer-3.4.2.tar.gz
LFS
Normal file
BIN
charset_normalizer-3.4.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 06:58:38 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.4.2
|
||||
* Addressed the DeprecationWarning in our CLI regarding `argparse.FileType`
|
||||
by backporting the target class into the package. (#591)
|
||||
* Improved the overall reliability of the detector with CJK Ideographs.
|
||||
(#605) (#587)
|
||||
* Optional mypyc compilation upgraded to version 1.15 for Python >= 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 15 10:26:52 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Use libalternatives instead of update-alternatives, bsc#1235781
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 9 09:05:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- switch to PEP517 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 16:00:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.4.0:
|
||||
* Argument `--no-preemptive` in the CLI to prevent the detector
|
||||
to search for hints.
|
||||
* Support for Python 3.13
|
||||
* Relax the TypeError exception thrown when trying to compare a
|
||||
CharsetMatch with anything else than a CharsetMatch.
|
||||
* Improved the general reliability of the detector based on
|
||||
user feedbacks. (#520) (#509) (#498) (#407)
|
||||
* Declared charset in content (preemptive detection) not
|
||||
changed when converting to utf-8 bytes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 25 14:12:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-charset-normalizer
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
@@ -16,20 +16,33 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-charset-normalizer
|
||||
Version: 3.3.2
|
||||
Version: 3.4.2
|
||||
Release: 0
|
||||
Summary: Python Universal Charset detector
|
||||
License: MIT
|
||||
URL: https://github.com/ousret/charset_normalizer
|
||||
Source: https://github.com/Ousret/charset_normalizer/archive/refs/tags/%{version}.tar.gz#/charset_normalizer-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
Suggests: python-unicodedata2
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
@@ -42,20 +55,22 @@ Python Universal Charset detector.
|
||||
|
||||
%prep
|
||||
%setup -q -n charset_normalizer-%{version}
|
||||
# remove code coverage flags from pytest
|
||||
sed -i '/addopts/d' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/normalizer
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%pre
|
||||
# If libalternatives is used: Removing old update-alternatives entries.
|
||||
%python_libalternatives_reset_alternative normalizer
|
||||
|
||||
%post
|
||||
%python_install_alternative normalizer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user