Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-arabic-reshaper for
openSUSE:Factory checked in at 2023-01-14 00:03:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-arabic-reshaper (Old)
and /work/SRC/openSUSE:Factory/.python-arabic-reshaper.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-arabic-reshaper"
Sat Jan 14 00:03:09 2023 rev:9 rq:1058184 version:3.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-arabic-reshaper/python-arabic-reshaper.changes
2022-10-12 18:27:39.450081614 +0200
+++
/work/SRC/openSUSE:Factory/.python-arabic-reshaper.new.32243/python-arabic-reshaper.changes
2023-01-14 00:03:59.941983952 +0100
@@ -1,0 +2,6 @@
+Fri Jan 13 09:54:20 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to v3.0.0:
+ * No more Python 2.x support.
+
+-------------------------------------------------------------------
Old:
----
arabic_reshaper-2.1.4.tar.gz
New:
----
arabic_reshaper-3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-arabic-reshaper.spec ++++++
--- /var/tmp/diff_new_pack.xX5Ryd/_old 2023-01-14 00:04:00.469987028 +0100
+++ /var/tmp/diff_new_pack.xX5Ryd/_new 2023-01-14 00:04:00.473987051 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-arabic-reshaper
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,10 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+%global skip_python2 1
Name: python-arabic-reshaper
-Version: 2.1.4
+Version: 3.0.0
Release: 0
Summary: Python module for formatting Arabic sentences
License: MIT
++++++ arabic_reshaper-2.1.4.tar.gz -> arabic_reshaper-3.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/.travis.yml
new/python-arabic-reshaper-3.0.0/.travis.yml
--- old/python-arabic-reshaper-2.1.4/.travis.yml 2022-09-21
23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/.travis.yml 2023-01-10
15:33:44.000000000 +0100
@@ -1,28 +1,37 @@
language: python
+dist: jammy
install:
- pip install -U tox
- pip install -e .
matrix:
include:
- - python: "2.7"
- env:
- - TOX_ENV=py27
- python: "3.6"
+ dist: "xenial"
env:
- TOX_ENV=py36
- python: "3.7"
+ dist: "xenial"
env:
- TOX_ENV=py37
install:
- pip install -U tox importlib-metadata
- pip install -e .
- python: "3.8"
+ dist: "xenial"
env:
- TOX_ENV=py38
- python: "3.9"
+ dist: "xenial"
env:
- TOX_ENV=py39
- - python: "3.10-dev"
+ - python: "3.10"
env:
- TOX_ENV=py310
-script: tox -e $TOX_ENV
\ No newline at end of file
+ install:
+ - pip uninstall -y setuptools
+ - pip install -U tox setuptools wheel
+ - pip install -e .
+ - python: "3.11"
+ env:
+ - TOX_ENV=py311
+script: tox -e $TOX_ENV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/README.md
new/python-arabic-reshaper-3.0.0/README.md
--- old/python-arabic-reshaper-2.1.4/README.md 2022-09-21 23:24:50.000000000
+0200
+++ new/python-arabic-reshaper-3.0.0/README.md 2023-01-10 15:33:44.000000000
+0100
@@ -5,7 +5,7 @@
Reconstruct Arabic sentences to be used in applications that don't support
Arabic script.
-Works with Python 2.x and 3.x
+Works with Python 3.x
## Description
@@ -248,6 +248,10 @@
## Version History
+### 3.0.0
+* Stop supporting Python 2.7
+* Remove dependency on `future`. See #88.
+
### 2.1.4
* Fix unparseable version bound for `fonttools` under Python 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/__init__.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/__init__.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/__init__.py
2022-09-21 23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/__init__.py
2023-01-10 15:33:44.000000000 +0100
@@ -9,4 +9,4 @@
ENABLE_ALL_LIGATURES)
-__version__ = '2.1.4'
+__version__ = '3.0.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/__version__.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/__version__.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/__version__.py
2022-09-21 23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/__version__.py
2023-01-10 15:33:44.000000000 +0100
@@ -1 +1 @@
-__version__ = '2.1.4'
+__version__ = '3.0.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/arabic_reshaper.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/arabic_reshaper.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/arabic_reshaper.py
2022-09-21 23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/arabic_reshaper.py
2023-01-10 15:33:44.000000000 +0100
@@ -7,8 +7,6 @@
# Email: [email protected]
# Website: http://mpcabd.xyz
-from __future__ import unicode_literals
-
import re
from itertools import repeat
@@ -52,7 +50,6 @@
Check these links for information on the configuration files format:
* Python 3: https://docs.python.org/3/library/configparser.html
- * Python 2: https://docs.python.org/2/library/configparser.html
See the default configuration file :file:`default-config.ini` for details
on how to configure your reshaper.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/letters.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/letters.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/letters.py 2022-09-21
23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/letters.py 2023-01-10
15:33:44.000000000 +0100
@@ -13,8 +13,6 @@
# <letter> should be in final form. If no replacement is specified for a form,
# then no that means the letter doesn't support this form.
-from __future__ import unicode_literals
-
UNSHAPED = 255
ISOLATED = 0
INITIAL = 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/ligatures.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/ligatures.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/ligatures.py
2022-09-21 23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/ligatures.py
2023-01-10 15:33:44.000000000 +0100
@@ -19,7 +19,6 @@
# 3. Letters
# This way we make sure we replace the longest ligatures first
-from __future__ import unicode_literals
from itertools import chain
SENTENCES_LIGATURES = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/reshaper_config.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/reshaper_config.py
--- old/python-arabic-reshaper-2.1.4/arabic_reshaper/reshaper_config.py
2022-09-21 23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/arabic_reshaper/reshaper_config.py
2023-01-10 15:33:44.000000000 +0100
@@ -7,8 +7,6 @@
# Email: [email protected]
# Website: http://mpcabd.xyz
-from __future__ import unicode_literals
-
import os
from configparser import ConfigParser
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_001_initialization.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_001_initialization.py
---
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_001_initialization.py
2022-09-21 23:24:50.000000000 +0200
+++
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_001_initialization.py
2023-01-10 15:33:44.000000000 +0100
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import unittest
import arabic_reshaper
import arabic_reshaper.ligatures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_002_reshaping.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_002_reshaping.py
---
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_002_reshaping.py
2022-09-21 23:24:50.000000000 +0200
+++
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_002_reshaping.py
2023-01-10 15:33:44.000000000 +0100
@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-from __future__ import print_function
-
import unittest
import sys
import arabic_reshaper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_003_reshaping.py
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_003_reshaping.py
---
old/python-arabic-reshaper-2.1.4/arabic_reshaper/tests/test_003_reshaping.py
2022-09-21 23:24:50.000000000 +0200
+++
new/python-arabic-reshaper-3.0.0/arabic_reshaper/tests/test_003_reshaping.py
2023-01-10 15:33:44.000000000 +0100
@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-from __future__ import print_function
-
import unittest
import sys
import arabic_reshaper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/meta.yaml
new/python-arabic-reshaper-3.0.0/meta.yaml
--- old/python-arabic-reshaper-2.1.4/meta.yaml 2022-09-21 23:24:50.000000000
+0200
+++ new/python-arabic-reshaper-3.0.0/meta.yaml 2023-01-10 15:33:44.000000000
+0100
@@ -1,49 +1,40 @@
{% set name = "arabic-reshaper" %}
{% set pypi_name = "arabic_reshaper" %}
-{% set version = "2.1.4" %}
+{% set version = "3.0.0" %}
package:
- name: "{{ name|lower }}"
- version: "{{ version }}"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- git_url: https://github.com/mpcabd/python-arabic-reshaper.git
- git_rev: "v{{ version }}"
- git_depth: 1
+ url: https://pypi.io/packages/source/{{ pypi_name[0] }}/{{ pypi_name
}}/arabic_reshaper-{{ version }}.tar.gz
+ sha256: e84b3b0ad8eae395641c94d3010b53bfed2c2b1ab80f25eb8cdc01019ddf6426
build:
- noarch: generic
+ noarch: python
+ script: {{ PYTHON }} -m pip install .[with-fonttools] -vv
number: 0
- script: "{{ PYTHON }} -m pip install .[with-fonttools] -vv"
requirements:
host:
- - configparser; # [ py < 3 ]
- - fonttools >=4.0 # [ py > 3 ]
- - fonttools >=3.0,<4.0 # [ py < 3 ]
- - future
- - pip
- python
- - setuptools
+ - pip
run:
- - configparser; # [ py < 3 ]
- - fonttools >=4.0 # [ py > 3 ]
- - fonttools >=3.0,<4.0 # [ py < 3 ]
- - future
- python
- - setuptools
test:
imports:
- arabic_reshaper
+ commands:
+ - pip check
+ requires:
+ - pip
about:
- home: "https://mpcabd.xyz/python-arabic-text-reshaper/"
+ home: https://github.com/mpcabd/python-arabic-reshaper/
+ summary: Reconstruct Arabic sentences to be used in applications that don't
support Arabic
license: MIT
- license_family: MIT
- summary: "Reconstruct Arabic sentences to be used in applications that don't
support Arabic"
- doc_url: "https://github.com/mpcabd/python-arabic-reshaper/"
- dev_url: "https://github.com/mpcabd/python-arabic-reshaper/"
+ license_file: LICENSE
extra:
recipe-maintainers:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/setup.py
new/python-arabic-reshaper-3.0.0/setup.py
--- old/python-arabic-reshaper-2.1.4/setup.py 2022-09-21 23:24:50.000000000
+0200
+++ new/python-arabic-reshaper-3.0.0/setup.py 2023-01-10 15:33:44.000000000
+0100
@@ -6,45 +6,42 @@
import io
import os
-with io.open("README.md", "r", encoding="utf-8") as fh:
+with io.open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setup(
- name="arabic_reshaper",
- description=("Reconstruct Arabic sentences to be used in"
- " applications that don't support Arabic"),
+ name='arabic_reshaper',
+ description=('Reconstruct Arabic sentences to be used in'
+ ' applications that do not support Arabic'),
long_description=long_description,
- long_description_content_type="text/markdown",
- version='2.1.4',
- platforms="ALL",
- license="MIT",
+ long_description_content_type='text/markdown',
+ version='3.0.0',
+ platforms='ALL',
+ license='MIT',
packages=['arabic_reshaper'],
- install_requires=['configparser; python_version <"3"',
- 'future'],
extras_require={
- 'with-fonttools': ['fonttools>=4.0; python_version >="3"',
- 'fonttools>=3.0,<4.0; python_version <"3"']
+ 'with-fonttools': ['fonttools>=4.0']
},
- author="Abdullah Diab",
- author_email="[email protected]",
- maintainer="Abdullah Diab",
- maintainer_email="[email protected]",
+ author='Abdullah Diab',
+ author_email='[email protected]',
+ maintainer='Abdullah Diab',
+ maintainer_email='[email protected]',
package_dir={'arabic_reshaper': 'arabic_reshaper'},
test_suite='arabic_reshaper.tests',
include_package_data=True,
- keywords="arabic shaping reshaping reshaper",
- url="https://github.com/mpcabd/python-arabic-reshaper/",
- download_url=("https://github.com/mpcabd/"
- "python-arabic-reshaper/tarball/master"),
+ keywords='arabic shaping reshaping reshaper',
+ url='https://github.com/mpcabd/python-arabic-reshaper/',
+ download_url=('https://github.com/mpcabd/'
+ 'python-arabic-reshaper/tarball/master'),
classifiers=[
- "Natural Language :: Arabic",
- "Operating System :: OS Independent",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Topic :: Software Development :: Libraries :: Python Modules",
+ 'Natural Language :: Arabic',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/tox.ini
new/python-arabic-reshaper-3.0.0/tox.ini
--- old/python-arabic-reshaper-2.1.4/tox.ini 2022-09-21 23:24:50.000000000
+0200
+++ new/python-arabic-reshaper-3.0.0/tox.ini 2023-01-10 15:33:44.000000000
+0100
@@ -1,7 +1,7 @@
[tox]
-envlist = py27,py36,py37,py38,py39,py310
+envlist = py36,py37,py38,py39,py310,py311
[testenv]
deps = pytest
commands =
- pytest
\ No newline at end of file
+ pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-arabic-reshaper-2.1.4/upload-to-anaconda.sh
new/python-arabic-reshaper-3.0.0/upload-to-anaconda.sh
--- old/python-arabic-reshaper-2.1.4/upload-to-anaconda.sh 2022-09-21
23:24:50.000000000 +0200
+++ new/python-arabic-reshaper-3.0.0/upload-to-anaconda.sh 2023-01-10
15:33:44.000000000 +0100
@@ -3,13 +3,15 @@
# conda config --set anaconda_upload no
# conda config --add channels conda-forge
# conda-build . --python 3.6
-conda-build . --python 3.7
-conda-build . --python 3.8
-conda-build . --python 3.9
-conda-build . --python 3.10
+# conda-build . --python 3.7
+# conda-build . --python 3.8
+# conda-build . --python 3.9
+# conda-build . --python 3.10
+# conda-build . --python 3.11
# anaconda login
# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py36_0.tar.bz2
-anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py37_0.tar.bz2
-anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py38_0.tar.bz2
-anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py39_0.tar.bz2
-anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py310_0.tar.bz2
+# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py37_0.tar.bz2
+# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py38_0.tar.bz2
+# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py39_0.tar.bz2
+# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py310_0.tar.bz2
+# anaconda upload --user mpcabd
/opt/conda/conda-bld/noarch/arabic-reshaper-*-py311_0.tar.bz2