Skip to content

Update pyOpenMS build dependency installation instructions - #8661

Merged
timosachsenberg merged 3 commits into
developfrom
copilot/update-build-dependency-instructions
Jan 15, 2026
Merged

timosachsenberg merged 3 commits into
developfrom
copilot/update-build-dependency-instructions

Conversation

Copilot AI commented Jan 15, 2026 •

Copy link
Copy Markdown
Contributor

The file src/pyOpenMS/requirements_bld.txt was removed. Documentation still referenced it for installing build dependencies.

Changes

  • src/pyOpenMS/README.md: Replaced pip install -r requirements_bld.txt with modern alternatives:

    # Option 1: Using uv (recommended)
    pip install uv
    uv sync --only-group build
    
    # Option 2: Using pip with development dependencies
    pip install -e .[dev]
  • AGENTS.md: Updated pyOpenMS build dependencies reference to point to pyproject.toml dependency groups; resolved pre-existing merge conflict

Build dependencies are now managed via PEP 735 dependency groups in pyproject.toml.

Original prompt

This section details on the original issue you should resolve

<issue_title>Fix pyopenms readme</issue_title>
<issue_description>⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if requirements_bld.txt exists
if [ -f "src/pyOpenMS/requirements_bld.txt" ]; then
  echo "requirements_bld.txt exists"
  cat src/pyOpenMS/requirements_bld.txt
else
  echo "requirements_bld.txt NOT FOUND - documentation may be stale"
  # Check pyproject.toml for build dependencies
  echo "=== Build dependencies in pyproject.toml ==="
  if [ -f "src/pyOpenMS/pyproject.toml" ]; then
    cat src/pyOpenMS/pyproject.toml
  else
    echo "pyproject.toml not found"
  fi
fi

Repository: OpenMS/OpenMS

Length of output: 8742


Update build dependency installation instructions — requirements_bld.txt no longer exists.

The file src/pyOpenMS/requirements_bld.txt has been removed. Replace the instruction at lines 95-100 with one of the following approaches from pyproject.toml:

  • uv sync --only-group build (install build dependencies only)
  • uv build --wheel (automatic dependency installation)
  • pip install -e .[dev] (development mode with all dependencies)
🤖 Prompt for AI Agents
In `@src/pyOpenMS/README.md` around lines 95 - 100, The README currently instructs
to install build deps via "pip install -r requirements_bld.txt", but
requirements_bld.txt was removed; update that section (the step under "Install
build dependencies") to offer one of the supported alternatives from
pyproject.toml: replace the pip -r line with either "uv sync --only-group build"
to install build deps only, "uv build --wheel" to let the tool install deps and
build a wheel, or "pip install -e .[dev]" for editable/dev install with all
deps; ensure the README lists these three options and brief guidance to pick
one.

Originally posted by @coderabbitai[bot] in #8530 (comment)
</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@coderabbitai

coderabbitai Bot commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI and others added 2 commits January 15, 2026 06:58
Replace outdated requirements_bld.txt reference with modern approaches:
- uv sync --only-group build (recommended)
- pip install -e .[dev] (alternative)

Co-authored-by: timosachsenberg <[email protected]>
… merge conflict

- Replace outdated requirements_bld.txt reference with modern install methods
- Resolve merge conflict by removing conflict markers
- Keep Platform-Specific Build Gotchas section from upstream/develop

Co-authored-by: timosachsenberg <[email protected]>
Copilot AI changed the title [WIP] Fix pyopenms readme for build dependency instructions Update pyOpenMS build dependency installation instructions Jan 15, 2026
Copilot AI requested a review from timosachsenberg January 15, 2026 07:03
@timosachsenberg
timosachsenberg marked this pull request as ready for review January 15, 2026 08:04
@timosachsenberg
timosachsenberg merged commit 7d594c5 into develop Jan 15, 2026
@timosachsenberg
timosachsenberg deleted the copilot/update-build-dependency-instructions branch January 15, 2026 08:05
claude Bot pushed a commit that referenced this pull request Jan 18, 2026
Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>
timosachsenberg added a commit that referenced this pull request Jan 18, 2026
* Add comprehensive changelog for OpenMS 3.6.0

Includes changes from 96 merged PRs since version 3.5.0:

- General: macOS Intel discontinued, Ubuntu 24.04, notarization in CI
- Dependencies: Autowrap >= 0.26.0, Eigen minimum 3.4.0
- PyOpenMS: Pythonic methods (__len__, __str__, __repr__, __hash__),
  DataFrame support, new wrappers, string handling improvements
- TOPP tools: MapAligner spectra transformation, FileInfo improvements,
  IsobaricWorkflow fixes, SageAdapter thread handling
- OpenMS Library: PeakFileOptions, ParamIterator, SpectrumAnnotator
- Breaking changes: Matrix<T> Eigen decoupling, API renames, FileWatcher move
- Bug fixes: NucleicAcidSearchEngine, LogConfigHandler, decoy generation
- Documentation: Targeted Quantitation, parameter annotations, AGENTS.md
- Build: macOS notarization, Parquet support, pytest fixtures

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* Add missing changelog entries for recently merged PRs

Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Timo Sachsenberg <[email protected]>
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.

Fix pyopenms readme

2 participants