Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcomps for openSUSE:Factory checked in at 2022-09-25 15:34:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcomps (Old) and /work/SRC/openSUSE:Factory/.libcomps.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcomps" Sun Sep 25 15:34:40 2022 rev:12 rq:1005769 version:0.1.19 Changes: -------- --- /work/SRC/openSUSE:Factory/libcomps/libcomps.changes 2021-11-06 18:13:33.900745159 +0100 +++ /work/SRC/openSUSE:Factory/.libcomps.new.2275/libcomps.changes 2022-09-25 15:34:46.411546408 +0200 @@ -1,0 +2,6 @@ +Sat Sep 24 09:03:42 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 0.1.19: + * handle upload to pypi + +------------------------------------------------------------------- Old: ---- libcomps-0.1.18.tar.gz New: ---- libcomps-0.1.19.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcomps.spec ++++++ --- /var/tmp/diff_new_pack.6csqjB/_old 2022-09-25 15:34:48.067550396 +0200 +++ /var/tmp/diff_new_pack.6csqjB/_new 2022-09-25 15:34:48.071550406 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcomps # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2021 Neal Gompa <[email protected]>. # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define major 0 %define minor 1 -%define patch 18 +%define patch 19 %define libname %{name}%{major} %define devname %{name}-devel ++++++ libcomps-0.1.18.tar.gz -> libcomps-0.1.19.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcomps-0.1.18/.github/workflows/release-python.yml new/libcomps-0.1.19/.github/workflows/release-python.yml --- old/libcomps-0.1.18/.github/workflows/release-python.yml 2021-09-16 14:13:12.000000000 +0200 +++ new/libcomps-0.1.19/.github/workflows/release-python.yml 2022-09-09 13:55:00.000000000 +0200 @@ -1,53 +1,86 @@ --- -name: Python Release +name: Release to PyPI on: release: types: [created] jobs: - release: - name: PyPI Release + build_sdist: + name: Build source package runs-on: ubuntu-latest container: fedora:latest steps: - uses: actions/checkout@v2 - - name: Install dependencies + - name: Install / upgrade dependencies run: | - sudo dnf -y install dnf-plugins-core + sudo dnf -y install dnf-plugins-core python3-pip sudo dnf -y builddep libcomps.spec - pip install --upgrade pip - pip install pytest twine scikit-build - - - name: Build Python sdist - run: python3 setup.py sdist - - - name: Build manylinux Python wheels - uses: RalfG/[email protected]_x86_64 - with: - python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39' - build-requirements: 'scikit-build' - system-packages: 'make cmake bzip2-devel expat-devel libxml2-devel xz-devel' + python3 -m pip install --upgrade pip scikit-build - - name: Install and Test Python source package + - name: Build and install Python source package run: | - pip install --user dist/*.tar.gz - pushd libcomps/src/python/tests/ - pytest --verbose --color=yes ./ - popd + python3 setup.py sdist + python3 -m pip install dist/*.tar.gz - - name: Install and Test Python universal binary wheel package + - name: Run tests run: | - pip install --user dist/libcomps-*-cp39-cp39-manylinux2014_x86_64.whl + python3 -m pip install pytest pushd libcomps/src/python/tests/ pytest --verbose --color=yes ./ popd - - name: Publish packages to PyPI + - uses: actions/upload-artifact@v2 + with: + path: dist/*.tar.gz + + + build_bdist: + name: Build binary wheels + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + # setup Python for cibuildwheel + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + # for other architectures, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation + - name: Build wheels for CPython + uses: pypa/[email protected] env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{secrets.PYPI_API_TOKEN}} - run: | - twine upload dist/*.tar.gz - twine upload wheelhouse/*-manylinux*.whl + CIBW_ARCHS: auto64 # only 64-bit + CIBW_SKIP: "pp*" # no PyPy builds + CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 # centos 7 + CIBW_BEFORE_ALL: yum install -y make cmake bzip2-devel expat-devel libxml2-devel xz-devel + CIBW_BEFORE_BUILD: python -m pip install scikit-build + CIBW_TEST_REQUIRES: pytest + CIBW_TEST_COMMAND: | + pushd {project}/libcomps/src/python/tests/ + pytest --verbose --color=yes ./ + popd + + - uses: actions/upload-artifact@v2 + with: + path: ./wheelhouse/*.whl + + + upload_pypi: + name: Publish packages to PyPI + # only publish packages once everything is successful + needs: [build_bdist, build_sdist] + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v2 + with: + name: artifact + path: dist + + - uses: pypa/[email protected] + with: + user: __token__ + password: ${{secrets.PYPI_API_TOKEN}} + # To test: repository_url: https://test.pypi.org/legacy/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcomps-0.1.18/libcomps/version.cmake new/libcomps-0.1.19/libcomps/version.cmake --- old/libcomps-0.1.18/libcomps/version.cmake 2021-09-16 14:13:12.000000000 +0200 +++ new/libcomps-0.1.19/libcomps/version.cmake 2022-09-09 13:55:00.000000000 +0200 @@ -1,5 +1,5 @@ set (libcomps_VERSION_MAJOR 0) set (libcomps_VERSION_MINOR 1) -set (libcomps_VERSION_PATCH 18) +set (libcomps_VERSION_PATCH 19) set (libcomps_RELEASE 1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcomps-0.1.18/libcomps.spec new/libcomps-0.1.19/libcomps.spec --- old/libcomps-0.1.18/libcomps.spec 2021-09-16 14:13:12.000000000 +0200 +++ new/libcomps-0.1.19/libcomps.spec 2022-09-09 13:55:00.000000000 +0200 @@ -1,7 +1,7 @@ %define __cmake_in_source_build 1 Name: libcomps -Version: 0.1.18 +Version: 0.1.19 Release: 1%{?dist} Summary: Comps XML file manipulation library diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcomps-0.1.18/version.cmake new/libcomps-0.1.19/version.cmake --- old/libcomps-0.1.18/version.cmake 2021-09-16 14:13:12.000000000 +0200 +++ new/libcomps-0.1.19/version.cmake 2022-09-09 13:55:00.000000000 +0200 @@ -1,5 +1,5 @@ set (libcomps_VERSION_MAJOR 0) set (libcomps_VERSION_MINOR 1) -set (libcomps_VERSION_PATCH 18) +set (libcomps_VERSION_PATCH 19) set (libcomps_RELEASE 1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcomps-0.1.18/version.json new/libcomps-0.1.19/version.json --- old/libcomps-0.1.18/version.json 2021-09-16 14:13:12.000000000 +0200 +++ new/libcomps-0.1.19/version.json 2022-09-09 13:55:00.000000000 +0200 @@ -2,5 +2,5 @@ "libcomps_VERSION_MAJOR": 0, "libcomps_RELEASE": 1, "libcomps_VERSION_MINOR": 1, - "libcomps_VERSION_PATCH": 18 + "libcomps_VERSION_PATCH": 19 }
