Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-uc-micro-py for openSUSE:Factory checked in at 2023-09-10 13:09:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uc-micro-py (Old) and /work/SRC/openSUSE:Factory/.python-uc-micro-py.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uc-micro-py" Sun Sep 10 13:09:30 2023 rev:3 rq:1109691 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uc-micro-py/python-uc-micro-py.changes 2023-05-09 13:07:00.720904623 +0200 +++ /work/SRC/openSUSE:Factory/.python-uc-micro-py.new.1766/python-uc-micro-py.changes 2023-09-10 13:09:50.233711920 +0200 @@ -1,0 +2,6 @@ +Fri Sep 8 07:37:23 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.2: + * Update development tools + +------------------------------------------------------------------- Old: ---- python-uc-micro-py-1.0.1.tar.gz New: ---- python-uc-micro-py-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uc-micro-py.spec ++++++ --- /var/tmp/diff_new_pack.7164Y8/_old 2023-09-10 13:09:51.189746075 +0200 +++ /var/tmp/diff_new_pack.7164Y8/_new 2023-09-10 13:09:51.193746219 +0200 @@ -18,14 +18,15 @@ %{?sle15_python_module_pythons} Name: python-uc-micro-py -Version: 1.0.1 +Version: 1.0.2 Release: 0 Summary: Micro subset of unicode data files for linkify-it-py projects License: MIT URL: https://github.com/tsutsu3/uc.micro-py Source: https://github.com/tsutsu3/uc.micro-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 wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +39,10 @@ %setup -q -n uc.micro-py-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -51,5 +52,5 @@ %doc CHANGELOG.md README.md %license LICENSE %{python_sitelib}/uc_micro -%{python_sitelib}/uc_micro_py-%{version}*.egg-info +%{python_sitelib}/uc_micro_py-%{version}*-info ++++++ python-uc-micro-py-1.0.1.tar.gz -> python-uc-micro-py-1.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/.github/workflows/github-ci.yml new/uc.micro-py-1.0.2/.github/workflows/github-ci.yml --- old/uc.micro-py-1.0.1/.github/workflows/github-ci.yml 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/.github/workflows/github-ci.yml 2023-05-01 18:06:37.000000000 +0200 @@ -9,28 +9,27 @@ jobs: pre-commit: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - uses: pre-commit/action@v2.0.0 + - uses: actions/checkout@v3 + - name: Set up Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - uses: pre-commit/action@v3.0.0 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 @@ -42,29 +41,29 @@ pytest --cov=uc_micro --cov-report=xml --cov-report=term-missing - name: Upload to Codecov if: matrix.python-version == 3.7 && github.repository == 'tsutsu3/uc.micro-py' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: name: uc.micro-py-pytests-py3.7 flags: pytests fail_ci_if_error: true publish: name: Publish to PyPi - needs: [pre-commit,test] + needs: [pre-commit, test] if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') 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/gh-action-pypi-publish@v1.1.0 + uses: pypa/gh-action-pypi-publish@v1.8.5 with: user: __token__ password: ${{ secrets.PYPI_KEY }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/.github/workflows/pypi-test.yml new/uc.micro-py-1.0.2/.github/workflows/pypi-test.yml --- old/uc.micro-py-1.0.1/.github/workflows/pypi-test.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/uc.micro-py-1.0.2/.github/workflows/pypi-test.yml 2023-05-01 18:06:37.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 uc_micro/__init__.py + - name: Build package + run: | + pip install build + python -m build + - name: Publish package distributions to TestPyPI + uses: pypa/gh-action-pypi-publish@v1.8.5 + 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/uc.micro-py-1.0.1/.pre-commit-config.yaml new/uc.micro-py-1.0.2/.pre-commit-config.yaml --- old/uc.micro-py-1.0.1/.pre-commit-config.yaml 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/.pre-commit-config.yaml 2023-05-01 18:06:37.000000000 +0200 @@ -2,26 +2,20 @@ # pre-commit install repos: - - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.3.0 hooks: - - id: check-json - - id: check-yaml - - id: end-of-file-fixer - - id: trailing-whitespace - - - repo: https://github.com/mgedmin/check-manifest - rev: "0.44" - hooks: - - id: check-manifest + - id: check-json + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + - repo: https://github.com/PyCQA/flake8 + rev: 6.0.0 hooks: - - id: flake8 + - id: flake8 - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 23.3.0 hooks: - - id: black + - id: black diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/CHANGELOG.md new/uc.micro-py-1.0.2/CHANGELOG.md --- old/uc.micro-py-1.0.1/CHANGELOG.md 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/CHANGELOG.md 2023-05-01 18:06:37.000000000 +0200 @@ -1,5 +1,10 @@ # Change Log +## v1.0.2 (2023-04-30) + +- Update development tools +- Fix sdist is missing tests + ## v1.0.1 (2020-12-15) - Add pre-commit, thanks to [@chrisjsewell ](https://github.com/chrisjsewell). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/MANIFEST.in new/uc.micro-py-1.0.2/MANIFEST.in --- old/uc.micro-py-1.0.1/MANIFEST.in 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/MANIFEST.in 2023-05-01 18:06:37.000000000 +0200 @@ -1,10 +1,2 @@ -exclude test -recursive-exclude test * - -exclude .pre-commit-config.yaml -exclude tox.ini -exclude .flake8 - -include README.md include CHANGELOG.md -include LICENSE +include tox.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/README.md new/uc.micro-py-1.0.2/README.md --- old/uc.micro-py-1.0.1/README.md 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/README.md 2023-05-01 18:06:37.000000000 +0200 @@ -1,6 +1,7 @@ # uc.micro-py [](https://pypi.org/project/uc-micro-py/) +[](https://anaconda.org/conda-forge/uc-micro-py) [](https://github.com/tsutsu3/uc.micro-py/actions) [](https://codecov.io/gh/tsutsu3/uc.micro-py) @@ -15,3 +16,9 @@ ```bash pip install uc-micro-py ``` + +or + +```bash +conda install -c conda-forge uc-micro-py +``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/pyproject.toml new/uc.micro-py-1.0.2/pyproject.toml --- old/uc.micro-py-1.0.1/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/uc.micro-py-1.0.2/pyproject.toml 2023-05-01 18:06:37.000000000 +0200 @@ -0,0 +1,35 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "uc-micro-py" +authors = [ + {name = "tsutsu3"}, +] +description = "Micro subset of unicode data files for linkify-it-py projects." +readme = "README.md" +requires-python = ">=3.7" +keywords = ["unicode"] +license = {text = "MIT"} +urls={Homepage = "https://github.com/tsutsu3/uc.micro-py"} +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"] + +[tool.setuptools.dynamic] +version = {attr = "uc_micro.__version__"} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/setup.py new/uc.micro-py-1.0.2/setup.py --- old/uc.micro-py-1.0.1/setup.py 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +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__), "uc_micro", "__init__.py")) as f: - match = re.search(r"__version__\s*=\s*[\'\"](.+?)[\'\"]", f.read()) - version = match.group(1) - -setuptools.setup( - name="uc-micro-py", - version=version, - license="MIT", - author="tsutsu3", - description="Micro subset of unicode data files for linkify-it-py projects.", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/tsutsu3/uc.micro-py", - packages=setuptools.find_packages(exclude=["test"]), - include_package_data=True, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "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="unicode", - extras_require={ - "test": [ - "coverage", - "pytest", - "pytest-cov", - ] - }, -) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/tox.ini new/uc.micro-py-1.0.2/tox.ini --- old/uc.micro-py-1.0.1/tox.ini 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/tox.ini 2023-05-01 18:06:37.000000000 +0200 @@ -7,8 +7,9 @@ envlist = py37 [testenv] +deps = pytest usedevelop = true -[testenv:py{36,37,38,39}] +[testenv:py{37,38,39,310,311}] extras = test commands = pytest {posargs} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.1/uc_micro/__init__.py new/uc.micro-py-1.0.2/uc_micro/__init__.py --- old/uc.micro-py-1.0.1/uc_micro/__init__.py 2020-12-15 12:53:29.000000000 +0100 +++ new/uc.micro-py-1.0.2/uc_micro/__init__.py 2023-05-01 18:06:37.000000000 +0200 @@ -1,4 +1,4 @@ from .categories import Cc, Cf, P, Z from .properties import Any -__version__ = "1.0.1" +__version__ = "1.0.2"