commit python-pybcj for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pybcj for openSUSE:Factory checked in at 2023-12-15 21:48:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pybcj (Old) and /work/SRC/openSUSE:Factory/.python-pybcj.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pybcj" Fri Dec 15 21:48:36 2023 rev:3 rq:1133210 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pybcj/python-pybcj.changes 2023-06-27 23:18:22.919997288 +0200 +++ /work/SRC/openSUSE:Factory/.python-pybcj.new.25432/python-pybcj.changes 2023-12-15 21:48:49.829562823 +0100 @@ -1,0 +2,6 @@ +Thu Dec 14 21:39:00 UTC 2023 - Dirk Müller <dmueller@suse.com> + +- update to 1.0.2: + * Support python 3.12 + +------------------------------------------------------------------- Old: ---- pybcj-1.0.1.tar.gz New: ---- pybcj-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pybcj.spec ++++++ --- /var/tmp/diff_new_pack.7zjw4x/_old 2023-12-15 21:48:50.305580338 +0100 +++ /var/tmp/diff_new_pack.7zjw4x/_new 2023-12-15 21:48:50.309580485 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pybcj # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pybcj -Version: 1.0.1 +Version: 1.0.2 Release: 0 Summary: A bcj filter library License: LGPL-2.1-or-later ++++++ pybcj-1.0.1.tar.gz -> pybcj-1.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/.flake8 new/pybcj-1.0.2/.flake8 --- old/pybcj-1.0.1/.flake8 1970-01-01 01:00:00.000000000 +0100 +++ new/pybcj-1.0.2/.flake8 2023-11-05 07:18:16.000000000 +0100 @@ -0,0 +1,4 @@ +[flake8] +max-line-length = 125 +ignore = F841 +extend-ignore = E203 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/CMakeLists.txt new/pybcj-1.0.2/CMakeLists.txt --- old/pybcj-1.0.1/CMakeLists.txt 2022-08-05 01:44:48.000000000 +0200 +++ new/pybcj-1.0.2/CMakeLists.txt 2023-11-05 07:18:16.000000000 +0100 @@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 17) # TARGET PYTHON version -set(PY_VERSION 3.8) +set(PY_VERSION 3.12) set(Python_FIND_IMPLEMENTATIONS CPython) set(VENV_PATH "${CMAKE_BINARY_DIR}/venv") set(DEBUG_BUILD ON) @@ -24,17 +24,17 @@ OUTPUT_STRIP_TRAILING_WHITESPACE) set(PY_EXT ${PY_EXT_DIR}/${PY_EXT_FILE}.${PY_EXT_EXT}) set(PY_CFFI ${PY_CFFI_DIR}/PY_CFFI_FILE}.${PY_EXT_EXT}) -if(DEBUG_BUILD) - if (WIN32) +# bulid ext by setup.py +if (WIN32) + if(DEBUG_BUILD) set(BUILD_EXT_PYTHON ${VENV_PATH}/Scripts/python_d.exe) - set(BUILD_EXT_OPTION -g) else() - set(BUILD_EXT_PYTHON ${Python_EXECUTABLE}) - set(BUILD_EXT_OPTION -g) + set(BUILD_EXT_PYTHON ${VENV_PATH}/Scripts/python.exe) endif() -else() - set(BUILD_EXT_PYTHON ${Python_EXECUTABLE}) set(BUILD_EXT_OPTION) +else() + set(BUILD_EXT_PYTHON ${VENV_PATH}/bin/python) + set(BUILD_EXT_OPTION --warning-as-error) endif() set(pybcj_sources src/ext/Bra.c src/ext/Bra86.c src/ext/BraIA64.c) set(pybcj_ext_src src/ext/_bcjmodule.c) @@ -67,17 +67,19 @@ COMMAND ${Python_EXECUTABLE} -m venv ${VENV_PATH} COMMAND ${PIP_COMMAND} install -r ${CMAKE_BINARY_DIR}/requirements.txt COMMAND ${CMAKE_COMMAND} -E touch venv.stamp) +set(SRC_PATH "${CMAKE_SOURCE_DIR}/src") set(VPKG_PATH_A "${VENV_PATH}/lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages/") set(VPKG_PATH_B "${VENV_PATH}/Lib/site-packages/") +set(VPKG_PATH_C "${CMAKE_BINARY_DIR}") # ################################################################################################## # For pytest file( - WRITE ${CMAKE_CURRENT_BINARY_DIR}/pytest_runner.cpp - " + WRITE ${CMAKE_CURRENT_BINARY_DIR}/pytest_runner.cpp + " #include <string> #include <filesystem> -#include <Python.h> +#include <unistd.h> int main(int argc, char **argv) { std::string args; if ( argc > 1) { @@ -91,20 +93,18 @@ } args.append(\"]\"); } + std::filesystem::path src_path = \"${SRC_PATH}\"; std::filesystem::path vsite_path_a = \"${VPKG_PATH_A}\"; std::filesystem::path vsite_path_b = \"${VPKG_PATH_B}\"; + std::filesystem::path vsite_path_c = \"${VPKG_PATH_C}\"; std::string pycode = \"import sys\\n\" - \"sys.path.append('src')\\n\" + \"sys.path.append('\" + src_path.string() + \"')\\n\" \"sys.path.append('\" + vsite_path_a.string() + \"')\\n\" \"sys.path.append('\" + vsite_path_b.string() + \"')\\n\" \"import pytest\\n\" \"pytest.main(\" + args + \")\\n\"; - wchar_t * program_name = Py_DecodeLocale(argv[0], NULL); - Py_SetProgramName(program_name); - Py_Initialize(); - PyRun_SimpleString(&*pycode.begin()); - Py_Finalize(); + execl(\"${Python_EXECUTABLE}\", \"${Python_EXECUTABLE}\", \"-c\", pycode.c_str(), (char*)0); return 0; }") add_executable(pytest_runner ${CMAKE_CURRENT_BINARY_DIR}/pytest_runner.cpp) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/Changelog.rst new/pybcj-1.0.2/Changelog.rst --- old/pybcj-1.0.1/Changelog.rst 2022-08-05 01:44:48.000000000 +0200 +++ new/pybcj-1.0.2/Changelog.rst 2023-11-05 07:18:16.000000000 +0100 @@ -7,6 +7,14 @@ `Unreleased`_ ============= +`v1.0.2`_ +========= + +Added +----- +- Support python 3.12 +- Add cibuildwheel config + `v1.0.1`_ ========= @@ -28,7 +36,7 @@ Fixed ----- -* gitea: issue template +- gitea: issue template `v0.6.1`_ ========= @@ -36,7 +44,7 @@ Changed ------- -* Publish wheels for python 3.11 beta +- Publish wheels for python 3.11 beta `v0.6.0`_ ========= @@ -125,7 +133,8 @@ - First import. -.. _Unreleased: https://codeberg.org/miurahr/pybcj/compare/v1.0.1...HEAD +.. _Unreleased: https://codeberg.org/miurahr/pybcj/compare/v1.0.2...HEAD +.. _v1.0.2: https://codeberg.org/miurahr/pybcj/compare/v1.0.1...v1.0.2 .. _v1.0.1: https://codeberg.org/miurahr/pybcj/compare/v1.0.0...v1.0.1 .. _v1.0.0: https://codeberg.org/miurahr/pybcj/compare/v0.6.1...v1.0.0 .. _v0.6.1: https://codeberg.org/miurahr/pybcj/compare/v0.6.0...v0.6.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/PKG-INFO new/pybcj-1.0.2/PKG-INFO --- old/pybcj-1.0.1/PKG-INFO 2022-08-05 01:45:24.696096700 +0200 +++ new/pybcj-1.0.2/PKG-INFO 2023-11-05 07:18:50.747098700 +0100 @@ -1,9 +1,7 @@ Metadata-Version: 2.1 Name: pybcj -Version: 1.0.1 +Version: 1.0.2 Summary: bcj filter library -Home-page: http://codeberg.org/miurahr/pybcj -Author: Hiroshi Miura Author-email: Hiroshi Miura <miurahr@linux.com> License: LGPL-2.1-or-later Project-URL: Source, https://codeberg.org/miurahr/pybcj @@ -16,20 +14,35 @@ Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.6 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst +License-File: LICENSE Provides-Extra: test +Requires-Dist: pytest>=6.0; extra == "test" +Requires-Dist: pytest-cov; extra == "test" +Requires-Dist: hypothesis; extra == "test" +Requires-Dist: coverage[toml]>=5.2; extra == "test" Provides-Extra: check -License-File: LICENSE +Requires-Dist: mypy>=0.812; extra == "check" +Requires-Dist: mypy_extensions>=0.4.3; extra == "check" +Requires-Dist: check-manifest; extra == "check" +Requires-Dist: flake8<5; extra == "check" +Requires-Dist: flake8-black; extra == "check" +Requires-Dist: flake8-colors; extra == "check" +Requires-Dist: flake8-isort; extra == "check" +Requires-Dist: flake8-pyi; extra == "check" +Requires-Dist: flake8-typing-imports; extra == "check" +Requires-Dist: readme-renderer; extra == "check" +Requires-Dist: pygments; extra == "check" ======================================= BCJ(Branch-Call-Jump) filter for python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/pyproject.toml new/pybcj-1.0.2/pyproject.toml --- old/pybcj-1.0.1/pyproject.toml 2022-08-05 01:44:48.000000000 +0200 +++ new/pybcj-1.0.2/pyproject.toml 2023-11-05 07:18:16.000000000 +0100 @@ -1,6 +1,6 @@ [project] name = "pybcj" -requires-python = ">=3.6" +requires-python = ">=3.8" description = "bcj filter library" keywords = ["lzma", "bcj"] readme = "README.rst" @@ -17,17 +17,16 @@ "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "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", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ['importlib_metadata;python_version<"3.8"'] dynamic=["version"] [project.optional-dependencies] @@ -72,7 +71,7 @@ [tool.black] line-length = 125 -target-version = ['py38'] +target-version = ['py310'] [tool.isort] known_first_party = ["bcj", "_bcj"] @@ -84,14 +83,34 @@ ensure_newline_before_comments = true line_length = 125 +[tool.cibuildwheel] +skip = ["pp*", "*-win32", "*-manylinux_i686", "*-musllinux_i686"] +manylinux-x86_64-image = "manylinux2014" +manylinux-aarch64-image = "manylinux2014" +manylinux-ppc64le-image = "manylinux2014" +manylinux-s390x-image = "manylinux2014" + +musllinux-x86_64-image = "musllinux_1_1" +musllinux-aarch64-image = "musllinux_1_1" +musllinux-ppc64le-image = "musllinux_1_1" +musllinux-s390x-image = "musllinux_1_1" + +[tool.cibuildwheel.linux] +archs = ["auto64", "aarch64"] + +[tool.cibuildwheel.macos] +archs = ["auto64", "universal2"] + [tool.tox] legacy_tox_ini = """ [tox] -envlist = py{37,38,39,310}, pypy3, check, mypy +envlist = py{37,38,39,310,311,312}, pypy3, check, mypy isolated_build=True [testenv] -passenv = GITHUB_* SETUPTOOLS_USE_DISTUTILS +passenv = + PYTEST_ADDOPTS + SETUPTOOLS_USE_DISTUTILS extras = test commands = python -m pytest -vv -s diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/setup.cfg new/pybcj-1.0.2/setup.cfg --- old/pybcj-1.0.1/setup.cfg 2022-08-05 01:45:24.696096700 +0200 +++ new/pybcj-1.0.2/setup.cfg 2023-11-05 07:18:50.747098700 +0100 @@ -1,65 +1,3 @@ -[flake8] -max-line-length = 125 -ignore = F841 -extend-ignore = E203 - -[bdist_wheel] -universal = 0 - -[metadata] -name = pybcj -description = bcj filter library -long_description = file: README.rst -long_description_content_type = text/x-rst -keywords = 7zip, bcj -license = LGPL-2.1+ -author = Hiroshi Miura -author_email = miurahr@linux.com -url = http://codeberg.org/miurahr/pybcj -classifiers = - Development Status :: 4 - Beta - License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) - Operating System :: MacOS :: MacOS X - Operating System :: Microsoft :: Windows - Operating System :: POSIX - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3 :: Only - Topic :: Software Development :: Libraries :: Python Modules - -[options] -install_requires = - importlib_metadata;python_version<"3.8" -setup_requires = - setuptools-scm[toml]>=6.0.1 - setuptools>=58.0 -packages = bcj - -[options.package_data] -bcj = py.typed - -[options.extras_require] -test = - pytest - hypothesis -check = - mypy - check-manifest - flake8<5 - flake8-black - flake8-colors - flake8-isort - flake8-pyi - flake8-typing-imports - readme-renderer - pygments - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/src/pybcj.egg-info/PKG-INFO new/pybcj-1.0.2/src/pybcj.egg-info/PKG-INFO --- old/pybcj-1.0.1/src/pybcj.egg-info/PKG-INFO 2022-08-05 01:45:24.000000000 +0200 +++ new/pybcj-1.0.2/src/pybcj.egg-info/PKG-INFO 2023-11-05 07:18:50.000000000 +0100 @@ -1,9 +1,7 @@ Metadata-Version: 2.1 Name: pybcj -Version: 1.0.1 +Version: 1.0.2 Summary: bcj filter library -Home-page: http://codeberg.org/miurahr/pybcj -Author: Hiroshi Miura Author-email: Hiroshi Miura <miurahr@linux.com> License: LGPL-2.1-or-later Project-URL: Source, https://codeberg.org/miurahr/pybcj @@ -16,20 +14,35 @@ Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.6 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst +License-File: LICENSE Provides-Extra: test +Requires-Dist: pytest>=6.0; extra == "test" +Requires-Dist: pytest-cov; extra == "test" +Requires-Dist: hypothesis; extra == "test" +Requires-Dist: coverage[toml]>=5.2; extra == "test" Provides-Extra: check -License-File: LICENSE +Requires-Dist: mypy>=0.812; extra == "check" +Requires-Dist: mypy_extensions>=0.4.3; extra == "check" +Requires-Dist: check-manifest; extra == "check" +Requires-Dist: flake8<5; extra == "check" +Requires-Dist: flake8-black; extra == "check" +Requires-Dist: flake8-colors; extra == "check" +Requires-Dist: flake8-isort; extra == "check" +Requires-Dist: flake8-pyi; extra == "check" +Requires-Dist: flake8-typing-imports; extra == "check" +Requires-Dist: readme-renderer; extra == "check" +Requires-Dist: pygments; extra == "check" ======================================= BCJ(Branch-Call-Jump) filter for python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/src/pybcj.egg-info/SOURCES.txt new/pybcj-1.0.2/src/pybcj.egg-info/SOURCES.txt --- old/pybcj-1.0.1/src/pybcj.egg-info/SOURCES.txt 2022-08-05 01:45:24.000000000 +0200 +++ new/pybcj-1.0.2/src/pybcj.egg-info/SOURCES.txt 2023-11-05 07:18:50.000000000 +0100 @@ -1,3 +1,4 @@ +.flake8 .gitignore CMakeLists.txt Changelog.rst @@ -6,7 +7,6 @@ README.rst azure-pipelines.yml pyproject.toml -setup.cfg setup.py src/bcj/__init__.py src/bcj/_bcjfilter.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybcj-1.0.1/src/pybcj.egg-info/requires.txt new/pybcj-1.0.2/src/pybcj.egg-info/requires.txt --- old/pybcj-1.0.1/src/pybcj.egg-info/requires.txt 2022-08-05 01:45:24.000000000 +0200 +++ new/pybcj-1.0.2/src/pybcj.egg-info/requires.txt 2023-11-05 07:18:50.000000000 +0100 @@ -1,7 +1,4 @@ -[:python_version < "3.8"] -importlib_metadata - [check] mypy>=0.812 mypy_extensions>=0.4.3
participants (1)
-
Source-Sync