[RFC 6/6] doc: changes: update Python minimal version

2025-01-29 Thread Mauro Carvalho Chehab
The current minimal version doesn't match what we have currently at the Kernel: $ vermin -v $(git ls-files *.py) ... Minimum required versions: 3.10 Incompatible versions: 2 Those are the Python scripts requiring versions higher than current minimal (3.5):

[RFC 5/6] docs: changes: update Sphinx minimal version to 3.4.3

2025-01-29 Thread Mauro Carvalho Chehab
Doing that allows us to get rid of all backward-compatible code. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 +- Documentation/process/changes.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/conf.py b/Documentation/conf.

[RFC 0/6] Raise the bar with regards to Python and Sphinx requirements

2025-01-29 Thread Mauro Carvalho Chehab
This series comes after https://lore.kernel.org/linux-doc/87a5b96296@trenco.lwn.net/T/#t It increases the minimal requirements for Sphinx and Python. Sphinx release dates: Release 2.4.0 (released Feb 09, 2020) Release 2.4.4 (released Mar 05, 2020) (current minimal requiremen

Re: [PATCH bpf v9 0/5] bpf: fix wrong copied_seq calculation and add tests

2025-01-29 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf.git (master) by Martin KaFai Lau : On Wed, 22 Jan 2025 18:09:12 +0800 you wrote: > A previous commit described in this topic > http://lore.kernel.org/bpf/20230523025618.113937-9-john.fastab...@gmail.com > directly updated 'sk->copied_seq' in the tcp_eat_s

Re: [PATCH 5/6] tools: selftests/bpf: test_bpftool_synctypes: escape raw symbols

2025-01-29 Thread Quentin Monnet
2025-01-29 18:39 UTC+0100 ~ Mauro Carvalho Chehab > Modern Python versions complain about usage of "\" inside normal > strings, as they should use r-string notation. > > Change the annotations there to avoid such warnings: > > tools/testing/selftests/bpf/test_bpftool_synctypes.py:319: > S

Re: [PATCH v4 0/9] mm: workingset reporting

2025-01-29 Thread SeongJae Park
Hi Yuanchu, On Wed, 29 Jan 2025 18:02:26 -0800 Yuanchu Xie wrote: > On Wed, Dec 11, 2024 at 11:53 AM SeongJae Park wrote: > > > > On Fri, 6 Dec 2024 11:57:55 -0800 Yuanchu Xie wrote: > > > > > Thanks for the response Johannes. Some replies inline. > > > > > > On Tue, Nov 26, 2024 at 11:26\u202

Re: [PATCH v4 0/9] mm: workingset reporting

2025-01-29 Thread Yuanchu Xie
On Wed, Dec 11, 2024 at 11:53 AM SeongJae Park wrote: > > On Fri, 6 Dec 2024 11:57:55 -0800 Yuanchu Xie wrote: > > > Thanks for the response Johannes. Some replies inline. > > > > On Tue, Nov 26, 2024 at 11:26\u202fPM Johannes Weiner > > wrote: > > > > > > On Tue, Nov 26, 2024 at 06:57:19PM -08

[PATCH 5/6] tools: selftests/bpf: test_bpftool_synctypes: escape raw symbols

2025-01-29 Thread Mauro Carvalho Chehab
Modern Python versions complain about usage of "\" inside normal strings, as they should use r-string notation. Change the annotations there to avoid such warnings: tools/testing/selftests/bpf/test_bpftool_synctypes.py:319: SyntaxWarning: invalid escape sequence '\w' pattern = re.compile

[PATCH 0/6] Address some issues related to Python version

2025-01-29 Thread Mauro Carvalho Chehab
This series remove compatibility with Python 2.x from scripts that have some backward compatibility logic on it. The rationale is that, since commit 627395716cc3 ("docs: document python version used for compilation"), the minimal Python version was set to 3.x. Also, Python 2.x is EOL since Jan, 2