public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-docs] rawhide: Rebase to Python 3.15
@ 2026-06-04 10:02 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-04 10:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python3-docs
Branch : rawhide
Commit : b04be8eb05aa64fc4e327a0203d7c9ac57685420
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-06-04T11:50:22+02:00
Stats  : +44/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python3-docs/c/b04be8eb05aa64fc4e327a0203d7c9ac57685420?branch=rawhide

Log:
Rebase to Python 3.15

---
diff --git a/cb064e746d.patch b/cb064e746d.patch
new file mode 100644
index 0000000..badf12a
--- /dev/null
+++ b/cb064e746d.patch
@@ -0,0 +1,37 @@
+From cb064e746de210fea8639b986c8d2a573b71c48f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Thu, 4 Jun 2026 11:42:06 +0200
+Subject: [PATCH] Fix 2 broken links in documentation (#150892)
+
+Co-authored-by: Stan Ulbrych <stan@python.org>
+---
+ Doc/c-api/complex.rst                    | 2 +-
+ Doc/extending/first-extension-module.rst | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Doc/c-api/complex.rst b/Doc/c-api/complex.rst
+index 629312bd771beb2..10f96c7cb75e882 100644
+--- a/Doc/c-api/complex.rst
++++ b/Doc/c-api/complex.rst
+@@ -130,7 +130,7 @@ rather than dereferencing them through pointers.
+ 
+ Please note, that these functions are :term:`soft deprecated` since Python
+ 3.15.  Avoid using this API in a new code to do complex arithmetic: either use
+-the `Number Protocol <number>`_ API or use native complex types, like
++the :ref:`Number Protocol <number>` API or use native complex types, like
+ :c:expr:`double complex`.
+ 
+ 
+diff --git a/Doc/extending/first-extension-module.rst b/Doc/extending/first-extension-module.rst
+index 894f5bdbb8f09c2..55a772e2aca24f5 100644
+--- a/Doc/extending/first-extension-module.rst
++++ b/Doc/extending/first-extension-module.rst
+@@ -164,7 +164,7 @@ Then, create ``meson.build`` containing the following:
+ 
+ .. note::
+ 
+-   See `meson-python documentation <meson-python>`_ for details on
++   See the `meson-python documentation <meson-python_>`_ for details on
+    configuration.
+ 
+ Now, build install the *project in the current directory* (``.``) via ``pip``:

diff --git a/python3-docs.spec b/python3-docs.spec
index 6a24c7d..cff4857 100644
--- a/python3-docs.spec
+++ b/python3-docs.spec
@@ -2,9 +2,9 @@ Name:           python3-docs
 Summary:        Documentation for the Python 3 programming language
 
 # The Version should be in-sync with the python3 package:
-%global         pybasever 3.14
-%global         general_version %{pybasever}.5
-#global         prerel ...
+%global         pybasever 3.15
+%global         general_version %{pybasever}.0
+%global         prerel b2
 %global         upstream_version %{general_version}%{?prerel}
 Version:        %{general_version}%{?prerel:~%{prerel}}
 Release:        %autorelease
@@ -14,6 +14,9 @@ License:        Python-2.0.1 AND (Python-2.0.1 OR 0BSD)
 URL:            https://www.python.org/
 Source:         %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz
 
+# Fix 2 broken links in documentation
+Patch:          https://github.com/python/cpython/commit/cb064e746d.patch
+
 BuildArch:      noarch
 
 Recommends:     python3 = %{version}

diff --git a/sources b/sources
index 3b98403..261ddc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Python-3.14.5.tar.xz) = efbaf629703cd004f6b7bc75fb16df794185589adaf8807cd45928f212271045a399df3cd9573e47c8708fb5c5002f9d4efe4e41dde4313b81a3e9d73158769f
+SHA512 (Python-3.15.0b2.tar.xz) = fae17efc3bd2604fdff2d63e0afeac47562165a5da2e1e027f4126b4f8bbb4957f3a2f406d6db23a20c8881fad108385b4b2afb53482075dbe16a690778ccd4a

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-04 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 10:02 [rpms/python3-docs] rawhide: Rebase to Python 3.15 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox