Skip to content

Commit

Permalink
fix(deps): limit numpy version to <2.0 (#18)
Browse files Browse the repository at this point in the history
numpy 2 causes a breaking change in trimesh >= 4.3.2
  • Loading branch information
Olaf-Wolf3D authored May 14, 2024
1 parent e7329e8 commit 9d39c20
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Release
on:
push:
tags:
- 'v*.*.*'
branches:
- main
- '[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
build-and-release:
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Added

- Nothing

## v0.1.0 (2024-05-14)

### New features

- **image**: attribute_to_image (#15)([`4a6fe8e`](https://github.com/readyplayerme/meshops/commit/4a6fe8e6a6e67de6f90b73a00da1cbd641a964e3)) (by Olaf Haag)
- **image**: position map (#14)([`f7b6e60`](https://github.com/readyplayerme/meshops/commit/f7b6e603783a124ac16cae9ea52be4f1a897cb76)) (by Olaf Haag)
- Added image extraction (#11)([`1fefb55`](https://github.com/readyplayerme/meshops/commit/1fefb55b10038ce726c04877940970b084f9e1bd)) (by Daniel-Ionut Rancea)
- Add rasterization and interpolation features (#7)([`98ee8b0`](https://github.com/readyplayerme/meshops/commit/98ee8b0a6ab02e736db93c10926f74377b6014c9)) (by Daniel-Ionut Rancea)
- Implement blend_colors function for color blending (#6)([`2c36655`](https://github.com/readyplayerme/meshops/commit/2c3665567c550e379eea5fb873228a4b2bc8541f)) (by Daniel-Ionut Rancea)
- update uv_to_texture_space function (#5)([`df10367`](https://github.com/readyplayerme/meshops/commit/df10367f3edc28cc28a5e8e5e774909e45c57fc7)) (by Daniel-Ionut Rancea)
- :construction: add loading glTF mesh from file([`47ec6be`](https://github.com/readyplayerme/meshops/commit/47ec6bee6b864f61f38e202dbbe53a439c4ec614)) (by Olaf Haag)

### Bugs fixed

- **tests**: gh workflow, import statements, pre-commit (#1)([`2815266`](https://github.com/readyplayerme/meshops/commit/2815266b52c7c0e10b3dee134b8b7892c6187973)) (by Olaf Haag)
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ classifiers = [
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
]
dependencies = ["trimesh[recommend]>=4.0.1", "pillow", "scipy"]
# trimesh up to v4.3.2 has an error with numpy 2.0 ptp during mesh load.
dependencies = ["numpy>=1.20.0,<2.0.0", "trimesh[recommend]>=4.0.1", "pillow", "scipy"]

[project.optional-dependencies]
dev = ["pre-commit"]
Expand Down

0 comments on commit 9d39c20

Please sign in to comment.