Accepting request 1277634 from devel:languages:python:Factory

OBS-URL: https://build.opensuse.org/request/show/1277634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python314?expand=0&rev=10
This commit is contained in:
2025-05-15 15:01:52 +00:00
committed by Git OBS Bridge
4 changed files with 32 additions and 24 deletions

View File

@@ -15,8 +15,8 @@ Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
Index: Python-3.14.0b1/Doc/library/ensurepip.rst Index: Python-3.14.0b1/Doc/library/ensurepip.rst
=================================================================== ===================================================================
--- Python-3.14.0b1.orig/Doc/library/ensurepip.rst 2025-05-06 17:33:52.000000000 +0200 --- Python-3.14.0b1.orig/Doc/library/ensurepip.rst 2025-05-12 10:59:00.152603111 +0000
+++ Python-3.14.0b1/Doc/library/ensurepip.rst 2025-05-09 10:36:23.988020340 +0200 +++ Python-3.14.0b1/Doc/library/ensurepip.rst 2025-05-12 10:59:06.662087113 +0000
@@ -61,7 +61,11 @@ @@ -61,7 +61,11 @@
By default, ``pip`` is installed into the current virtual environment By default, ``pip`` is installed into the current virtual environment
(if one is active) or into the system site packages (if there is no (if one is active) or into the system site packages (if there is no
@@ -59,8 +59,8 @@ Index: Python-3.14.0b1/Doc/library/ensurepip.rst
.. note:: .. note::
Index: Python-3.14.0b1/Lib/ensurepip/__init__.py Index: Python-3.14.0b1/Lib/ensurepip/__init__.py
=================================================================== ===================================================================
--- Python-3.14.0b1.orig/Lib/ensurepip/__init__.py 2025-05-09 10:36:06.012023154 +0200 --- Python-3.14.0b1.orig/Lib/ensurepip/__init__.py 2025-05-12 10:59:00.152603111 +0000
+++ Python-3.14.0b1/Lib/ensurepip/__init__.py 2025-05-09 10:36:23.988419430 +0200 +++ Python-3.14.0b1/Lib/ensurepip/__init__.py 2025-05-12 10:59:06.662530889 +0000
@@ -106,27 +106,27 @@ @@ -106,27 +106,27 @@
os.environ['PIP_CONFIG_FILE'] = os.devnull os.environ['PIP_CONFIG_FILE'] = os.devnull
@@ -125,8 +125,8 @@ Index: Python-3.14.0b1/Lib/ensurepip/__init__.py
verbosity=args.verbosity, verbosity=args.verbosity,
Index: Python-3.14.0b1/Lib/test/test_ensurepip.py Index: Python-3.14.0b1/Lib/test/test_ensurepip.py
=================================================================== ===================================================================
--- Python-3.14.0b1.orig/Lib/test/test_ensurepip.py 2025-05-09 10:36:07.299689896 +0200 --- Python-3.14.0b1.orig/Lib/test/test_ensurepip.py 2025-05-12 10:59:00.152603111 +0000
+++ Python-3.14.0b1/Lib/test/test_ensurepip.py 2025-05-09 10:36:23.988614417 +0200 +++ Python-3.14.0b1/Lib/test/test_ensurepip.py 2025-05-12 10:59:06.662803061 +0000
@@ -100,6 +100,17 @@ @@ -100,6 +100,17 @@
unittest.mock.ANY, unittest.mock.ANY,
) )
@@ -147,9 +147,9 @@ Index: Python-3.14.0b1/Lib/test/test_ensurepip.py
Index: Python-3.14.0b1/Makefile.pre.in Index: Python-3.14.0b1/Makefile.pre.in
=================================================================== ===================================================================
--- Python-3.14.0b1.orig/Makefile.pre.in 2025-05-09 10:36:18.686043460 +0200 --- Python-3.14.0b1.orig/Makefile.pre.in 2025-05-12 10:59:05.200858322 +0000
+++ Python-3.14.0b1/Makefile.pre.in 2025-05-09 10:36:23.989614417 +0200 +++ Python-3.14.0b1/Makefile.pre.in 2025-05-12 10:59:06.663191503 +0000
@@ -2337,7 +2337,7 @@ @@ -2335,7 +2335,7 @@
install|*) ensurepip="" ;; \ install|*) ensurepip="" ;; \
esac; \ esac; \
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -158,7 +158,7 @@ Index: Python-3.14.0b1/Makefile.pre.in
fi fi
.PHONY: altinstall .PHONY: altinstall
@@ -2348,7 +2348,7 @@ @@ -2346,7 +2346,7 @@
install|*) ensurepip="--altinstall" ;; \ install|*) ensurepip="--altinstall" ;; \
esac; \ esac; \
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -170,6 +170,6 @@ Index: Python-3.14.0b1/Makefile.pre.in
Index: Python-3.14.0b1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst Index: Python-3.14.0b1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ Python-3.14.0b1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst 2025-05-09 10:36:23.990105239 +0200 +++ Python-3.14.0b1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst 2025-05-12 10:59:06.663664734 +0000
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+A directory prefix can now be specified when using :mod:`ensurepip`. +A directory prefix can now be specified when using :mod:`ensurepip`.

