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):
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.
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
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
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
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
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
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
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