Repository: libfuse/pyfuse3 (language: python)

Issue:
still requiring old sphinx < 6
due to the sphinxcontrib-asyncio plugin, we still need to use the old sphinx version.


Discussion / hints:
```
Exception occurred:
  File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/site-packages/sphinx/domains/python.py", line 547, in handle_signature
    raise TypeError(
TypeError: Python directive method get_signature_prefix() must return a list of nodes. Return value was 'coroutine '.
The full traceback has been saved in /tmp/sphinx-err-t267nzfq.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
reading sources... [ 50%] fuse_api
```
https://github.com/aio-libs/sphinxcontrib-asyncio/issues/15
https://sphinxcontrib-asyncio.readthedocs.io/en/latest/

Keywords provided by that extension (and usage by pyfuse3 docs):
- cofunction
- comethod
- :async-with:
- :async-for:
- :coroutine:
- autocofunction (used once, for pyfuse3.main)
- autocomethod
Considering that extension seems to be unmaintained and it is only used for one function (and there only to extract "Run FUSE main loop"), guess we could just get rid of it?

@Nikratio ^^
I believe the functionality is now available in Sphinx core (but maybe with slightly different keywords): https://github.com/sphinx-doc/sphinx/pull/1826
@Nikratio ah, thanks for the hints.

It was not implemented by that PR though (that one was closed unmerged), but with https://github.com/sphinx-doc/sphinx/pull/6295 .

Fix patch:
diff --git a/developer-notes/release_process.rst b/developer-notes/release_process.rst
index 540bcb3..a0c3978 100644
--- a/developer-notes/release_process.rst
+++ b/developer-notes/release_process.rst
@@ -1,7 +1,7 @@
 Steps for Releasing a New Version
 ---------------------------------
 
- * pip install twine "sphinx<6.0" sphinxcontrib-asyncio
+ * pip install twine sphinx
  * pip install -U Cython  # important: use latest/best Cython!
  * Bump version in `setup.py` and version/release in `rst/conf.py`
  * Add release date to `Changes.rst`
diff --git a/rst/conf.py b/rst/conf.py
index 99b0ebf..bdd7e17 100644
--- a/rst/conf.py
+++ b/rst/conf.py
@@ -28,8 +28,7 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
-              'sphinx_cython', 'sphinxcontrib.asyncio' ]
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx_cython']
 
 # Link to Python standard library
 intersphinx_mapping = {'python': ('https://docs.python.org/3/', None),
diff --git a/rst/fuse_api.rst b/rst/fuse_api.rst
index d81d8aa..f6204f3 100644
--- a/rst/fuse_api.rst
+++ b/rst/fuse_api.rst
@@ -5,7 +5,7 @@
 .. currentmodule:: pyfuse3
 
 .. autofunction:: init
-.. autocofunction:: main
+.. autofunction:: main
 .. autofunction:: terminate
 .. autofunction:: close
 .. autofunction:: invalidate_inode
diff --git a/rst/install.rst b/rst/install.rst
index e1767f7..68c2cca 100644
--- a/rst/install.rst
+++ b/rst/install.rst
@@ -46,7 +46,7 @@ Development Version
 
 If you have checked out the unstable development version, a bit more
 effort is required. You need to also have Cython_ (0.29 or newer) and
-Sphinx_ (<6.0) installed, and the necessary commands are::
+Sphinx_ installed, and the necessary commands are::
 
   python3 setup.py build_cython
   python3 setup.py build_ext --inplace


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 254ada0..09e4bd0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -30,7 +30,7 @@ jobs:
           sudo apt-get install -y pkg-config gcc ninja-build meson
 
       - name: Install Python dependencies (misc)
-        run: pip install setuptools trio pytest pytest_trio "sphinx<6.0" sphinxcontrib-asyncio
+        run: pip install setuptools trio pytest pytest_trio sphinx
 
       - name: Install Python dependencies (Cython 0.29)
         if: ${{ matrix.cython-version == '0.29' }}