Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-patiencediff for
openSUSE:Factory checked in at 2022-11-11 14:36:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-patiencediff (Old)
and /work/SRC/openSUSE:Factory/.python-patiencediff.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-patiencediff"
Fri Nov 11 14:36:47 2022 rev:6 rq:1035178 version:0.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-patiencediff/python-patiencediff.changes
2022-10-29 20:17:56.350476770 +0200
+++
/work/SRC/openSUSE:Factory/.python-patiencediff.new.1597/python-patiencediff.changes
2022-11-11 14:36:53.922414507 +0100
@@ -1,0 +2,10 @@
+Wed Nov 9 16:18:18 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 0.2.7
+ * Make C extension mandatory when running in cibuildwheel.
+ * Use more metadata to setup.cfg, use standard optional flag.
+ * Fix path.
+ * Remove other unused dependencies from pyproject.toml
+ * Remove redundant wheel dep from pyproject.toml
+
+-------------------------------------------------------------------
Old:
----
patiencediff-0.2.6.tar.gz
New:
----
patiencediff-0.2.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-patiencediff.spec ++++++
--- /var/tmp/diff_new_pack.JTAYf1/_old 2022-11-11 14:36:54.362416663 +0100
+++ /var/tmp/diff_new_pack.JTAYf1/_new 2022-11-11 14:36:54.366416683 +0100
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-patiencediff
-Version: 0.2.6
+Version: 0.2.7
Release: 0
Summary: Python implementation of the patiencediff algorithm
License: GPL-2.0-or-later
++++++ patiencediff-0.2.6.tar.gz -> patiencediff-0.2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/.bzrignore
new/patiencediff-0.2.7/.bzrignore
--- old/patiencediff-0.2.6/.bzrignore 2022-10-19 00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/.bzrignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-build
-patiencediff.egg-info
-dist/
-*~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/.github/workflows/disperse.yml
new/patiencediff-0.2.7/.github/workflows/disperse.yml
--- old/patiencediff-0.2.6/.github/workflows/disperse.yml 2022-10-19
00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/.github/workflows/disperse.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
----
-name: Disperse configuration
-
-"on":
- - push
-
-jobs:
- build:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up Python
- uses: actions/setup-python@v2
- - name: Install dependencies
- run: |
- sudo apt install protobuf-compiler
- - name: Install disperse
- run: |
- pip install git+https://github.com/jelmer/disperse
- - name: Validate disperse.conf
- run: |
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python disperse validate .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/patiencediff-0.2.6/.github/workflows/pythonpackage.yml
new/patiencediff-0.2.7/.github/workflows/pythonpackage.yml
--- old/patiencediff-0.2.6/.github/workflows/pythonpackage.yml 2022-10-19
00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/.github/workflows/pythonpackage.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-name: Python package
-
-on: [push, pull_request]
-
-jobs:
- build:
-
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
- fail-fast: false
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip mypy "cython>=0.29"
- pip install -U pip flake8 setuptools
- - name: Style checks
- run: python -m flake8
- - name: Typing checks
- run: python -m mypy patiencediff
- - name: Build
- run: python setup.py build_ext -i
- - name: Test suite run
- run: python -m unittest patiencediff.test_patiencediff
- env:
- PYTHONHASHSEED: random
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/patiencediff-0.2.6/.github/workflows/pythonpublish.yml
new/patiencediff-0.2.7/.github/workflows/pythonpublish.yml
--- old/patiencediff-0.2.6/.github/workflows/pythonpublish.yml 2022-10-19
00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/.github/workflows/pythonpublish.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,56 +0,0 @@
----
-name: Build Python Wheels
-
-"on":
- push:
-
-jobs:
- build:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- fail-fast: true
-
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-python@v3
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip "cython>=0.29"
- pip install setuptools wheel cibuildwheel
- - name: Run test suite
- run: python -m unittest patiencediff.test_patiencediff
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- if: "matrix.os == 'ubuntu-latest'"
- - name: Build wheels
- run: python -m cibuildwheel --output-dir wheelhouse
- env:
- CIBW_ARCHS_LINUX: x86_64 aarch64
- CIBW_ARCHS_MACOS: x86_64 arm64 universal2
- CIBW_ARCHS_WINDOWS: AMD64 x86
- - name: Upload wheels
- uses: actions/upload-artifact@v3
- with:
- path: ./wheelhouse/*.whl
-
- publish:
- runs-on: ubuntu-latest
-
- needs: build
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
- steps:
- - uses: actions/setup-python@v3
-
- - name: Install twine
- run: |
- python -m pip install --upgrade pip
- pip install twine
- - name: Download wheels
- uses: actions/download-artifact@v2
- - name: Publish wheels
- env:
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- run: twine upload wheelhouse/*.whl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/.gitignore
new/patiencediff-0.2.7/.gitignore
--- old/patiencediff-0.2.6/.gitignore 2022-10-19 00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-dist
-build
-__pycache__
-*~
-*.so
-*.pyc
-patiencediff.egg-info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/PKG-INFO
new/patiencediff-0.2.7/PKG-INFO
--- old/patiencediff-0.2.6/PKG-INFO 2022-10-19 00:09:22.475008700 +0200
+++ new/patiencediff-0.2.7/PKG-INFO 2022-10-26 13:04:25.633520600 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: patiencediff
-Version: 0.2.6
+Version: 0.2.7
Summary: Python implementation of the patiencediff algorithm
Maintainer: Breezy Developers
Maintainer-email: [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/build.cmd
new/patiencediff-0.2.7/build.cmd
--- old/patiencediff-0.2.6/build.cmd 2022-10-19 00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/build.cmd 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-@echo off
-:: To build extensions for 64 bit Python 3, we need to configure environment
-:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
-:: MS Windows SDK for Windows 7 and .NET Framework 4
-::
-:: More details at:
-:: https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
-
-IF "%DISTUTILS_USE_SDK%"=="1" (
- ECHO Configuring environment to build with MSVC on a 64bit architecture
- ECHO Using Windows SDK 7.1
- "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q
-version:v7.1
- CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
/release
- SET MSSdk=1
- REM Need the following to allow tox to see the SDK compiler
- SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
-) ELSE (
- ECHO Using default MSVC build environment
-)
-
-CALL %*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/disperse.conf
new/patiencediff-0.2.7/disperse.conf
--- old/patiencediff-0.2.6/disperse.conf 2022-10-19 00:09:16.000000000
+0200
+++ new/patiencediff-0.2.7/disperse.conf 1970-01-01 01:00:00.000000000
+0100
@@ -1,10 +0,0 @@
-# See https://github.com/jelmer/disperse
-name: "patiencediff"
-timeout_days: 5
-tag_name: "v$VERSION"
-verify_command: "python3 -m unittest patiencediff.test_patiencediff"
-update_version {
- path: "patiencediff/__init__.py"
- match: "^__version__ = \((.*)\)$"
- new_line: "__version__ = $TUPLED_VERSION"
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/patiencediff/__init__.py
new/patiencediff-0.2.7/patiencediff/__init__.py
--- old/patiencediff-0.2.6/patiencediff/__init__.py 2022-10-19
00:09:18.000000000 +0200
+++ new/patiencediff-0.2.7/patiencediff/__init__.py 2022-10-26
13:04:25.000000000 +0200
@@ -24,7 +24,7 @@
__all__ = ['PatienceSequenceMatcher', 'unified_diff', 'unified_diff_files']
-__version__ = (0, 2, 6)
+__version__ = (0, 2, 7)
# This is a version of unified_diff which only adds a factory parameter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/patiencediff/_patiencediff_c.pyi
new/patiencediff-0.2.7/patiencediff/_patiencediff_c.pyi
--- old/patiencediff-0.2.6/patiencediff/_patiencediff_c.pyi 2022-10-19
00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/patiencediff/_patiencediff_c.pyi 1970-01-01
01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-import difflib
-from typing import List, Tuple, Sequence, Any
-
-
-class PatienceSequenceMatcher_c(difflib.SequenceMatcher):
-
- def get_matching_blocks(self) -> List[difflib.Match]: ...
-
-
-def unique_lcs_c(a: Sequence[Any], b: Sequence[Any]) -> List[Tuple[int, int]]:
...
-
-
-def recurse_matches_c(
- a: Sequence[Any], b: Sequence[Any],
- alo: int, blo: int, ahi: int, bhi: int,
- answer: List[Tuple[int, int]], maxrecursion: int) -> None: ...
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/patiencediff.egg-info/PKG-INFO
new/patiencediff-0.2.7/patiencediff.egg-info/PKG-INFO
--- old/patiencediff-0.2.6/patiencediff.egg-info/PKG-INFO 2022-10-19
00:09:21.000000000 +0200
+++ new/patiencediff-0.2.7/patiencediff.egg-info/PKG-INFO 2022-10-26
13:04:25.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: patiencediff
-Version: 0.2.6
+Version: 0.2.7
Summary: Python implementation of the patiencediff algorithm
Maintainer: Breezy Developers
Maintainer-email: [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/patiencediff.egg-info/SOURCES.txt
new/patiencediff-0.2.7/patiencediff.egg-info/SOURCES.txt
--- old/patiencediff-0.2.6/patiencediff.egg-info/SOURCES.txt 2022-10-19
00:09:22.000000000 +0200
+++ new/patiencediff-0.2.7/patiencediff.egg-info/SOURCES.txt 2022-10-26
13:04:25.000000000 +0200
@@ -1,21 +1,13 @@
-.bzrignore
-.gitignore
AUTHORS
COPYING
MANIFEST.in
README.rst
-build.cmd
-disperse.conf
pyproject.toml
setup.cfg
setup.py
-.github/workflows/disperse.yml
-.github/workflows/pythonpackage.yml
-.github/workflows/pythonpublish.yml
patiencediff/__init__.py
patiencediff/__main__.py
patiencediff/_patiencediff_c.c
-patiencediff/_patiencediff_c.pyi
patiencediff/_patiencediff_py.py
patiencediff/py.typed
patiencediff/test_patiencediff.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/pyproject.toml
new/patiencediff-0.2.7/pyproject.toml
--- old/patiencediff-0.2.6/pyproject.toml 2022-10-19 00:09:16.000000000
+0200
+++ new/patiencediff-0.2.7/pyproject.toml 2022-10-26 13:04:23.000000000
+0200
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools", "cython>=0.29", "wheel", "packaging"]
+requires = ["setuptools"]
build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/setup.cfg
new/patiencediff-0.2.7/setup.cfg
--- old/patiencediff-0.2.6/setup.cfg 2022-10-19 00:09:22.479009000 +0200
+++ new/patiencediff-0.2.7/setup.cfg 2022-10-26 13:04:25.633520600 +0200
@@ -22,6 +22,10 @@
project_urls =
Repository = https://github.com/breezy-team/patiencediff
+[options]
+packages =
+ patiencediff
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/patiencediff-0.2.6/setup.py
new/patiencediff-0.2.7/setup.py
--- old/patiencediff-0.2.6/setup.py 2022-10-19 00:09:16.000000000 +0200
+++ new/patiencediff-0.2.7/setup.py 2022-10-26 13:04:23.000000000 +0200
@@ -1,33 +1,15 @@
#!/usr/bin/env python3
# encoding: utf-8
+import os
from setuptools import setup, Extension
-from distutils import core
+
ext_modules = [
Extension(
'patiencediff._patiencediff_c',
- ['patiencediff/_patiencediff_c.c'])]
-
-
-class Distribution(core.Distribution):
-
- def is_pure(self):
- if self.pure:
- return True
-
- def has_ext_modules(self):
- return not self.pure
-
- global_options = core.Distribution.global_options + [
- ('pure', None, "use pure Python code instead of C "
- "extensions (slower on CPython)")]
-
- pure = False
+ ['patiencediff/_patiencediff_c.c'],
+ optional=os.environ.get('CIBUILDWHEEL', '0') != '1')]
-setup(name="patiencediff",
- packages=['patiencediff'],
- test_suite='patiencediff.test_patiencediff',
- distclass=Distribution,
- ext_modules=ext_modules)
+setup(ext_modules=ext_modules)