Skip to content

Prepare gpuma for packaging and publishing - #13

Merged
niklashoelter merged 1 commit into
masterfrom
prepare-packaging-publishing-10218344926544556189
Feb 2, 2026
Merged

niklashoelter merged 1 commit into
masterfrom
prepare-packaging-publishing-10218344926544556189

Conversation

@niklashoelter

Copy link
Copy Markdown
Owner

Prepared the codebase for packaging and publishing by:

  1. Ensuring all tests pass even without heavy dependencies installed, by improving conftest.py mocks (for torch_sim, fairchem, ase, rdkit, morfeus) and fixing test_models_module.py and test_mol_utils.py failures.
  2. Fixing a bug in src/gpuma/optimizer.py where the cached calculator loading function _load_calculator_impl was called but not defined.
  3. Updating pyproject.toml to use license = "MIT" (SPDX string) instead of the deprecated table format or redundant classifiers, ensuring compatibility with modern setuptools build backend.
  4. Enhancing the GitHub Actions CI workflow to include pip install build twine, python -m build, and twine check steps to verify the package is buildable and metadata is correct.
  5. Verified complete docstrings coverage.

PR created automatically by Jules for task 10218344926544556189 started by @niklashoelter

- Improve mocks in `tests/conftest.py` to allow running tests without heavy dependencies (torch-sim, fairchem, etc.).
- Fix `tests/test_models_module.py` to correctly handle monkeypatching of mocked modules.
- Fix bug in `src/gpuma/optimizer.py` where `_load_calculator_impl` was missing.
- Update `pyproject.toml` to use SPDX license expression string `license = "MIT"` and remove redundant License classifier, fixing build deprecation warnings and errors.
- Enhance CI workflow in `.github/workflows/python-app.yml` to include build verification and twine check.

Co-authored-by: niklashoelter <83964137+niklashoelter@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@niklashoelter
niklashoelter merged commit 46bc364 into master Feb 2, 2026
1 check passed
@niklashoelter
niklashoelter deleted the prepare-packaging-publishing-10218344926544556189 branch February 2, 2026 14:09
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.

1 participant