Skip to content

docs(installation): reduce the installation page to plain install instructions - #551

Open
darkclad wants to merge 2 commits into
PolusAI:mainfrom
darkclad:main-docs-install
Open

darkclad wants to merge 2 commits into
PolusAI:mainfrom
darkclad:main-docs-install

Conversation

@darkclad

Copy link
Copy Markdown

Summary

The installation page carried far more than a user needs to install Nyxus: which older release pip falls back to on each platform and Python version, the Docker base image of each release, conda-forge build numbers, and the whole source build. It also still named 0.11.0 as the current release. This PR reduces it to plain install instructions and moves the rest where it belongs.

installation.rst now has:

  • the pip and conda commands, with the supported platforms and Python versions in one short list;
  • the GPU packages, the CUDA libraries they need, and the one-package-per-environment rule;
  • one Docker pull / run example with the GPU and memory-limit notes;
  • the installation check script (sample output 0.12.1);
  • a link to the source build.

building.rst (new, under the developer guide) holds the source build: requirements, the conda and script routes to the dependencies, building the Python package and the command-line program, the CMake options table, and running the tests. The Windows script note now says its failing Boost download can be ignored, since the OME-Zarr build does not need Boost.

troubleshooting.rst gets an Installing section for problems users can still hit with the current release: no matching wheel (Python 3.14, glibc older than 2.28, musl, Windows on ARM), no conda-forge build on Apple Silicon and Linux aarch64, the Debug-built conda-forge Windows package (#528), and missing CUDA libraries.

supported_formats.rst, troubleshooting.rst, gpu.rst no longer describe the Windows wheels without OME-Zarr (#527) or the missing Windows nyxus-cuda12x wheels (#526): the 0.12.1 wheels on PyPI include both.

Checks

  • Platform and version statements checked against the 0.12.1 files on PyPI (nyxus, nyxus-cuda12x, nyxus-cuda11x), conda-forge and Docker Hub; the Windows wheel contents (Blosc, zlib, DCMTK, Arrow; cudart but no cuFFT in the CUDA wheel) read from the wheels.
  • sphinx-build -W passes with no warnings. Every inbound link (installation-check, the README links, gpu, supported_formats, troubleshooting) still resolves.
  • Documentation only: no code or test changes.

@vjaganat90 vjaganat90 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking

  • This conflicts with main in docs/source/installation.rst, supported_formats.rst and troubleshooting.rst, which #543 changed. On the rebase, main's REQUIRE_ALLEXTRAS row of the CMake options table (installation.rst:399,
    * - ``REQUIRE_ALLEXTRAS``
    - ``OFF``
    - Stops the configure with an error when ``USE_Z5``, ``USE_DCMTK`` or ``USE_ARROW`` is off.
    Without it, a part whose libraries are missing is dropped with a warning. The ``nyxus``
    wheels on PyPI are built with it; the ``nyxus-cuda11x`` and ``nyxus-cuda12x`` wheels are not.
    ) has to move into the table this PR puts in docs/source/building.rst:171 (
    .. list-table::
    ): git will not carry it across the move. The option is still in CMakeLists.txt and the wheel builds still set it.

The platform and version statements match the 0.12.1 files: cp310 to cp313 wheels on PyPI, Windows nyxus-cuda12x wheels, and conda-forge builds for linux-64, osx-64 and win-64 only.

…tructions

The installation page now holds only what a user needs: the pip, conda
and CUDA install commands, the supported platforms in one short list,
the Docker image, and the installation check. It no longer lists which
older release pip falls back to on each platform, nor the Docker base
image of each release, and its versions follow the current release.

The source build (dependencies, prerequisite scripts, CMake options,
running the tests) moves to its own page, building.rst, under the
developer guide. Installation problems that users can still hit (no
matching wheel, no conda build on Apple Silicon and Linux aarch64, the
Debug-built conda-forge Windows package, missing CUDA libraries) move to
a new Installing section of the troubleshooting page.

supported_formats, troubleshooting and gpu no longer describe the
Windows wheels without OME-Zarr or the missing Windows CUDA wheels:
the current release ships both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants