Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-for-android for
openSUSE:Factory checked in at 2024-04-08 17:39:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-for-android (Old)
and /work/SRC/openSUSE:Factory/.python-python-for-android.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-for-android"
Mon Apr 8 17:39:29 2024 rev:8 rq:1166050 version:2024.1.21
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-for-android/python-python-for-android.changes
2024-01-10 21:52:36.644868987 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-for-android.new.1905/python-python-for-android.changes
2024-04-08 17:51:52.160793805 +0200
@@ -1,0 +2,27 @@
+Mon Apr 8 05:32:06 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Update to 2024.01.21:
+ * Update Lottie player version
+ * Remove distutils usage, as is not available anymore on Python 3.12
+ * enable json1 extenstion in sqlite3
+ * Bump pyjnius version to 1.6.1
+ * Add (now mandatory) .readthedocs.yaml file, add docs requirements.txt
+ and update sphinx conf
+ * Update Android gradle plugin to 8.1.1 and gradle to 8.0.2
+ * Add support for Python 3.11 and make it the default while building
+ hostpython3 and python3
+ * Remove redundant append into WHITELIST_PATTERNS
+ * sourceCompatibility 1.7 and targetCompatibility 1.7 are obsolete, use 1.8
+ * Update sdl2 deps to reflect the same targeted in kivy/kivy
+ * Initial support for PySide6 and Qt
+ * Bump Kivy version to 2.3.0
+ * Update OpenSSL version to 1.1.1w
+- Stop replacing pep517 in files, we have moved off of it
+- Remove patch switch-to-build-from-pep517.patch:
+ * Now included.
+- Add patch no-isolation-for-metadata-build.patch:
+ * However, we still don't need isolated builds.
+- Switch to pyproject macros.
+- Skip a test that breaks with Python 3.12.
+
+-------------------------------------------------------------------
Old:
----
python-for-android-2023.9.16.tar.gz
switch-to-build-from-pep517.patch
New:
----
no-isolation-for-metadata-build.patch
python-for-android-2024.1.21.tar.gz
BETA DEBUG BEGIN:
Old:- Stop replacing pep517 in files, we have moved off of it
- Remove patch switch-to-build-from-pep517.patch:
* Now included.
BETA DEBUG END:
BETA DEBUG BEGIN:
New: * Now included.
- Add patch no-isolation-for-metadata-build.patch:
* However, we still don't need isolated builds.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-for-android.spec ++++++
--- /var/tmp/diff_new_pack.gG0h2O/_old 2024-04-08 17:51:52.648811817 +0200
+++ /var/tmp/diff_new_pack.gG0h2O/_new 2024-04-08 17:51:52.652811965 +0200
@@ -16,18 +16,17 @@
#
-%define version_with_zeros 2023.02.10
+%define version_with_zeros 2024.01.21
Name: python-python-for-android
-Version: 2023.9.16
+Version: 2024.1.21
Release: 0
Summary: Android APK packager for Python scripts and apps
License: MIT
URL: https://github.com/kivy/python-for-android
Source:
https://github.com/kivy/python-for-android/archive/refs/tags/v%{version_with_zeros}.tar.gz#/python-for-android-%{version}.tar.gz
Source1: python-python-for-android-rpmlintrc
-# PATCH-FIX-UPSTREAM Switch to using build rather than pep517
-# Based on gh#kivy/python-for-android#2784, we do not need or want isolation
-Patch0: switch-to-build-from-pep517.patch
+# PATCH-FIX-OPENSUSE We don't need or want isolation when determining metadata
+Patch0: no-isolation-for-metadata-build.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -37,7 +36,7 @@
Requires: python-colorama >= 0.3.3
Requires: python-toml
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
Recommends: cmake
Recommends: python-pip
Recommends: python-setuptools
@@ -84,16 +83,11 @@
sed -i 's/from backports import tempfile/import tempfile/' tests/test_recipe.py
-sed -i 's/pep517<0.7.0/pep517/' setup.py tests/test_pythonpackage_basic.py
-
-# https://github.com/kivy/python-for-android/pull/2354
-sed -i "s/'pep517.',/'pep517',/" setup.py
-
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/python-for-android
%python_clone -a %{buildroot}%{_bindir}/p4a
%{python_expand rm -r %{buildroot}%{$python_sitelib}/ci/
%{buildroot}%{$python_sitelib}/tests/
@@ -114,6 +108,8 @@
skip_tests="test_get_dep_names_of_package or test_get_package_dependencies or
test_venv or test_get_package_as_folder or
test_extract_metainfo_files_from_package"
# Unable to download NDK
skip_tests="$skip_tests or (TestToolchainCL and test_create) or
test_create_python_bundle"
+# Broken with 3.12 - https://github.com/kivy/python-for-android/issues/3002
+skip_tests="$skip_tests or (TestIcuRecipe and test_build_arch)"
%pytest -rs tests -k "not ($skip_tests)"
++++++ no-isolation-for-metadata-build.patch ++++++
Index: python-for-android-2024.01.21/pythonforandroid/pythonpackage.py
===================================================================
--- python-for-android-2024.01.21.orig/pythonforandroid/pythonpackage.py
+++ python-for-android-2024.01.21/pythonforandroid/pythonpackage.py
@@ -432,7 +432,7 @@ def _extract_metainfo_files_from_package
if path_type != "wheel":
# Use a build helper function to fetch the metadata directly
- metadata = build.util.project_wheel_metadata(path)
+ metadata = build.util.project_wheel_metadata(path, isolated=False)
# And write it to a file
metadata_path = os.path.join(output_path, "built_metadata")
with open(metadata_path, 'w') as f:
++++++ python-for-android-2023.9.16.tar.gz ->
python-for-android-2024.1.21.tar.gz ++++++
++++ 12653 lines of diff (skipped)