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 2024-03-18 16:44:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uc-micro-py (Old) and /work/SRC/openSUSE:Factory/.python-uc-micro-py.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uc-micro-py" Mon Mar 18 16:44:27 2024 rev:4 rq:1158483 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uc-micro-py/python-uc-micro-py.changes 2023-09-10 13:09:50.233711920 +0200 +++ /work/SRC/openSUSE:Factory/.python-uc-micro-py.new.1905/python-uc-micro-py.changes 2024-03-18 16:44:41.871266143 +0100 @@ -1,0 +2,7 @@ +Sat Mar 16 13:42:47 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.3: + * Fix trashed build #17 + * Update CI + +------------------------------------------------------------------- Old: ---- python-uc-micro-py-1.0.2.tar.gz New: ---- python-uc-micro-py-1.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uc-micro-py.spec ++++++ --- /var/tmp/diff_new_pack.SnSruH/_old 2024-03-18 16:44:42.467288129 +0100 +++ /var/tmp/diff_new_pack.SnSruH/_new 2024-03-18 16:44:42.467288129 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-uc-micro-py # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-uc-micro-py -Version: 1.0.2 +Version: 1.0.3 Release: 0 Summary: Micro subset of unicode data files for linkify-it-py projects License: MIT ++++++ python-uc-micro-py-1.0.2.tar.gz -> python-uc-micro-py-1.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.2/.github/workflows/github-ci.yml new/uc.micro-py-1.0.3/.github/workflows/github-ci.yml --- old/uc.micro-py-1.0.2/.github/workflows/github-ci.yml 2023-05-01 18:06:37.000000000 +0200 +++ new/uc.micro-py-1.0.3/.github/workflows/github-ci.yml 2024-02-09 17:49:44.000000000 +0100 @@ -12,9 +12,9 @@ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - uses: pre-commit/action@v3.0.0 @@ -23,13 +23,13 @@ runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -40,12 +40,35 @@ run: | 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@v3 + if: matrix.python-version == 3.8 && github.repository == 'tsutsu3/uc.micro-py' + uses: codecov/codecov-action@v4 with: - name: uc.micro-py-pytests-py3.7 + name: uc.micro-py-pytests-py3.8 flags: pytests fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + - name: Build package test + run: | + pip install build + python -m build + if [ $(grep -o "\.py" uc_micro_py.egg-info/SOURCES.txt | wc -l) -eq 14 ]; then + echo "Success build" + else + echo "Failed build" + exit 1 + fi + - name: Build package test (with tmp folder) + run: | + mkdir tmp + pip install build + python -m build + if [ $(grep -o "\.py" uc_micro_py.egg-info/SOURCES.txt | wc -l) -eq 14 ]; then + echo "Success build" + else + echo "Failed build" + exit 1 + fi + publish: name: Publish to PyPi needs: [pre-commit, test] @@ -53,17 +76,17 @@ runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@v3 - - name: Set up Python 3.7 - uses: actions/setup-python@v4 + uses: actions/checkout@v4 + - name: Set up Python 3.8 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: 3.8 - name: Build package run: | pip install build python -m build - name: Publish - uses: pypa/gh-action-pypi-publish@v1.8.5 + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_KEY }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.2/CHANGELOG.md new/uc.micro-py-1.0.3/CHANGELOG.md --- old/uc.micro-py-1.0.2/CHANGELOG.md 2023-05-01 18:06:37.000000000 +0200 +++ new/uc.micro-py-1.0.3/CHANGELOG.md 2024-02-09 17:49:44.000000000 +0100 @@ -1,5 +1,10 @@ # Change Log +## v1.0.3 (2024-02-10) + +- Fix trashed build [#17](https://github.com/tsutsu3/uc.micro-py/issues/17) +- Update CI + ## v1.0.2 (2023-04-30) - Update development tools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.2/pyproject.toml new/uc.micro-py-1.0.3/pyproject.toml --- old/uc.micro-py-1.0.2/pyproject.toml 2023-05-01 18:06:37.000000000 +0200 +++ new/uc.micro-py-1.0.3/pyproject.toml 2024-02-09 17:49:44.000000000 +0100 @@ -4,15 +4,13 @@ [project] name = "uc-micro-py" -authors = [ - {name = "tsutsu3"}, -] +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"} +license = { text = "MIT" } +urls = { Homepage = "https://github.com/tsutsu3/uc.micro-py" } classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python :: 3", @@ -31,5 +29,9 @@ [project.optional-dependencies] test = ["pytest", "coverage", "pytest-cov"] +[tool.setuptools.packages.find] +include = ["uc_micro*"] +namespaces = false + [tool.setuptools.dynamic] -version = {attr = "uc_micro.__version__"} +version = { attr = "uc_micro.__version__" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uc.micro-py-1.0.2/uc_micro/__init__.py new/uc.micro-py-1.0.3/uc_micro/__init__.py --- old/uc.micro-py-1.0.2/uc_micro/__init__.py 2023-05-01 18:06:37.000000000 +0200 +++ new/uc.micro-py-1.0.3/uc_micro/__init__.py 2024-02-09 17:49:44.000000000 +0100 @@ -1,4 +1,4 @@ from .categories import Cc, Cf, P, Z from .properties import Any -__version__ = "1.0.2" +__version__ = "1.0.3"