From 9d39c2010c77deb7723903134abfa178079c6a27 Mon Sep 17 00:00:00 2001 From: Olaf Haag <83961384+Olaf-Wolf3D@users.noreply.github.com> Date: Tue, 14 May 2024 15:38:19 +0300 Subject: [PATCH] fix(deps): limit numpy version to <2.0 (#18) numpy 2 causes a breaking change in trimesh >= 4.3.2 --- .github/workflows/release.yaml | 5 ++--- CHANGELOG.md | 16 ++++++++++++++++ pyproject.toml | 3 ++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2728f2c..e11ebbd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: diff --git a/CHANGELOG.md b/CHANGELOG.md index db498b3..18a85c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 097e970..f41a405 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]