Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-charset-normalizer for openSUSE:Factory checked in at 2022-12-04 14:57:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-charset-normalizer (Old) and /work/SRC/openSUSE:Factory/.python-charset-normalizer.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-charset-normalizer" Sun Dec 4 14:57:44 2022 rev:17 rq:1039740 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-charset-normalizer/python-charset-normalizer.changes 2022-11-04 17:31:31.619720036 +0100 +++ /work/SRC/openSUSE:Factory/.python-charset-normalizer.new.1835/python-charset-normalizer.changes 2022-12-04 14:57:55.260120466 +0100 @@ -1,0 +2,9 @@ +Sat Dec 3 04:13:46 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to 3.0.1 + Fixed + Multi-bytes cutter/chunk generator did not always cut correctly (PR #233) + Changed + Speedup provided by mypy/c 0.990 on Python >= 3.7 + +------------------------------------------------------------------- Old: ---- charset_normalizer-3.0.0.tar.gz New: ---- charset_normalizer-3.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-charset-normalizer.spec ++++++ --- /var/tmp/diff_new_pack.hK6Idp/_old 2022-12-04 14:57:55.868123969 +0100 +++ /var/tmp/diff_new_pack.hK6Idp/_new 2022-12-04 14:57:55.876124015 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-charset-normalizer -Version: 3.0.0 +Version: 3.0.1 Release: 0 Summary: Python Universal Charset detector License: MIT ++++++ charset_normalizer-3.0.0.tar.gz -> charset_normalizer-3.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/FUNDING.yml new/charset_normalizer-3.0.1/.github/FUNDING.yml --- old/charset_normalizer-3.0.0/.github/FUNDING.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/charset_normalizer-3.0.1/.github/FUNDING.yml 2022-11-18 06:44:30.000000000 +0100 @@ -0,0 +1,2 @@ +# These are supported funding model platforms +tidelift: pypi/charset-normalizer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/dependabot.yml new/charset_normalizer-3.0.1/.github/dependabot.yml --- old/charset_normalizer-3.0.0/.github/dependabot.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/dependabot.yml 2022-11-18 06:44:30.000000000 +0100 @@ -9,3 +9,7 @@ directory: "/" # Location of package manifests schedule: interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/chardet-bc.yml new/charset_normalizer-3.0.1/.github/workflows/chardet-bc.yml --- old/charset_normalizer-3.0.0/.github/workflows/chardet-bc.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/chardet-bc.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/codeql.yml new/charset_normalizer-3.0.1/.github/workflows/codeql.yml --- old/charset_normalizer-3.0.0/.github/workflows/codeql.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/charset_normalizer-3.0.1/.github/workflows/codeql.yml 2022-11-18 06:44:30.000000000 +0100 @@ -0,0 +1,54 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ "master", "2.1.x" ] + pull_request: + branches: [ "master", "2.1.x" ] + schedule: + - cron: '39 1 * * 6' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'python' ] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/detector-coverage.yml new/charset_normalizer-3.0.1/.github/workflows/detector-coverage.yml --- old/charset_normalizer-3.0.0/.github/workflows/detector-coverage.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/detector-coverage.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/integration.yml new/charset_normalizer-3.0.1/.github/workflows/integration.yml --- old/charset_normalizer-3.0.0/.github/workflows/integration.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/integration.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/lint.yml new/charset_normalizer-3.0.1/.github/workflows/lint.yml --- old/charset_normalizer-3.0.0/.github/workflows/lint.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/lint.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/mypyc-verify.yml new/charset_normalizer-3.0.1/.github/workflows/mypyc-verify.yml --- old/charset_normalizer-3.0.0/.github/workflows/mypyc-verify.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/mypyc-verify.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/performance.yml new/charset_normalizer-3.0.1/.github/workflows/performance.yml --- old/charset_normalizer-3.0.0/.github/workflows/performance.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/performance.yml 2022-11-18 06:44:30.000000000 +0100 @@ -13,9 +13,9 @@ os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/python-publish.yml new/charset_normalizer-3.0.1/.github/workflows/python-publish.yml --- old/charset_normalizer-3.0.0/.github/workflows/python-publish.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/python-publish.yml 2022-11-18 06:44:30.000000000 +0100 @@ -17,9 +17,9 @@ os: [ ubuntu-latest ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -52,13 +52,13 @@ strategy: fail-fast: false matrix: - python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", "3.11-dev" ] + python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", "3.11" ] os: [ ubuntu-latest ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -86,9 +86,9 @@ os: [ ubuntu-latest ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -124,9 +124,9 @@ os: [ ubuntu-latest ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -155,9 +155,9 @@ needs: - integration steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' - name: Update pip, setuptools, wheel, build and twine @@ -215,15 +215,15 @@ run: | python -m pip install -U pip wheel setuptools build twine - name: Build wheels - uses: pypa/cibuildwheel@v2.11.1 + uses: pypa/cibuildwheel@v2.11.2 env: #CIBW_BUILD_FRONTEND: "build" CIBW_ARCHS_MACOS: x86_64 arm64 universal2 CIBW_ENVIRONMENT: CHARSET_NORMALIZER_USE_MYPYC='1' CIBW_BEFORE_BUILD: pip install -r build-requirements.txt #CIBW_CONFIG_SETTINGS: "--build-option=--no-isolation" - CIBW_TEST_REQUIRES: pytest codecov pytest-cov - CIBW_TEST_COMMAND: pytest {package}/tests + CIBW_TEST_REQUIRES: pytest + CIBW_TEST_COMMAND: pytest -c {package} {package}/tests CIBW_SKIP: pp* - name: Upload artifacts uses: actions/upload-artifact@v3 @@ -238,9 +238,9 @@ - build-wheels steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' - name: Install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/.github/workflows/run-tests.yml new/charset_normalizer-3.0.1/.github/workflows/run-tests.yml --- old/charset_normalizer-3.0.0/.github/workflows/run-tests.yml 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/.github/workflows/run-tests.yml 2022-11-18 06:44:30.000000000 +0100 @@ -9,13 +9,13 @@ strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11-dev"] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"] os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -30,4 +30,4 @@ - name: Run tests run: | pytest - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/CHANGELOG.md new/charset_normalizer-3.0.1/CHANGELOG.md --- old/charset_normalizer-3.0.0/CHANGELOG.md 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/CHANGELOG.md 2022-11-18 06:44:30.000000000 +0100 @@ -2,6 +2,14 @@ All notable changes to charset-normalizer will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [3.0.1](https://github.com/Ousret/charset_normalizer/compare/3.0.0...3.0.1) (2022-11-18) + +### Fixed +- Multi-bytes cutter/chunk generator did not always cut correctly (PR #233) + +### Changed +- Speedup provided by mypy/c 0.990 on Python >= 3.7 + ## [3.0.0](https://github.com/Ousret/charset_normalizer/compare/2.1.1...3.0.0) (2022-10-20) ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/CONTRIBUTING.md new/charset_normalizer-3.0.1/CONTRIBUTING.md --- old/charset_normalizer-3.0.0/CONTRIBUTING.md 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/CONTRIBUTING.md 2022-11-18 06:44:30.000000000 +0100 @@ -55,9 +55,6 @@ ## What PR may be doomed? - - Dropping EOL Python 3.5 -> Scheduled for the 3.0 milestone. - - Add support for a Python unsupported charset/encoding > If you looked carefully at the project, you would see that it aims to be > generic whenever possible. So adding a specific prober is out of the > question. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/README.md new/charset_normalizer-3.0.1/README.md --- old/charset_normalizer-3.0.0/README.md 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/README.md 2022-11-18 06:44:30.000000000 +0100 @@ -160,15 +160,6 @@ print(str(results.best())) ``` -*Normalize any text file* -```python -from charset_normalizer import normalize -try: - normalize('./my_subtitle.srt') # should write to disk my_subtitle-***.srt -except IOError as e: - print('Sadly, we are unable to perform charset normalization.', str(e)) -``` - *Upgrade your code without effort* ```python from charset_normalizer import detect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/SECURITY.md new/charset_normalizer-3.0.1/SECURITY.md --- old/charset_normalizer-3.0.0/SECURITY.md 1970-01-01 01:00:00.000000000 +0100 +++ new/charset_normalizer-3.0.1/SECURITY.md 2022-11-18 06:44:30.000000000 +0100 @@ -0,0 +1,4 @@ +# Security Disclosures + +To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). +Tidelift will coordinate the fix and disclosure with maintainers. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/build-requirements.txt new/charset_normalizer-3.0.1/build-requirements.txt --- old/charset_normalizer-3.0.0/build-requirements.txt 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/build-requirements.txt 2022-11-18 06:44:30.000000000 +0100 @@ -1,6 +1,7 @@ # in the meantime we migrate to pyproject.toml # this represent the minimum requirement to build (for the optional speedup) -mypy==0.982; python_version >= "3.7" +mypy==0.990; python_version >= "3.7" mypy==0.971; python_version < "3.7" -build==0.8.0 -wheel==0.37.1 +build==0.9.0 +wheel==0.38.4; python_version >= "3.7" +wheel==0.37.1; python_version < "3.7" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/charset_normalizer/utils.py new/charset_normalizer-3.0.1/charset_normalizer/utils.py --- old/charset_normalizer-3.0.0/charset_normalizer/utils.py 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/charset_normalizer/utils.py 2022-11-18 06:44:30.000000000 +0100 @@ -396,7 +396,7 @@ # multi-byte bad cutting detector and adjustment # not the cleanest way to perform that fix but clever enough for now. - if is_multi_byte_decoder and i > 0 and sequences[i] >= 0x80: + if is_multi_byte_decoder and i > 0: chunk_partial_size_chk: int = min(chunk_size, 16) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/charset_normalizer/version.py new/charset_normalizer-3.0.1/charset_normalizer/version.py --- old/charset_normalizer-3.0.0/charset_normalizer/version.py 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/charset_normalizer/version.py 2022-11-18 06:44:30.000000000 +0100 @@ -2,5 +2,5 @@ Expose version """ -__version__ = "3.0.0" +__version__ = "3.0.1" VERSION = __version__.split(".") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/charset_normalizer-3.0.0/dev-requirements.txt new/charset_normalizer-3.0.1/dev-requirements.txt --- old/charset_normalizer-3.0.0/dev-requirements.txt 2022-10-20 10:40:11.000000000 +0200 +++ new/charset_normalizer-3.0.1/dev-requirements.txt 2022-11-18 06:44:30.000000000 +0100 @@ -3,22 +3,24 @@ isort==5.10.1 codecov==2.1.12 pytest-cov==4.0.0 -build==0.8.0 -wheel==0.37.1 +build==0.9.0 # The vast majority of project dropped Python 3.6 # This is to ensure build are reproducible >=3.6 black==22.8.0; python_version < "3.7" black==22.10.0; python_version >= "3.7" -mypy==0.982; python_version >= "3.7" +mypy==0.990; python_version >= "3.7" mypy==0.971; python_version < "3.7" Flask==2.2.2; python_version >= "3.7" Flask==2.0.3; python_version < "3.7" pytest==7.0.0; python_version < "3.7" -pytest==7.1.3; python_version >= "3.7" +pytest==7.2.0; python_version >= "3.7" requests==2.27.1; python_version < "3.7" requests==2.28.1; python_version >= "3.7" + +wheel==0.38.4; python_version >= "3.7" +wheel==0.37.1; python_version < "3.7"