Replace isort, flake8, pycln and pyupgrade by ruff. [Ruff](https://github.com/charliermarsh/ruff) is getting popular lately, and I really like the idea of having a single tool for Python lining instead of N which currently exist. Also written in Rust which is a good use case for this.

 It's supposed to have equivalent functionality, to the ones we are using. The fact that major projects are adopting it is a good sign (see list in their readme).  There are also a few extra options in their readme that look interesting and that we could enable (without having to install yet another plugin)

We won't gain much speed-wise: previously isort, flake8 (which itself is an abstraction over pycodestyle and pyflakes), pycln and pyupgrade  on all files was around 1s, and now it's 20ms. But with mypy taking 10s, it makes mostly no difference.
Still it makes the overall linting configuration easier to maintain.


If we go forward with this, I imagine a changelog is not needed? 

From aa142aa7b08399ec6346f94a1a92b0e1b915b933 Mon Sep 17 00:00:00 2001
From: Hood Chatham <roberthoodchatham@gmail.com>
Date: Tue, 30 Aug 2022 10:58:25 -0700
Subject: [PATCH 12/13] Remove meson requirements

---
 pyproject.toml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 6dc1d4070..f09cd3138 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,10 +8,9 @@
 #     "pybind11>=2.4.3,<2.5.0",
 
 [build-system]
-build-backend = 'mesonpy'
 requires = [
-    "meson-python>=0.9.0",  # we need more fixes in meson-python, so no upper bound now
-    "Cython>=0.29.32,<3.0",
+    "setuptools<60.0.0",
+    "Cython>=0.29.21,<3.0",
     "pybind11>=2.4.3,<2.11.0",
     "pythran>=0.9.12,<0.13.0",
     # `wheel` is needed for non-isolated builds, given that `meson-python`
-- 
2.25.1


From aa142aa7b08399ec6346f94a1a92b0e1b915b933 Mon Sep 17 00:00:00 2001
From: Hood Chatham <roberthoodchatham@gmail.com>
Date: Tue, 30 Aug 2022 10:58:25 -0700
Subject: [PATCH 12/13] Remove meson requirements

---
 pyproject.toml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 6dc1d4070..f09cd3138 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,10 +8,9 @@
 #     "pybind11>=2.4.3,<2.5.0",
 
 [build-system]
-build-backend = 'mesonpy'
 requires = [
-    "meson-python>=0.9.0",  # we need more fixes in meson-python, so no upper bound now
-    "Cython>=0.29.32,<3.0",
+    "setuptools<60.0.0",
+    "Cython>=0.29.21,<3.0",
     "pybind11>=2.4.3,<2.11.0",
     "pythran>=0.9.12,<0.13.0",
     # `wheel` is needed for non-isolated builds, given that `meson-python`
-- 
2.25.1

