15
0

14 Commits

Author SHA256 Message Date
460eff2f1a Accepting request 1315251 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1315251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=29
2025-11-05 15:17:48 +00:00
0bb2757b8d - Update to 3.4.4
* Bound `setuptools` to a specific constraint `setuptools>=68,<=81`.
  * Raised upper bound of mypyc for the optional pre-built extension to v1.18.2
  * `setuptools-scm` as a build dependency.
  * Enforced hashes in `dev-requirements.txt` and created `ci-requirements.txt`
    for security purposes.
  * Additional pre-built wheels for riscv64, s390x, and armv7l architectures.
  * Restore ` multiple.intoto.jsonl` in GitHub releases in addition to individual
    attestation file per wheel.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=57
2025-11-03 09:19:03 +00:00
edc4e5e7d4 Accepting request 1304688 from devel:languages:python
- update to 3.4.3:
  * mypy(c) is no longer a required dependency at build time if
    `CHARSET_NORMALIZER_USE_MYPYC` isn't set to `1`. (#595)
  * automatically lower confidence on small bytes samples that
    are not Unicode in `detect` output legacy function.
  * Custom build backend to overcome inability to mark mypy as an
    optional dependency in the build phase.
  * Support for Python 3.14
  * sdist archive contained useless directories.
  * automatically fallback on valid UTF-16 or UTF-32 even if the
    md says it's noisy.
  * SBOM are automatically published to the relevant GitHub
    release to comply with regulatory changes.
  * Each published wheel comes with its SBOM. We choose CycloneDX
    as the format.
  * Prebuilt optimized wheel are no longer distributed by default
    for CPython 3.7 due to a change in cibuildwheel.

OBS-URL: https://build.opensuse.org/request/show/1304688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=28
2025-09-15 17:50:31 +00:00
32a1c29aa6 - update to 3.4.3:
* mypy(c) is no longer a required dependency at build time if
    `CHARSET_NORMALIZER_USE_MYPYC` isn't set to `1`. (#595)
  * automatically lower confidence on small bytes samples that
    are not Unicode in `detect` output legacy function.
  * Custom build backend to overcome inability to mark mypy as an
    optional dependency in the build phase.
  * Support for Python 3.14
  * sdist archive contained useless directories.
  * automatically fallback on valid UTF-16 or UTF-32 even if the
    md says it's noisy.
  * SBOM are automatically published to the relevant GitHub
    release to comply with regulatory changes.
  * Each published wheel comes with its SBOM. We choose CycloneDX
    as the format.
  * Prebuilt optimized wheel are no longer distributed by default
    for CPython 3.7 due to a change in cibuildwheel.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=55
2025-09-14 21:00:37 +00:00
f7e46571b3 Accepting request 1274387 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=27
2025-05-06 14:38:59 +00:00
35295358a7 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=53
2025-05-05 09:15:39 +00:00
93a74fa152 Accepting request 1238022 from devel:languages:python
- Use libalternatives instead of update-alternatives, bsc#1235781

OBS-URL: https://build.opensuse.org/request/show/1238022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=26
2025-01-16 17:31:17 +00:00
b17aad8053 - Use libalternatives instead of update-alternatives, bsc#1235781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=51
2025-01-15 10:38:37 +00:00
06686c6c46 Accepting request 1236172 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=25
2025-01-12 10:10:17 +00:00
7e521f133b - 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/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=49
2025-01-09 12:21:13 +00:00
f142f583d0 Accepting request 1221058 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1221058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=24
2024-11-05 14:39:43 +00:00
8e7f63d1ba - switch to PEP517 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=47
2024-10-28 16:38:02 +00:00
e1a6b9e55c Accepting request 1217078 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1217078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=23
2024-10-23 19:08:21 +00:00
3bf31d75b8 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=45
2024-10-22 16:00:24 +00:00
4 changed files with 116 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9948e5c17831916ef192cf3f26c744d539eb6f4e9e3b02eea649552c52b10d91
size 95792

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f949268d6364d4bda47823e05ef44cc29b6102bde58818eea87d5fdda091ef2
size 132984

View File

@@ -1,3 +1,94 @@
-------------------------------------------------------------------
Thu Oct 30 13:24:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.4.4
* Bound `setuptools` to a specific constraint `setuptools>=68,<=81`.
* Raised upper bound of mypyc for the optional pre-built extension to v1.18.2
* `setuptools-scm` as a build dependency.
* Enforced hashes in `dev-requirements.txt` and created `ci-requirements.txt`
for security purposes.
* Additional pre-built wheels for riscv64, s390x, and armv7l architectures.
* Restore ` multiple.intoto.jsonl` in GitHub releases in addition to individual
attestation file per wheel.
-------------------------------------------------------------------
Sun Sep 14 21:00:13 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.4.3:
* mypy(c) is no longer a required dependency at build time if
`CHARSET_NORMALIZER_USE_MYPYC` isn't set to `1`. (#595)
* automatically lower confidence on small bytes samples that
are not Unicode in `detect` output legacy function.
* Custom build backend to overcome inability to mark mypy as an
optional dependency in the build phase.
* Support for Python 3.14
* sdist archive contained useless directories.
* automatically fallback on valid UTF-16 or UTF-32 even if the
md says it's noisy.
* SBOM are automatically published to the relevant GitHub
release to comply with regulatory changes.
* Each published wheel comes with its SBOM. We choose CycloneDX
as the format.
* Prebuilt optimized wheel are no longer distributed by default
for CPython 3.7 due to a change in cibuildwheel.
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-charset-normalizer
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.4
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
%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