Skip to content

Release 1.6.1 - #121

Merged
rimoli merged 1 commit into
masterfrom
develop
Oct 23, 2026
Merged

rimoli merged 1 commit into
masterfrom
develop

Conversation

@rimoli

@rimoli rimoli commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Brings develop to master for the 1.6.1 release. The only change since 1.6.0 is #120:

  • setup.py caps numpy below 2 and MeshPy below 2026, the versions the package works with. A plain pip install microstructpy==1.6.0 resolves numpy 2.5 and MeshPy 2026.1, and 13 tests fail with them.
  • CI runs one job without the pins of requirements.txt, as users install the package.
  • The version is 1.6.1, with its changelog entry.

As with #114, this should be merged with a merge commit, so that master keeps develop's history. After the merge, Kip tags v1.6.1 on master, which publishes it to PyPI, and yanks 1.6.0.

🤖 Generated with Claude Code

)

setup.py asked for numpy>=1.22.2 and meshpy>=2018.2.1, so pip
installed microstructpy 1.6.0 with numpy 2.5 and MeshPy 2026.1, while
the continuous integration installs requirements.txt, which pins numpy
below 2 and MeshPy 2022.1.3. With those newest versions, 13 of the 224
tests fail. With numpy 2, the text files of the meshes cannot be read
back (numpy writes integers as np.int64(4)) and tangent_sphere fails.
With MeshPy 2026, TetGen lets 3D elements exceed max_volume.

setup.py now asks for numpy<2 and meshpy<2026. Installed that way, pip
takes numpy 1.26.4 and MeshPy 2025.1.1 (2022.1.3 on Python 3.9), and
all 224 tests pass. numpy below 2 has no wheels for Python 3.13 and
later, but pip builds it from source there; on Python 3.14 that takes
under a minute, and all the tests pass.

One more CI job, Python 3.12 on Ubuntu, skips requirements.txt and
installs the package alone, as pip install microstructpy does, so that
the tests see the dependency versions that users get. It does not
upload coverage, which the pinned job of the same Python and system
already reports. Suggested by Kip Hart in the review.

The changelog has a 1.6.1 section, __version__ is 1.6.1, and the example
digest of the documentation is updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rimoli
rimoli requested a review from kip-hart October 22, 2026 07:27
@rimoli
rimoli merged commit d09952f into master Oct 23, 2026
24 checks 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