Accepting request 1184193 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX

- move pathlib to -base
- move _pyrepl to -base (used by pydoc which is in base)
- fix import-mapping

- restrict PEP668 to ALP/Tumbleweed
  * Support Expat >= 2.4.5
- allow build with Sphinx >= 3.x
  * remove importlib_resources and importlib-metadata
  - bpo-41304: Fixes python3x._pth being ignored on Windows, caused
  - bpo-29778: Ensure python3.dll is loaded from correct locations
  - bpo-39603: Prevent http header injection by rejecting control
    “__setattr__” in a multi-inheritance setup and
  - bpo-41247: Always cache the running loop holder when running
  - bpo-41252: Fix incorrect refcounting in
  - bpo-41215: Use non-NULL default values in the PEG parser
  - bpo-41218: Python 3.8.3 had a regression where compiling with
    ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would
  - bpo-41175: Guard against a NULL pointer dereference within
  - bpo-39960: The “hackcheck” that prevents sneaking around a type’s
    __setattr__() by calling the superclass method was
  - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the
  - bpo-39017: Avoid infinite loop when reading specially crafted
  - bpo-41207: In distutils.spawn, restore expectation that
  - bpo-41194: Fix a crash in the _ast module: it can no longer be
  - bpo-39384: Fixed email.contentmanager to allow set_content() to set a
  - bpo-41300: Save files with non-ascii chars.
  - bpo-37765: Add keywords to module name completion list.
  - bpo-40170: Revert PyType_HasFeature() change: it reads
    again directly the PyTypeObject.tp_flags
    member when the limited C API is not used, rather than always calling

OBS-URL: https://build.opensuse.org/request/show/1184193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=20
This commit is contained in:
Matej Cepl 2024-07-01 06:39:49 +00:00 committed by Git OBS Bridge
parent 2a85f6bbe8
commit 5a06fe7d3f
3 changed files with 58 additions and 52 deletions

View File

@ -1,7 +1,7 @@
python311-curses: curses _curses _curses_panel
python311-dbm: dbm _dbm _gdbm
python311-idle: idlelib
python311-testsuite: test _ctypes_test _testbuffer _testcapi _testinternalcapi _testimportmultiple _testmultiphase xxlimited
python311-tk: tkinter _tkinter
python311-tools: turtledemo
python311: sqlite3 readline _sqlite3 nis
python313-curses: curses _curses _curses_panel
python313-dbm: dbm _dbm _gdbm
python313-idle: idlelib
python313-testsuite: test _ctypes_test _testbuffer _testcapi _testinternalcapi _testimportmultiple _testmultiphase xxlimited
python313-tk: tkinter _tkinter
python313-tools: turtledemo
python313: sqlite3 readline _sqlite3 nis

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jun 30 19:20:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- move pathlib to -base
- move _pyrepl to -base (used by pydoc which is in base)
- fix import-mapping
-------------------------------------------------------------------
Fri Jun 28 06:12:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -630,7 +630,7 @@ rm %{buildroot}%{sitedir}/*.*
for module in \
asyncio ctypes collections concurrent email encodings \
ensurepip html http re \
ensurepip html http re pathlib _pyrepl \
importlib json logging multiprocessing pydoc_data unittest \
urllib venv wsgiref test sysconfig tomllib turtledemo \
xml xmlrpc zipfile zoneinfo __phello__
@ -701,7 +701,7 @@ install -d -m 755 %{buildroot}%{sitedir}/site-packages/__pycache__
mkdir -p %{buildroot}%{_prefix}/lib/python%{python_version}/site-packages/__pycache__
# cleanup parts that don't belong
for dir in curses dbm sqlite3 _pyrepl pathlib tkinter idlelib; do
for dir in curses dbm sqlite3 tkinter idlelib; do
find "%{buildroot}/%{sitedir}/$dir"/* -maxdepth 0 -name "test" -o -exec rm -rf {} +
done
@ -806,8 +806,6 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
%dir %{sitedir}
%dir %{sitedir}/lib-dynload
%{sitedir}/sqlite3
%{sitedir}/pathlib
%{sitedir}/_pyrepl
%{dynlib readline}
%{dynlib _sqlite3}
@ -1018,6 +1016,7 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
%{sitedir}/xmlrpc
%{sitedir}/zoneinfo
%{sitedir}/zipfile
%{sitedir}/_pyrepl
%{sitedir}/__phello__
%{sitedir}/__pycache__
# import-failed hooks