commit python-py3c for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py3c for openSUSE:Factory checked in at 2022-10-10 18:44:12 Comparing /work/SRC/openSUSE:Factory/python-py3c (Old) and /work/SRC/openSUSE:Factory/.python-py3c.new.2275 (New) Package is "python-py3c" Mon Oct 10 18:44:12 2022 rev:6 rq:1008174 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/python-py3c/python-py3c.changes 2022-08-08 08:44:48.314384001 +0200 +++ /work/SRC/openSUSE:Factory/.python-py3c.new.2275/python-py3c.changes 2022-10-10 18:44:34.190869598 +0200 @@ -1,0 +2,13 @@ +Tue Oct 4 23:42:12 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version v1.4 (2021-10-15) + Additions: + add guidance around the use of Py_FindMethod (thanks to David Aguilar) + Fixes: + Avoid compiler warning about unused function + Fix DESTDIR support in the Makefile (thanks to David Aguilar) + Various documentation warning fixes (thanks to David Aguilar) + Project infrastructure: + Switch to GitHub Actions for pull request tests + +--- Old: py3c-1.3.1.tar.gz New: py3c-1.4.tar.gz Other differences: -- ++ python-py3c.spec ++ --- /var/tmp/diff_new_pack.6YbM61/_old 2022-10-10 18:44:36.090873688 +0200 +++ /var/tmp/diff_new_pack.6YbM61/_new 2022-10-10 18:44:36.098873705 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-py3c -Version:1.3.1 +Version:1.4 Release:0 Summary:Python compatibility headers License:MIT ++ py3c-1.3.1.tar.gz -> py3c-1.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.3.1/.github/workflows/main.yml new/py3c-1.4/.github/workflows/main.yml --- old/py3c-1.3.1/.github/workflows/main.yml 2021-01-07 16:57:29.0 +0100 +++ new/py3c-1.4/.github/workflows/main.yml 2021-10-15 17:18:45.0 +0200 @@ -2,10 +2,7 @@ push: branches: - master -- ci-test pull_request: -branches: -- master name: Run Tox tests @@ -19,14 +16,34 @@ uses: fedora-python/tox-github-action@master with: tox_env: ${{ matrix.tox_env }} -dnf_install: /usr/bin/make strategy: matrix: tox_env: [ py27-c90, py35-c90, py36-c90, py27-c99, py35-c99, py36-c99, py37-c99, py38-c99, py39-c99, py310-c99, -py27-c90, py35-cpp, py36-cpp, py37-cpp, py38-cpp, py39-cpp, py310-cpp, +py27-cpp, py35-cpp, py36-cpp, py37-cpp, py38-cpp, py39-cpp, py310-cpp, ] + # Old Python versions tend to have their own problems, so the CI + # isn't green all the time :( + # With this flag, GHA will show all issues so they can be analyzed. + fail-fast: false + +# Use GitHub's Linux Docker host +runs-on: ubuntu-latest + + py33-test: +name: Python 3.3 test +container: python:3.3 +steps: +- uses: actions/checkout@v2 +- name: Run tests + env: +CFLAGS: "-Werror -Wall -Wno-error=strict-aliasing" + run: | +CFLAGS="$CFLAGS -std=c90" make test-python +CFLAGS="$CFLAGS -std=c99" make test-python +make test-python-cpp + # Use GitHub's Linux Docker host runs-on: ubuntu-latest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.3.1/.travis.yml new/py3c-1.4/.travis.yml --- old/py3c-1.3.1/.travis.yml 1970-01-01 01:00:00.0 +0100 +++ new/py3c-1.4/.travis.yml2021-10-15 17:18:45.0 +0200 @@ -0,0 +1,15 @@ +language: python +arch: + - amd64 + - ppc64le +python: + - "3.4" + +env: +- TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c90 -Wno-error=strict-aliasing" +- TEST_USE_CPP=no CFLAGS="-Werror -Wall -std=c99 -Wno-error=strict-aliasing" +- TEST_USE_CPP=yes CFLAGS="-Werror -Wall -Wno-error=strict-aliasing" + +script: make test-python + +sudo: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.3.1/Makefile new/py3c-1.4/Makefile --- old/py3c-1.3.1/Makefile 2021-01-07 16:57:29.0 +0100 +++ new/py3c-1.4/Makefile 2021-10-15 17:18:45.0 +0200 @@ -11,6 +11,9 @@ datarootdir ?= $(prefix)/share datadir ?= $(datarootdir) pkgconfigdir ?= ${datadir}/pkgconfig +testbuilddir ?= test/build + +_testbuilddir_abs=$(abspath ${testbuilddir}) doc: cd doc && $(MAKE) html @@ -24,22 +27,20 @@ # TODO: A better way to build & use one-off extensions? build-%: - cd test; rm -rvf build ; $* setup.py build + cd test; rm -rvf ${_testbuilddir_abs
commit python-py3c for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py3c for openSUSE:Factory checked in at 2022-08-08 08:44:47 Comparing /work/SRC/openSUSE:Factory/python-py3c (Old) and /work/SRC/openSUSE:Factory/.python-py3c.new.1521 (New) Package is "python-py3c" Mon Aug 8 08:44:47 2022 rev:5 rq:989335 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-py3c/python-py3c.changes 2021-03-29 18:21:15.870230728 +0200 +++ /work/SRC/openSUSE:Factory/.python-py3c.new.1521/python-py3c.changes 2022-08-08 08:44:48.314384001 +0200 @@ -1,0 +2,5 @@ +Thu Jul 14 20:42:53 UTC 2022 - Ben Greiner + +- Fix test build paths for setuptools 63 + +--- Other differences: -- ++ python-py3c.spec ++ --- /var/tmp/diff_new_pack.VvG2Kz/_old 2022-08-08 08:44:49.554387649 +0200 +++ /var/tmp/diff_new_pack.VvG2Kz/_new 2022-08-08 08:44:49.558387661 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-py3c # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,26 +62,27 @@ %check pushd test # Test C extension -%python_exec setup.py build +%python_build %{python_expand # copy the lib and run the test -cp ./build/lib.linux*-%{$python_bin_suffix}/test_py3c* ./ +cp ./build/lib.linux*/test_py3c* ./ $python __main__.py -v +rm -f test_py3c*.so +rm -rf build } # Test Cpp extension -rm -f test_py3c*.so -rm -rf build* export TEST_USE_CPP="yes" -%python_exec setup.py build +%python_build %{python_expand # copy the lib and run the test -cp ./build/lib.linux*-%{$python_bin_suffix}/test_py3c* ./ +cp ./build/lib.linux*/test_py3c* ./ $python __main__.py -v +rm -f test_py3c*.so } popd %files %{python_files} %doc README.rst %license LICENSE.MIT -%{python_sitelib}/* +%{python_sitelib}/py3c-%{version}*-info %files -n py3c-devel %{_includedir}/py3c.h
commit python-py3c for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py3c for openSUSE:Factory checked in at 2021-03-29 18:21:14 Comparing /work/SRC/openSUSE:Factory/python-py3c (Old) and /work/SRC/openSUSE:Factory/.python-py3c.new.2401 (New) Package is "python-py3c" Mon Mar 29 18:21:14 2021 rev:4 rq:880630 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-py3c/python-py3c.changes 2020-07-15 14:59:55.463111875 +0200 +++ /work/SRC/openSUSE:Factory/.python-py3c.new.2401/python-py3c.changes 2021-03-29 18:21:15.870230728 +0200 @@ -1,0 +2,17 @@ +Sat Mar 20 20:59:07 UTC 2021 - Ben Greiner + +- Update to 1.3.1 + * Allow building the documentation without sphinx_rtd_theme +- Release 1.3 + * Tested with Python 3.9.0 + * To help avoid compiler warning about uninitialized members, +extra members are added to the PyModuleDef structure for Python +2: m_slots, m_traverse, m_clear and m_free. Under Python 2, +they must be set to NULL (usually by continuing to leave them +out). +- Release 1.2 + * Tests updated to pass with Python 3.9.0b3 + * make install now honors DESTDIR to support staged installations +- drop destdir.patch fixed upstream + +--- Old: destdir.patch py3c-1.1.tar.gz New: py3c-1.3.1.tar.gz Other differences: -- ++ python-py3c.spec ++ --- /var/tmp/diff_new_pack.jnrvF9/_old 2021-03-29 18:21:16.386231256 +0200 +++ /var/tmp/diff_new_pack.jnrvF9/_new 2021-03-29 18:21:16.390231260 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-py3c # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-py3c -Version:1.1 +Version:1.3.1 Release:0 Summary:Python compatibility headers License:MIT URL:http://py3c.readthedocs.io/ Source: https://github.com/encukou/py3c/archive/v%{version}.tar.gz#/py3c-%{version}.tar.gz Source99: python-py3c-rpmlintrc -Patch0: destdir.patch # Needed for test build BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -49,7 +48,6 @@ %prep %setup -q -n py3c-%{version} -%patch0 -p1 %build %python_build @@ -57,7 +55,7 @@ %install %python_install # we will use the make install to deploy includes -rm -r %{buildroot}%{_includedir} +rm -r %{buildroot}%{_includedir}/* %make_install prefix=%{_prefix} %python_expand %fdupes %{buildroot}%{$python_sitelib} ++ py3c-1.1.tar.gz -> py3c-1.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.1/.github/workflows/main.yml new/py3c-1.3.1/.github/workflows/main.yml --- old/py3c-1.1/.github/workflows/main.yml 1970-01-01 01:00:00.0 +0100 +++ new/py3c-1.3.1/.github/workflows/main.yml 2021-01-07 16:57:29.0 +0100 @@ -0,0 +1,32 @@ +on: + push: +branches: +- master +- ci-test + pull_request: +branches: +- master + +name: Run Tox tests + +jobs: + tox_test: +name: Tox test +steps: +- uses: actions/checkout@v2 +- name: Run Tox tests + id: test + uses: fedora-python/tox-github-action@master + with: +tox_env: ${{ matrix.tox_env }} +dnf_install: /usr/bin/make +strategy: + matrix: +tox_env: [ +py27-c90, py35-c90, py36-c90, +py27-c99, py35-c99, py36-c99, py37-c99, py38-c99, py39-c99, py310-c99, +py27-c90, py35-cpp, py36-cpp, py37-cpp, py38-cpp, py39-cpp, py310-cpp, +] + +# Use GitHub's Linux Docker host +runs-on: ubuntu-latest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.1/.gitignore new/py3c-1.3.1/.gitignore --- old/py3c-1.1/.gitignore 2019-10-04 14:37:09.0 +0200 +++ new/py3c-1.3.1/.gitignore 2021-01-07 16:57:29.0 +0100 @@ -4,4 +4,5 @@ /py3c.pc .eggs dist -*.egg-info \ No newline at end of file +*.egg-info +/.tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3c-1.1/.travis.yml new/py3c-1.3.1/.travis.yml --- old/py3c-1.1/.travis.yml2019-10-04 14:37:09.0 +0200 +++ new/py3c-1.3.1/.travis.yml 1970-01-01 01:00:00.0 +0100 @@ -1,24 +0,0 @@ -language: python - -python: - - "2.7" - - "3.4" - - "3.5" - - "3.5" - - "3.6" - - "3.7" - - "nightly" - -env: -- TEST_USE_CPP=no CFL