GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update python310 to version 3.10.10 / rev 30 via SR 1071070 · bmwiedemann/openSUSE@9004499

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/p/python310
    • .files
    • .rev
    • invalid-json.patch
    • python310.changes
    • python310.spec
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/p/python310/.files‎

Copy file name to clipboard
56 Bytes
Binary file not shown.
Collapse file

‎packages/p/python310/.rev‎

Copy file name to clipboardExpand all lines: packages/p/python310/.rev
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,4 +604,14 @@
604604
when supplying a URL that starts with blank characters</comment>
605605
<requestid>1068979</requestid>
606606
</revision>
607+
<revision rev="30" vrev="2">
608+
<srcmd5>43472ed5d476385a007ba95bad74ecf0</srcmd5>
609+
<version>3.10.10</version>
610+
<time>1678902769</time>
611+
<user>dimstar_suse</user>
612+
<comment>- Add invalid-json.patch fixing invalid JSON in
613+
Doc/howto/logging-cookbook.rst (somehow similar to
614+
gh#python/cpython#102582).</comment>
615+
<requestid>1071070</requestid>
616+
</revision>
607617
</revisionlist>
Collapse file

‎packages/p/python310/invalid-json.patch‎

Copy file name to clipboard
+44Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
Doc/howto/logging-cookbook.rst | 24 ++++++++++++++----------
3+
1 file changed, 14 insertions(+), 10 deletions(-)
4+
5+
--- a/Doc/howto/logging-cookbook.rst
6+
+++ b/Doc/howto/logging-cookbook.rst
7+
@@ -340,10 +340,12 @@ adding a ``filters`` section parallel to
8+
9+
.. code-block:: json
10+
11+
- "filters": {
12+
- "warnings_and_below": {
13+
- "()" : "__main__.filter_maker",
14+
- "level": "WARNING"
15+
+ {
16+
+ "filters": {
17+
+ "warnings_and_below": {
18+
+ "()" : "__main__.filter_maker",
19+
+ "level": "WARNING"
20+
+ }
21+
}
22+
}
23+
24+
@@ -351,12 +353,14 @@ and changing the section on the ``stdout
25+
26+
.. code-block:: json
27+
28+
- "stdout": {
29+
- "class": "logging.StreamHandler",
30+
- "level": "INFO",
31+
- "formatter": "simple",
32+
- "stream": "ext://sys.stdout",
33+
- "filters": ["warnings_and_below"]
34+
+ {
35+
+ "stdout": {
36+
+ "class": "logging.StreamHandler",
37+
+ "level": "INFO",
38+
+ "formatter": "simple",
39+
+ "stream": "ext://sys.stdout",
40+
+ "filters": ["warnings_and_below"]
41+
+ }
42+
}
43+
44+
A filter is just a function, so we can define the ``filter_maker`` (a factory
Collapse file

‎packages/p/python310/python310.changes‎

Copy file name to clipboardExpand all lines: packages/p/python310/python310.changes
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
-------------------------------------------------------------------
2+
Mon Mar 13 08:39:53 UTC 2023 - Matej Cepl <[email protected]>
3+
4+
- Add invalid-json.patch fixing invalid JSON in
5+
Doc/howto/logging-cookbook.rst (somehow similar to
6+
gh#python/cpython#102582).
7+
18
-------------------------------------------------------------------
29
Wed Mar 1 20:59:04 UTC 2023 - Matej Cepl <[email protected]>
310

Collapse file

‎packages/p/python310/python310.spec‎

Copy file name to clipboardExpand all lines: packages/p/python310/python310.spec
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ Patch36: support-expat-CVE-2022-25236-patched.patch
170170
# blocklist bypass via the urllib.parse component when supplying
171171
# a URL that starts with blank characters
172172
Patch37: CVE-2023-24329-blank-URL-bypass.patch
173+
# PATCH-FIX-UPSTREAM invalid-json.patch gh#python/cpython#102582 [email protected]
174+
# We require valid JSON in documentation
175+
Patch38: invalid-json.patch
173176
BuildRequires: autoconf-archive
174177
BuildRequires: automake
175178
BuildRequires: fdupes
@@ -443,6 +446,7 @@ other applications.
443446
%patch35 -p1
444447
%patch36 -p1
445448
%patch37 -p1
449+
%patch38 -p1
446450

447451
# drop Autoconf version requirement
448452
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac

0 commit comments

Comments
0 (0)
You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.