15
0

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
This commit is contained in:
2025-01-09 12:21:13 +00:00
committed by Git OBS Bridge
parent 487aa77732
commit ce24565e0a
4 changed files with 28 additions and 7 deletions

Binary file not shown.

BIN
charset_normalizer-3.4.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
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>

View File

@@ -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