Skip to content

Commit

Permalink
tests for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Apr 1, 2024
1 parent dac6730 commit 2d4a6f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: windows-latest
python-version: "3.11"
python-version: "3.12"

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions environment-dev-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ dependencies:
- mdtraj
- networkx
- nglview>=2.7
- numpy=1.24.2
- numpy=1.26.4
- openbabel>=3.0.0
- packmol=1!18.013
- parmed>=3.4.3
- pip
- pre-commit
- protobuf<4
- protobuf
- py3Dmol
- pycifrw
- pytest
Expand Down
2 changes: 1 addition & 1 deletion mbuild/tests/test_packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_box_edge(self, h2o, methane):
edge = 0.2
bounds = [2, 2, 2, 1]
sphere = mb.fill_sphere(
compound=h2o, n_compounds=100, sphere=bounds, edge=edge
compound=h2o, n_compounds=120, sphere=bounds, edge=edge
)
target_diameter = (bounds[3] - edge) * 2
assert np.allclose(
Expand Down

0 comments on commit 2d4a6f0

Please sign in to comment.