Skip to content

Conversation

@eunos-1128
Copy link
Collaborator

@eunos-1128 eunos-1128 commented Jan 1, 2026

This pull request updates the Python dependency management for the project, with a major overhaul of the deps/pypi-dependencies.json and deps/requirements.txt files. It replaces and adds many build and runtime dependencies to support new features and improve compatibility, especially for scientific Python packages. Environment variables are also added to the Flatpak manifest to support the acedrg tool. The changes are grouped below.

Dependency Management Overhaul

  • Replaced and expanded build dependencies in deps/requirements.txt, including switching from markupsafe, meson-python, nanobind, and numpy to a broader set such as flit-core, meson, meson-python, nanobind, numpy, pybind11, pythran, scikit-build-core, versioneer, wheel, and Cython, with specific version constraints for better compatibility.
  • Added numerous runtime dependencies to deps/requirements.txt for scientific and data processing packages, including networkx, pdbecif, antlr4-python3-runtime, omegaconf, packaging, pandas, python_dateutil, pytz, pyyaml, scipy, six, and tzdata.

Flatpak Manifest and Build Script Updates

  • Updated deps/pypi-dependencies.json to match the new requirements, removing obsolete packages and adding new ones with correct sources and build commands. This includes adding or updating modules for flit-core, meson-python, nanobind, numpy, pybind11, pythran, scikit-build-core, versioneer, networkx, pdbecif, antlr4-python3-runtime, omegaconf, pandas, python_dateutil, pytz, pyyaml, scipy, six, and tzdata. [1] [2]
  • Updated the Flatpak manifest (io.github.pemsley.coot.yaml) to add environment variables required for acedrg (CLIBD_MON, LIBMOL_ROOT, CCP4, CBIN) and clarified comments about dependency management. [1] [2]
  • Removed the --checker-data flag from the deps/pypi-dependencies.sh script, and updated the completion message for clarity.

Minor Build Configuration Changes

  • Removed the -DNO_SVE=ON option from the OpenBLAS build configuration in the Flatpak manifest, likely for compatibility with newer hardware or builds.

Add `better_enums` of a single header library and prevent `FetchContent_MakeAvailable(better_enums)` in CMakeLists.txt
Updated source type from git to archive for multiple dependencies, including OpenBLAS, gemmi, libgd, boost, glm, bdwgc, swig, Catch2, eigen, and others. Added SHA256 checksums for integrity verification.
Added x-checker-data for several dependencies.
Updated comments for clarity in io.github.pemsley.coot.yaml.
Removed unnecessary cleanup entries from the YAML configuration.
Add workarounds for gcc 15 in library_utils.c
Added notes regarding Guile version compatibility with GTK4.
Updated build options for various dependencies to include -DNDEBUG and changed NUM_THREADS for openblas.
@flathubbot
Copy link
Contributor

Test build failed.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/241681/io.github.pemsley.coot.flatpakref

Built for aarch64 and x86_64 architectures.

⚠️ Linter warnings:

Warnings can be promoted to errors in the future. Please try to resolve them.

  • 'appstream-screenshot-missing-caption' warning found in linter repo check. Details: One or more screenshots are missing captions in the Metainfo file

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/241904/io.github.pemsley.coot.flatpakref

Built for aarch64 and x86_64 architectures.

⚠️ Linter warnings:

Warnings can be promoted to errors in the future. Please try to resolve them.

  • 'appstream-screenshot-missing-caption' warning found in linter repo check. Details: One or more screenshots are missing captions in the Metainfo file

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

Test build was cancelled.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

Test build was cancelled.

Help
  • bot, build - Restart the test build
  • bot, ping admins - Contact Flathub admins

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/241951/io.github.pemsley.coot.flatpakref

Built for aarch64 and x86_64 architectures.

⚠️ Linter warnings:

Warnings can be promoted to errors in the future. Please try to resolve them.

  • 'appstream-screenshot-missing-caption' warning found in linter repo check. Details: One or more screenshots are missing captions in the Metainfo file

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for the servalcat and acedrg modules by comprehensively overhauling the Python dependency management system. The changes expand both build and runtime dependencies needed for scientific Python packages, update the Flatpak manifest to support acedrg with necessary environment variables, and reorganize module build order.

Key changes include:

  • Addition of servalcat and acedrg modules with their full dependency chains
  • Expansion of Python build dependencies (flit-core, meson, pybind11, pythran, scikit-build-core, versioneer, Cython)
  • Addition of runtime dependencies for scientific computing (networkx, pandas, scipy, omegaconf, pdbecif)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.

File Description
io.github.pemsley.coot.yaml Adds acedrg environment variables, relocates eigen module before servalcat, adds servalcat and acedrg module definitions with build configurations, removes OpenBLAS -DNO_SVE=ON flag
deps/requirements.txt Restructures file with clear build/runtime sections, adds numerous new dependencies with version constraints for scientific Python stack
deps/pypi-dependencies.sh Removes --checker-data flag and updates completion message
deps/pypi-dependencies.json Expands from 5 to 19 Python modules, adds all build and runtime dependencies, removes some x-checker-data configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/242050/io.github.pemsley.coot.flatpakref

Built for aarch64 and x86_64 architectures.

⚠️ Linter warnings:

Warnings can be promoted to errors in the future. Please try to resolve them.

  • 'appstream-screenshot-missing-caption' warning found in linter repo check. Details: One or more screenshots are missing captions in the Metainfo file

@eunos-1128 eunos-1128 merged commit 06cdf91 into flathub:master Jan 5, 2026
1 check passed
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