diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71788ac5..490cd8e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,9 @@ repos: hooks: - id: pydocstyle exclude: '(?:extern/.*|tests/.*|setup.py|conf.py)' + additional_dependencies: [ + 'tomli' + ] - repo: https://github.com/PyCQA/flake8 rev: '6.0.0' hooks: diff --git a/ChangeLog.rst b/ChangeLog.rst index 534d47a7..e312f07a 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,21 +1,31 @@ The format is based on `Keep a Changelog `__. This project adheres to `Semantic Versioning `__. -v0.7.0 - 202x-xx-xx +v0.7.0 - 2023-09-18 ------------------- Fixed ~~~~~ - Numerical precision issues in tests. +- GSD spec correctly outputs for `Polyhedron` objects. +- Error in `__repr__` for polyhedra with multiple face degrees. +- ReadTheDocs build errors resulting from `conda` memory usage. Changed ~~~~~~~ - The minimum required Python version is now 3.8. - The minimum required NumPy version is now 1.19. -- Speed up point in polygon using NumPy. -- Speed up point in polyhedron using NumPy. +- [breaking] Sped up point in polygon and point in polyhedron using NumPy. +- Migrated to pyproject.toml. + +Added +~~~~~ + +- New `edges` and `edge_vectors` properties for polyhedra. +- New shape families for Archimedean, Catalan, and Johnson shapes. +- New shape families for regular pyramids and dipyramids, and a selection of regular prisms and antiprisms. v0.6.1 - 2021-07-15 ------------------- diff --git a/coxeter/__init__.py b/coxeter/__init__.py index 36d2e1c4..15647bfa 100644 --- a/coxeter/__init__.py +++ b/coxeter/__init__.py @@ -21,4 +21,4 @@ __all__ = ["families", "shapes", "from_gsd_type_shapes"] -__version__ = "0.6.1" +__version__ = "0.7.0" diff --git a/doc/source/conf.py b/doc/source/conf.py index b814a1cf..5f0ce7e3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,8 +22,8 @@ author = "Vyas Ramasubramani" # The full version, including alpha/beta/rc tags -version = "0.6.1" -release = "0.6.1" +version = "0.7.0" +release = "0.7.0" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 5ef5a8b4..e9e66357 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "coxeter" -version = "0.6.1" +version = "0.7.0" requires-python = ">=3.8" description = "Tools for creating and manipulating shapes." readme = "README.rst" diff --git a/setup.cfg b/setup.cfg index 178b4346..3c7153e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.6.1 +current_version = 0.7.0 commit = False tag = True message = Bump up to version {new_version}.