「view this page in B3 βῆτα server」

Revisions №62224

branch: rosetta:main 「№62224」
Commited by: Harrison Truscott
GitHub commit link: 「a8f70994f07ea7c4」
Difference from previous tested commit:  code diff
Commit date: 2026-03-26 18:06:29
linux.clang linux.gcc linux.srlz mac.clang
debug
release
unit
m1.clang.python311.PyRosetta.unit m1.clang.python312.PyRosetta.unit m1.clang.python313.PyRosetta.unit m1.clang.python314.PyRosetta.unit mac.clang.python38.PyRosetta.unit ubuntu-20.04.gcc.cxx11thread.serialization.PyRosetta.unit ubuntu-22.04.clang.python311.PyRosetta.unit ubuntu-22.04.gcc.cxx11thread.serialization.PyRosetta.unit ubuntu-22.04.gcc.python314.PyRosetta.unit ubuntu-24.04.gcc.cxx11thread.serialization.PyRosetta.unit ubuntu.clang.cxx11thread.serialization.python38.PyRosetta.unit ubuntu.clang.python311.PyRosetta.unit ubuntu.clang.python39.PyRosetta.unit ubuntu.gcc.python310.PyRosetta.unit ubuntu.gcc.python311.PyRosetta.unit ubuntu.gcc.python312.PyRosetta.unit ubuntu.gcc.python313.PyRosetta.unit ubuntu.gcc.python314.PyRosetta.unit alpine.gcc.build.debug gcc-10.gcc.build.debug linux.clang.bcl.build.debug linux.clang.hdf5.build.debug mysql postgres linux.zeromq.debug linux.gcc.bcl.build.debug mpi mpi.serialization linux.gcc.python39.build.debug m1.clang.build.debug m1.clang.python311.build.debug m1.clang.python313.build.debug m1.clang.python314.build.debug m1.clang.python39.build.debug ubuntu-20.04.clang.build.debug ubuntu-20.04.clang.cxx11thread.serialization.build.debug ubuntu-20.04.gcc.cxx11thread.serialization.build.debug ubuntu-22.04.clang.build.debug ubuntu-22.04.gcc.build.debug ubuntu-22.04.gcc.cxx11thread.serialization.build.debug ubuntu-24.04.clang.cxx11thread.serialization.build.debug ubuntu-24.04.gcc.build.debug ubuntu.clang.bcl.build.debug ubuntu.clang.build.debug ubuntu.clang.python39.build.debug ubuntu.gcc.bcl.build.debug ubuntu.gcc.build.debug ubuntu.gcc.cxx11thread.serialization.build.debug build.header build.levels build.ninja_debug gcc-10.gcc.cxx11thread.serialization.build.release gcc-11.gcc.cxx11thread.serialization.build.release gcc-9.gcc.cxx11thread.serialization.build.release linux.clang.python311.build.release linux.clang.python312.build.release static m1.clang.python310.build.release m1.clang.python311.build.release m1.clang.python313.build.release m1.clang.python314.build.release m1.clang.python39.build.release ubuntu-20.04.clang.build.release ubuntu-20.04.clang.cxx11thread.serialization.build.release ubuntu-20.04.gcc.build.release ubuntu-20.04.gcc.cxx11thread.serialization.build.release ubuntu-22.04.clang.build.release ubuntu-22.04.gcc.build.release ubuntu-24.04.clang.build.release ubuntu-24.04.gcc.cxx11thread.serialization.build.release ubuntu.clang.build.release ubuntu.clang.cxx11thread.serialization.build.release ubuntu.clang.python312.build.release ubuntu.clang.python314.build.release ubuntu.gcc.build.release ubuntu.gcc.cxx11thread.serialization.build.release ubuntu.gcc.python314.build.release ubuntu.gcc.python39.build.release beautification code_quality.cppcheck code_quality.merge_size serialization code_quality.submodule_regression integration.mpi integration.release_debug integration.tensorflow integration.thread integration.torch integration performance profile m1.clang.python312.release.PyRosetta.MinSizeRel m1.clang.python313.release.PyRosetta.MinSizeRel mac.clang.python310.release.PyRosetta.MinSizeRel mac.clang.python311.release.PyRosetta.MinSizeRel mac.clang.python312.release.PyRosetta.MinSizeRel mac.clang.python313.release.PyRosetta.MinSizeRel mac.clang.python38.release.PyRosetta.MinSizeRel mac.clang.python39.release.PyRosetta.MinSizeRel m1.clang.python312.release.PyRosetta.Release mac.clang.python310.release.PyRosetta.Release mac.clang.python311.release.PyRosetta.Release mac.clang.python312.release.PyRosetta.Release mac.clang.python313.release.PyRosetta.Release mac.clang.python38.release.PyRosetta.Release mac.clang.python39.release.PyRosetta.Release scientific.cofactor_binding_sites scientific.docking scientific.ligand_scoring_ranking.debug scientific.mhc_epitope_energy.debug scientific.mp_domain_assembly.debug scientific.relax_cartesian scientific.relax_fast_5iter scientific.relax_fast scientific.stepwise_rna_favorites.debug linux.clang.score linux.gcc.score mac.clang.score scripts.pyrosetta scripts.rosetta.parse scripts.rosetta.validate scripts.rosetta.verify linux.clang.unit.release linux.gcc.unit.release linux.clang.python312.unit linux.gcc.python310.unit linux.gcc.python39.unit m1.clang.python310.unit m1.clang.python311.unit m1.clang.python313.unit m1.clang.python314.unit m1.clang.python39.unit ubuntu.clang.python311.unit ubuntu.clang.python312.unit ubuntu.clang.python313.unit ubuntu.clang.python314.unit ubuntu.clang.python39.unit ubuntu.clang.unit ubuntu.gcc.python313.unit util.apps windows.build.debug windows.build.release

