Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-linkify-it-py for
openSUSE:Factory checked in at 2023-05-24 20:21:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-linkify-it-py (Old)
and /work/SRC/openSUSE:Factory/.python-linkify-it-py.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-linkify-it-py"
Wed May 24 20:21:36 2023 rev:3 rq:1088463 version:2.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-linkify-it-py/python-linkify-it-py.changes
2023-05-09 13:06:57.776887100 +0200
+++
/work/SRC/openSUSE:Factory/.python-linkify-it-py.new.1533/python-linkify-it-py.changes
2023-05-24 20:21:43.679952573 +0200
@@ -1,0 +2,8 @@
+Mon May 22 21:10:44 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.0.2:
+ * Fix missing files to the test (#44)
+ * Update development tools
+ * Fix sdist is missing tests
+
+-------------------------------------------------------------------
Old:
----
python-linkify-it-py-2.0.0.tar.gz
New:
----
python-linkify-it-py-2.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-linkify-it-py.spec ++++++
--- /var/tmp/diff_new_pack.IvQwzu/_old 2023-05-24 20:21:44.467957271 +0200
+++ /var/tmp/diff_new_pack.IvQwzu/_new 2023-05-24 20:21:44.471957295 +0200
@@ -18,15 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-linkify-it-py
-Version: 2.0.0
+Version: 2.0.2
Release: 0
Summary: Links recognition library with FULL unicode support
License: MIT
URL: https://github.com/tsutsu3/linkify-it-py
Source:
https://github.com/tsutsu3/linkify-it-py/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module uc-micro-py}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-uc-micro-py
@@ -45,10 +46,10 @@
%setup -q -n linkify-it-py-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
++++++ python-linkify-it-py-2.0.0.tar.gz -> python-linkify-it-py-2.0.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/.github/workflows/github-ci.yml
new/linkify-it-py-2.0.2/.github/workflows/github-ci.yml
--- old/linkify-it-py-2.0.0/.github/workflows/github-ci.yml 2022-05-07
08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/.github/workflows/github-ci.yml 2023-05-02
10:09:31.000000000 +0200
@@ -11,23 +11,39 @@
code-style:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Python 3.7
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
- python-version: 3.7
- - uses: pre-commit/[email protected]
+ python-version: 3.8
+ - uses: pre-commit/[email protected]
+
+ codeql:
+ runs-on: ubuntu-latest
+ permissions:
+ security-events: write
+ actions: read
+ contents: read
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: python
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
test:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [3.6, 3.7, 3.8, 3.9]
+ python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout source
- 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
@@ -39,7 +55,7 @@
pytest --cov=linkify_it --cov-branch --cov-report=xml
--cov-report=term-missing -v
- name: Upload to Codecov
if: matrix.python-version == 3.7 && github.repository ==
'tsutsu3/linkify-it-py'
- uses: codecov/codecov-action@v1
+ uses: codecov/codecov-action@v3
with:
name: linkify-py-pytests-py3.7
flags: pytests
@@ -48,9 +64,9 @@
benchmark:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Python 3.7
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install packagtes
@@ -76,15 +92,15 @@
runs-on: ubuntu-latest
steps:
- name: Checkout source
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python 3.7
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Build package
run: |
- pip install wheel
- python setup.py sdist bdist_wheel
+ pip install build
+ python -m build
- name: Publish
uses: pypa/[email protected]
with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/.github/workflows/pypi-test.yml
new/linkify-it-py-2.0.2/.github/workflows/pypi-test.yml
--- old/linkify-it-py-2.0.0/.github/workflows/pypi-test.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/linkify-it-py-2.0.2/.github/workflows/pypi-test.yml 2023-05-02
10:09:31.000000000 +0200
@@ -0,0 +1,33 @@
+name: PYPI-TEST-PUBLISH
+
+on:
+ workflow_dispatch:
+ inputs:
+ TESTPYPI_VESION:
+ description: 'TestPyPI Version'
+ required: true
+
+jobs:
+ publish:
+ name: Publish to Test PyPi
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout source
+ uses: actions/checkout@v3
+ - name: Set up Python 3.7
+ uses: actions/setup-python@v4
+ with:
+ python-version: 3.7
+ - name: Replace version
+ run:
+ sed -rie "s/__version__ = \"(.*)\"/__version__ = \"\1.${{
inputs.TESTPYPI_VESION }}\""/g linkify_it/__init__.py
+ - name: Build package
+ run: |
+ pip install build
+ python -m build
+ - name: Publish package distributions to TestPyPI
+ uses: pypa/[email protected]
+ with:
+ repository-url: https://test.pypi.org/legacy/
+ user: __token__
+ password: ${{ secrets.TEST_PYPI_KEY }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/.pre-commit-config.yaml
new/linkify-it-py-2.0.2/.pre-commit-config.yaml
--- old/linkify-it-py-2.0.0/.pre-commit-config.yaml 2022-05-07
08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/.pre-commit-config.yaml 2023-05-02
10:09:31.000000000 +0200
@@ -15,16 +15,18 @@
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
- rev: 5.10.1
+ rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
- rev: 22.3.0
+ rev: 23.3.0
hooks:
- id: black
- - repo: https://gitlab.com/pycqa/flake8
- rev: 4.0.1
+ - repo: https://github.com/PyCQA/flake8
+ rev: 6.0.0
hooks:
- id: flake8
+ entry: pflake8
+ additional_dependencies: [pyproject-flake8]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/CHANGELOG.md
new/linkify-it-py-2.0.2/CHANGELOG.md
--- old/linkify-it-py-2.0.0/CHANGELOG.md 2022-05-07 08:56:21.000000000
+0200
+++ new/linkify-it-py-2.0.2/CHANGELOG.md 2023-05-02 10:09:31.000000000
+0200
@@ -1,5 +1,14 @@
# Change Log
+## v2.0.2 (2023-05-02)
+
+- Fix missing files to the test
([#44](https://github.com/tsutsu3/linkify-it-py/pull/44))
+
+## v2.0.1 (2023-05-02)
+
+- Update development tools
+- Fix sdist is missing tests
+
## v2.0.0 (2022-05-07)
- Add `matchAtStart` method to match full URLs at the start of the string.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/MANIFEST.in
new/linkify-it-py-2.0.2/MANIFEST.in
--- old/linkify-it-py-2.0.0/MANIFEST.in 2022-05-07 08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/MANIFEST.in 2023-05-02 10:09:31.000000000 +0200
@@ -1,20 +1,3 @@
-exclude benchmark
-recursive-exclude benchmark *
-
-exclude docs
-recursive-exclude docs *
-
-exclude test
-recursive-exclude test *
-
-exclude \
- .pre-commit-config.yaml \
- .readthedocs.yml \
- codecov.yml \
- setup.cfg \
- tox.ini \
-
-include \
- README.md \
- CHANGELOG.md \
- LICENSE \
+include CHANGELOG.md
+include tox.ini
+recursive-include test *.txt *.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/README.md
new/linkify-it-py-2.0.2/README.md
--- old/linkify-it-py-2.0.0/README.md 2022-05-07 08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/README.md 2023-05-02 10:09:31.000000000 +0200
@@ -3,6 +3,7 @@
[](https://github.com/tsutsu3/linkify-it-py/actions)
[](https://pypi.org/project/linkify-it-py/)
[](https://anaconda.org/conda-forge/linkify-it-py)
+[](https://linkify-it-py.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/tsutsu3/linkify-it-py)
[](https://codeclimate.com/github/tsutsu3/linkify-it-py/maintainability)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/linkify_it/__init__.py
new/linkify-it-py-2.0.2/linkify_it/__init__.py
--- old/linkify-it-py-2.0.0/linkify_it/__init__.py 2022-05-07
08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/linkify_it/__init__.py 2023-05-02
10:09:31.000000000 +0200
@@ -1,4 +1,4 @@
from .main import LinkifyIt # noqa: F401p
from .main import SchemaError # noqa: F401p
-__version__ = "2.0.0"
+__version__ = "2.0.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/port.yml
new/linkify-it-py-2.0.2/port.yml
--- old/linkify-it-py-2.0.0/port.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/linkify-it-py-2.0.2/port.yml 2023-05-02 10:09:31.000000000 +0200
@@ -0,0 +1,5 @@
+- package: markdown-it/linkify-it
+ url: https://github.com/markdown-it/linkify-it
+ version: 4.0.1
+ commit: 9482bfec2532cfccb8d7a55f1b89facf54760b48
+ date: May 2, 2022
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/pyproject.toml
new/linkify-it-py-2.0.2/pyproject.toml
--- old/linkify-it-py-2.0.0/pyproject.toml 1970-01-01 01:00:00.000000000
+0100
+++ new/linkify-it-py-2.0.2/pyproject.toml 2023-05-02 10:09:31.000000000
+0200
@@ -0,0 +1,51 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "linkify-it-py"
+authors = [
+ {name = "tsutsu3"},
+]
+description = "Links recognition library with FULL unicode support."
+urls = {Homepage = "https://github.com/tsutsu3/linkify-it-py"}
+readme = "README.md"
+requires-python = ">=3.7"
+keywords = ["linkify", "linkifier", "autolink", "autolinker"]
+dependencies = ["uc-micro-py"]
+license = {text = "MIT"}
+classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Programming Language :: Python :: 3",
+ "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",
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+ "Intended Audience :: Developers",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+]
+dynamic = ["version"]
+
+[project.optional-dependencies]
+test = ["pytest", "coverage", "pytest-cov"]
+dev = ["pre-commit", "isort", "flake8", "black", "pyproject-flake8"]
+benchmark = ["pytest", "pytest-benchmark"]
+doc = ["sphinx", "sphinx_book_theme", "myst-parser"]
+
+[tool.setuptools.dynamic]
+version = {attr = "linkify_it.__version__"}
+
+[tool.isort]
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+use_parentheses = true
+ensure_newline_before_comments = true
+line_length = 88
+
+[tool.flake8]
+max-line-length = 88
+extend-ignore = "E203, W503"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/setup.cfg
new/linkify-it-py-2.0.2/setup.cfg
--- old/linkify-it-py-2.0.0/setup.cfg 2022-05-07 08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/setup.cfg 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-[isort]
-multi_line_output = 3
-include_trailing_comma = True
-force_grid_wrap = 0
-use_parentheses = True
-ensure_newline_before_comments = True
-line_length = 88
-
-[flake8]
-max-line-length = 88
-extend-ignore = E203, W503
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/setup.py
new/linkify-it-py-2.0.2/setup.py
--- old/linkify-it-py-2.0.0/setup.py 2022-05-07 08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/setup.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,46 +0,0 @@
-import re
-from os import path
-
-import setuptools
-
-with open("README.md", "r") as fh:
- long_description = fh.read()
-
-with open(path.join(path.dirname(__file__), "linkify_it", "__init__.py")) as f:
- match = re.search(r"__version__\s*=\s*[\'\"](.+?)[\'\"]", f.read())
- version = match.group(1)
-
-
-setuptools.setup(
- name="linkify-it-py",
- version=version,
- license="MIT",
- author="tsutsu3",
- description="Links recognition library with FULL unicode support.",
- long_description=long_description,
- long_description_content_type="text/markdown",
- url="https://github.com/tsutsu3/linkify-it-py",
- packages=setuptools.find_packages(exclude=["test", "benchmark"]),
- include_package_data=True,
- classifiers=[
- "Development Status :: 3 - Alpha",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "License :: OSI Approved :: MIT License",
- "Operating System :: OS Independent",
- "Intended Audience :: Developers",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- python_requires=">=3.6",
- keywords=["linkify", "linkifier", "autolink", "autolinker"],
- install_requires=["uc-micro-py"],
- extras_require={
- "dev": ["pre-commit", "isort", "flake8", "black"],
- "benchmark": ["pytest", "pytest-benchmark"],
- "test": ["coverage", "pytest", "pytest-cov"],
- "doc": ["sphinx", "sphinx_book_theme", "myst-parser"],
- },
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/linkify-it-py-2.0.0/tox.ini
new/linkify-it-py-2.0.2/tox.ini
--- old/linkify-it-py-2.0.0/tox.ini 2022-05-07 08:56:21.000000000 +0200
+++ new/linkify-it-py-2.0.2/tox.ini 2023-05-02 10:09:31.000000000 +0200
@@ -1,9 +1,12 @@
[tox]
-envlist = {py36,py37,py38}
+envlist = {py37, py38, py39, py310, py311}
[testenv]
+deps =
+ pytest
+ uc-micro-py
usedevelop = true
-[testenv:py{36,37,38}]
+[testenv:py{37,38, 39, 310, 311}]
extras = testing
commands = pytest {posargs}