View File

@@ -1,19 +1,12 @@
--- ---
Makefile.pre.in | 7 +++++++ Makefile.pre.in | 5 +++++
1 file changed, 7 insertions(+) 1 file changed, 5 insertions(+)
Index: Python-3.14.0b1/Makefile.pre.in Index: Python-3.14.0b1/Makefile.pre.in
=================================================================== ===================================================================
--- Python-3.14.0b1.orig/Makefile.pre.in 2025-05-06 17:33:52.000000000 +0200 --- Python-3.14.0b1.orig/Makefile.pre.in 2025-05-12 10:57:03.566724942 +0000
+++ Python-3.14.0b1/Makefile.pre.in 2025-05-09 10:36:18.686043460 +0200 +++ Python-3.14.0b1/Makefile.pre.in 2025-05-12 10:57:41.504010702 +0000
@@ -1869,11 +1869,18 @@ @@ -1874,6 +1874,11 @@
$(DTRACE_OBJS) \
$(srcdir)/Modules/getbuildinfo.c
$(CC) -c $(PY_CORE_CFLAGS) \
+ -DDATE="\"`date -u -r Makefile.pre.in +"%b %d %Y"`\"" \
+ -DTIME="\"`date -u -r Makefile.pre.in +"%T"`\"" \
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \ -DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
-o $@ $(srcdir)/Modules/getbuildinfo.c -o $@ $(srcdir)/Modules/getbuildinfo.c

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon May 12 16:18:21 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Skip test_multiprocessing_spawn, test_remote_pdb, test_sys in qemu
linux-user emulation
-------------------------------------------------------------------
Mon May 12 10:59:41 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Simplify python-3.3.0b1-fix_date_time_compiler.patch not to
change getbuildinfo.c, normalizations are already done by gcc.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 9 08:36:50 UTC 2025 - Matej Cepl <mcepl@cepl.eu> Fri May 9 08:36:50 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -639,12 +639,15 @@ EXCLUDE="$EXCLUDE test_faulthandler"
%if 0%{?qemu_user_space_build} %if 0%{?qemu_user_space_build}
# test_external_inspection: qemu does not support ptrace in test_self_trace # test_external_inspection: qemu does not support ptrace in test_self_trace
# test_faulthandler: test_register_chain is racy # test_faulthandler: test_register_chain is racy
# test_multiprocessing_spawn: qemu does not support CLONE_VFORK
# test_os: test_fork_warns_when_non_python_thread_exists fails # test_os: test_fork_warns_when_non_python_thread_exists fails
# test_posix: qemu does not support fexecve with O_CLOEXEC in test_fexecve # test_posix: qemu does not support fexecve with O_CLOEXEC in test_fexecve
# test_remote_pdb: qemu does not support process_vm_readv/writev
# test_signal: qemu crashes in test_stress_modifying_handlers # test_signal: qemu crashes in test_stress_modifying_handlers
# test_socket: many CmsgTrunc tests fail # test_socket: many CmsgTrunc tests fail
# test_subprocess: qemu does not support CLONE_VFORK # test_subprocess: qemu does not support CLONE_VFORK
EXCLUDE="$EXCLUDE test_external_inspection test_faulthandler test_os test_posix test_signal test_socket test_subprocess" # test_sys: qemu does not support process_vm_readv/writev
EXCLUDE="$EXCLUDE test_external_inspection test_faulthandler test_multiprocessing_spawn test_os test_posix test_remote_pdb test_signal test_socket test_subprocess test_sys"
%endif %endif
# This test (part of test_uuid) requires real network interfaces # This test (part of test_uuid) requires real network interfaces