add *.pyi stub generation support for bindings in rosetta.so (#588) Adds the `--stubs` flag to build.py for building pyrosetta, which uses [pybind11-stubgen](https://github.com/sizmailov/pybind11-stubgen/) to inspect the C++ bindings generated by binder/pybind11 and generates `*.pyi` type annotation stub files in the rosetta directory. This allows static type checkers to see the members, arguments, and (most of the time*) parameter types included in pyrosetta. Adding `**/*.pyi` files to the `setup.py` package_data list means these stubs will be included automatically with any distribution, meaning it should be plug-and-play with a new release. This PR adds a dependence on an external pypa package for stub generation (it's imported in the generate_stubs method so won't affect the process if unspecified) and I'm not familiar enough with the setuptools / ez_setup build pipeline to know how that should be integrated as a requirement. Thoughts? Should it be included as a submodule like other dependencies? Currently I just throw an error in generate_stubs in `build.py` if `--stubs` is specified but the package isn't included. I think this will make the experience a lot easier for new users. I've tested it (installing from the `.whl` file in a fresh environment) in VSCode, and it should be compatible with static type analyzers and google colab as well! *pybind11-stubgen uses the docstrings automatically generated by pybind11 to infer by-reference parameter types. If a module member is bound by pybind11 which references a type which has itself not yet been bound, the docstring can't use the python type name (since where the type should sit in the python module tree hasn't been specified) so it defaults to the C++ type instead (see the [pybind11 documentation](https://pybind11.readthedocs.io/en/latest/advanced/misc.html#avoiding-cpp-types-in-docstrings)). Pybind11-stubgen will still include these C++ docstrings in the `*.pyi` files, which removes ambiguity for users most of the time [the user sometimes needs to connect the dots that `std::shared_ptr<class core::pose::PDBInfo>` corresponds to `pyrosetta.rosetta.core.pose.PDBInfo`] even if it can't properly annotate parameter types accordingly. This could *theoretically* be fixed by updating binder to run in two passes, binding all classes first and then all functions, but that would require a massive refactor for only marginal gain. --------- Co-authored-by: Sergey Lyskov <3302736+lyskov@users.noreply.github.com>

...
Test: linux.gcc.mpi.serialization.integration.mpi

Failed sub-tests (click for more details):
replica_docking
Test: ubuntu-20.04.clang.python312.scripts.pyrosetta

 View log

Loading...

 View log in dialog  View log in log in separate window