Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygame for openSUSE:Factory checked in at 2025-03-04 18:33:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygame (Old) and /work/SRC/openSUSE:Factory/.python-pygame.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygame" Tue Mar 4 18:33:15 2025 rev:44 rq:1250014 version:2.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes 2024-09-15 12:40:13.174095184 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygame.new.19136/python-pygame.changes 2025-03-04 18:33:46.320908171 +0100 @@ -1,0 +2,16 @@ +Mon Mar 3 12:31:38 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com> + +- Update to 2.6.1 + * 2.6.0 -> 2.6.1.dev1 by @illume in #4273 + * grammar-fix by @jakefrombay in #4276 + * Update sprite.rst by @jakefrombay in #4277 + * build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #4281 + * github: Bump cibuildwheel to v2.19.2 by @illume in #4286 + * Update SpriteIntro.rst by @PavloShutz in #4310 + * buildconfig/appveyor: Python 3.13 for windows by @illume in #4317 + * buildconfig: Pin cython version to range by @illume in #4334 + * build(deps): bump pypa/cibuildwheel from 2.19.2 to 2.20.0 by @dependabot in #4321 + * github/build-*: Fix Cython version specifier by @illume in #4349 + * manylinux: Remove old pypy 3.7 by @illume in #4350 + +------------------------------------------------------------------- Old: ---- pygame-2.6.0.tar.gz New: ---- pygame-2.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygame.spec ++++++ --- /var/tmp/diff_new_pack.6N6dKJ/_old 2025-03-04 18:33:46.848930221 +0100 +++ /var/tmp/diff_new_pack.6N6dKJ/_new 2025-03-04 18:33:46.852930387 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pygame # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 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-pygame -Version: 2.6.0 +Version: 2.6.1 Release: 0 Summary: A Python Module for Interfacing with the SDL Multimedia Library License: Apache-2.0 AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND libpng-2.0 ++++++ pygame-2.6.0.tar.gz -> pygame-2.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/build-debian-multiarch.yml new/pygame-2.6.1/.github/workflows/build-debian-multiarch.yml --- old/pygame-2.6.0/.github/workflows/build-debian-multiarch.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/build-debian-multiarch.yml 2024-09-29 13:02:56.000000000 +0200 @@ -48,7 +48,7 @@ arch: [s390x, ppc64le] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Build sources and run tests uses: uraimo/run-on-arch-action@v2.7.2 @@ -85,7 +85,7 @@ run: | export PIP_CONFIG_FILE=buildconfig/pip_config.ini echo "\nBuilding pygame wheel\n" - python3 -m pip install Cython==3.0.0 + python3 -m pip install "Cython>=3.0,<3.1" python3 setup.py docs pip3 wheel . --wheel-dir /artifacts -vvv echo "\nInstalling wheel\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/build-macos.yml new/pygame-2.6.1/.github/workflows/build-macos.yml --- old/pygame-2.6.0/.github/workflows/build-macos.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/build-macos.yml 2024-09-29 13:02:56.000000000 +0200 @@ -42,7 +42,7 @@ macarch: [arm64, x86_64] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Test for Mac Deps cache hit id: macdep-cache @@ -134,8 +134,9 @@ bash ./install_mac_deps.sh CIBW_BEFORE_BUILD: | - pip install requests numpy Sphinx Cython==3.0.0 + pip install requests numpy Sphinx "Cython>=3.0,<3.1" setuptools wheel python setup.py docs + CIBW_TEST_COMMAND: > python -m pygame.tests -v --exclude opengl,timing --time_out 300 @@ -144,7 +145,7 @@ CIBW_BUILD_VERBOSITY: 2 steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: pip cache uses: actions/cache@v4.0.2 @@ -160,7 +161,7 @@ key: macdep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/macdependencies/*.sh') }}-${{ matrix.macarch }} - name: Build and test wheels - uses: pypa/cibuildwheel@v2.17.0 + uses: pypa/cibuildwheel@v2.20.0 - uses: actions/upload-artifact@v3 with: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/build-manylinux.yml new/pygame-2.6.1/.github/workflows/build-manylinux.yml --- old/pygame-2.6.0/.github/workflows/build-manylinux.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/build-manylinux.yml 2024-09-29 13:02:56.000000000 +0200 @@ -70,7 +70,7 @@ # command that runs before every build CIBW_BEFORE_BUILD: | - pip install Sphinx Cython==3.0.0 + pip install Sphinx "Cython>=3.0,<3.1" setuptools wheel python setup.py docs CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,music,timing --time_out 300 @@ -87,10 +87,10 @@ CIBW_BUILD_VERBOSITY: 2 steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Build and test wheels - uses: pypa/cibuildwheel@v2.17.0 + uses: pypa/cibuildwheel@v2.20.0 # We upload the generated files under github actions assets - name: Upload dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/build-msys2.yml new/pygame-2.6.1/.github/workflows/build-msys2.yml --- old/pygame-2.6.0/.github/workflows/build-msys2.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/build-msys2.yml 2024-09-29 13:02:56.000000000 +0200 @@ -42,7 +42,7 @@ # - { sys: ucrt64, env: ucrt-x86_64 } # - { sys: clang64, env: clang-x86_64 } steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install MSYS2 uses: msys2/setup-msys2@v2 with: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/build-ubuntu-sdist.yml new/pygame-2.6.1/.github/workflows/build-ubuntu-sdist.yml --- old/pygame-2.6.0/.github/workflows/build-ubuntu-sdist.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/build-ubuntu-sdist.yml 2024-09-29 13:02:56.000000000 +0200 @@ -49,7 +49,7 @@ python-version: [ "3.10" ] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Setup Python uses: actions/setup-python@v5 @@ -65,14 +65,14 @@ run: | sudo apt-get update --fix-missing sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev python3-setuptools python3-dev - python3 -m pip install sphinx numpy>=1.21.0 Cython==3.0.0 + python3 -m pip install sphinx numpy>=1.21.0 "Cython>=3.0,<3.1" - name: Install deps retry if: steps.install_deps.outcome == 'failure' run: | sudo apt-get update --fix-missing sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev python3-setuptools python3-dev - python3 -m pip install sphinx numpy>=1.21.0 Cython==3.0.0 + python3 -m pip install sphinx numpy>=1.21.0 "Cython>=3.0,<3.1" - name: Make sdist and install it env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/cppcheck.yml new/pygame-2.6.1/.github/workflows/cppcheck.yml --- old/pygame-2.6.0/.github/workflows/cppcheck.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/cppcheck.yml 2024-09-29 13:02:56.000000000 +0200 @@ -20,7 +20,7 @@ runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install deps run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/.github/workflows/format-lint.yml new/pygame-2.6.1/.github/workflows/format-lint.yml --- old/pygame-2.6.0/.github/workflows/format-lint.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/.github/workflows/format-lint.yml 2024-09-29 13:02:56.000000000 +0200 @@ -28,7 +28,7 @@ pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - uses: actions/setup-python@v5 with: python-version: 3.x @@ -38,7 +38,7 @@ runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install deps run: python3 -m pip install sphinx - name: Check docs changes are checked in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/buildconfig/appveyor.yml new/pygame-2.6.1/buildconfig/appveyor.yml --- old/pygame-2.6.0/buildconfig/appveyor.yml 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/buildconfig/appveyor.yml 2024-09-29 13:02:56.000000000 +0200 @@ -17,6 +17,13 @@ secure: rRMjJUUe93LoGV78ZAdf2IwTxwqSXDnbXVGer7ObTSK5Fgxv0vQrKbDcepZ3U3L37KvJJ5Ki6Hii8/IHzysNIrS+8BedF/2nrksgUldrdst0nPZea2/EJI6279iDTCumtq/w3In+NH+vcZV8Q2IoeouFuIv/S8P68egnnb5WBBgr0WtBklrNyl/eGPVi8/NT1k5pLaX7RatEPFOF7UM7ShTc/F/StF5DTf2Ir3DJiR9XZF8eGYbzLmgG8UTYUgDD+GZQuZx97+niXbR+vj/zcg== matrix: + - PYTHON: "C:\\Python313\\python" + PYTHONPATH: "C:\\Python313" + PYTHON_VERSION: "3.13.0" + PYTHON_SUFFIX: "rc1" + PYTHON_ARCH: "32" + USE_ANALYZE: "" + - PYTHON: "C:\\Python312\\python" PYTHONPATH: "C:\\Python312" PYTHON_VERSION: "3.12.0" @@ -73,6 +80,13 @@ PYTHON_ARCH: "32" USE_ANALYZE: "" + - PYTHON: "C:\\Python313-x64\\python" + PYTHONPATH: "C:\\Python313-x64" + PYTHON_VERSION: "3.13.0" + PYTHON_SUFFIX: "rc1" + PYTHON_ARCH: "64" + USE_ANALYZE: "" + - PYTHON: "C:\\Python312-x64\\python" PYTHONPATH: "C:\\Python312-x64" PYTHON_VERSION: "3.12.0" @@ -161,11 +175,12 @@ - "set HOME=%APPVEYOR_BUILD_FOLDER%" - "set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%\\%PYPY_VERSION%" - "%PYTHON% -m ensurepip" - - "%PYTHON% -m pip install -U setuptools wheel pip" + - "%PYTHON% -m pip install \"setuptools==73.0.1; python_version >= '3.8'\" \"setuptools; python_version < '3.8'\"" + - "%PYTHON% -m pip install -U wheel pip" - "%PYTHON% -m pip install twine" - "%PYTHON% -m pip install requests" - - "%PYTHON% -m pip install Cython==3.0.0" - - "%PYTHON% -m pip install Sphinx==4.5.0 sphinxcontrib-applehelp==1.0.2 pip install sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5" + - "%PYTHON% -m pip install \"Cython>=3.0,<3.1\"" + - "%PYTHON% -m pip install Sphinx" - "%PYTHON% setup.py docs" - "%WITH_COMPILER% %PYTHON% -m buildconfig" - "%WITH_COMPILER% %PYTHON% setup.py build -j4 %USE_ANALYZE%" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/buildconfig/manylinux-build/build-wheels.sh new/pygame-2.6.1/buildconfig/manylinux-build/build-wheels.sh --- old/pygame-2.6.0/buildconfig/manylinux-build/build-wheels.sh 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/buildconfig/manylinux-build/build-wheels.sh 2024-09-29 13:02:56.000000000 +0200 @@ -3,7 +3,7 @@ if [[ "$1" == "buildpypy" ]]; then - export SUPPORTED_PYTHONS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 pp37-pypy37_pp73 pp39-pypy39_pp73 pp38-pypy38_pp73" + export SUPPORTED_PYTHONS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 pp39-pypy39_pp73 pp38-pypy38_pp73" elif [[ "$1" == "buildpypy10" ]]; then export SUPPORTED_PYTHONS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310" else @@ -42,7 +42,7 @@ PYTHON="/opt/python/${PYVER}/bin/pypy" fi - ${PYTHON} -m pip install Sphinx Cython==3.0.0 + ${PYTHON} -m pip install Sphinx "Cython>=3.0,<3.1" cd io ${PYTHON} setup.py docs cd .. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/buildconfig/vstools.py new/pygame-2.6.1/buildconfig/vstools.py --- old/pygame-2.6.0/buildconfig/vstools.py 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/buildconfig/vstools.py 2024-09-29 13:02:56.000000000 +0200 @@ -1,5 +1,9 @@ import re -from distutils.msvccompiler import MSVCCompiler, get_build_architecture + +try: + from distutils.msvccompiler import MSVCCompiler, get_build_architecture +except ImportError: + from setuptools._distutils.msvccompiler import MSVCCompiler, get_build_architecture import subprocess import os diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/docs/es/conf.py new/pygame-2.6.1/docs/es/conf.py --- old/pygame-2.6.0/docs/es/conf.py 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/docs/es/conf.py 2024-09-29 13:02:56.000000000 +0200 @@ -47,9 +47,9 @@ # built documents. # # The short X.Y version. -version = '2.6.0' +version = '2.6.1' # The full version, including alpha/beta/rc tags. -release = '2.6.0' +release = '2.6.1' # Format strings for the version directives versionadded_format = 'New in pygame %s' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/docs/reST/conf.py new/pygame-2.6.1/docs/reST/conf.py --- old/pygame-2.6.0/docs/reST/conf.py 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/docs/reST/conf.py 2024-09-29 13:02:56.000000000 +0200 @@ -47,9 +47,9 @@ # built documents. # # The short X.Y version. -version = '2.6.0' +version = '2.6.1' # The full version, including alpha/beta/rc tags. -release = '2.6.0' +release = '2.6.1' # Format strings for the version directives versionadded_format = 'New in pygame %s' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/docs/reST/ref/pygame.rst new/pygame-2.6.1/docs/reST/ref/pygame.rst --- old/pygame-2.6.0/docs/reST/ref/pygame.rst 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/docs/reST/ref/pygame.rst 2024-09-29 13:02:56.000000000 +0200 @@ -34,7 +34,7 @@ fail. You may want to initialize the different modules separately to speed up your - program or to not use modules your game does not require. + program or remove the modules your game does not require. It is safe to call this ``init()`` more than once as repeated calls will have no effect. This is true even if you have ``pygame.quit()`` all the modules. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/docs/reST/ref/sprite.rst new/pygame-2.6.1/docs/reST/ref/sprite.rst --- old/pygame-2.6.0/docs/reST/ref/sprite.rst 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/docs/reST/ref/sprite.rst 2024-09-29 13:02:56.000000000 +0200 @@ -92,7 +92,7 @@ convenient "hook" that you can override. This method is called by ``Group.update()`` with whatever arguments you give it. - There is no need to use this method if not using the convenience method + It is not necessary to use this method if not using the convenience method by the same name in the Group class. .. ## Sprite.update ## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/docs/reST/tut/SpriteIntro.rst new/pygame-2.6.1/docs/reST/tut/SpriteIntro.rst --- old/pygame-2.6.0/docs/reST/tut/SpriteIntro.rst 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/docs/reST/tut/SpriteIntro.rst 2024-09-29 13:02:56.000000000 +0200 @@ -318,7 +318,7 @@ sprites that it collided with. Perhaps another quick code sample explains it best :: - >>> for alien in sprite.groupcollide(aliens, shots, 1, 1).keys() + >>> for alien in sprite.groupcollide(aliens, shots, 1, 1).keys(): ... boom_sound.play() ... Explosion(alien, 0) ... kills += 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/setup.py new/pygame-2.6.1/setup.py --- old/pygame-2.6.0/setup.py 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/setup.py 2024-09-29 13:02:56.000000000 +0200 @@ -20,7 +20,7 @@ METADATA = { "name": "pygame", - "version": "2.6.0", + "version": "2.6.1", "license": "LGPL", "url": "https://www.pygame.org", "author": "A community project.", @@ -248,6 +248,12 @@ print ("Skipping Cython compilation") if compile_cython: + if "setup_requires" not in METADATA: + METADATA["setup_requires"] = [] + # We require Cython if there is no generated source code. + METADATA["setup_requires"].append('cython>=3.0') + +if compile_cython: # compile .pyx files # So you can `setup.py cython` or `setup.py cython install` try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygame-2.6.0/src_c/include/_pygame.h new/pygame-2.6.1/src_c/include/_pygame.h --- old/pygame-2.6.0/src_c/include/_pygame.h 2024-06-25 14:34:48.000000000 +0200 +++ new/pygame-2.6.1/src_c/include/_pygame.h 2024-09-29 13:02:56.000000000 +0200 @@ -57,7 +57,7 @@ /* version macros (defined since version 1.9.5) */ #define PG_MAJOR_VERSION 2 #define PG_MINOR_VERSION 6 -#define PG_PATCH_VERSION 0 +#define PG_PATCH_VERSION 1 #define PG_VERSIONNUM(MAJOR, MINOR, PATCH) \ (1000 * (MAJOR) + 100 * (MINOR) + (PATCH)) #define PG_VERSION_ATLEAST(MAJOR, MINOR, PATCH) \