From 7efad07b73b8ea7925a4995b7e5391e18ac039f6 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 17 Mar 2021 16:01:01 -0400 Subject: [PATCH] chore: bump boost-histogram version (#151) * chore: bump boost-histogram version * ci: drop double checking pre-commits --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 2 +- docs/changelog.rst | 5 +++++ setup.cfg | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a634b82d..73e3d3b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-python@v2 - uses: pre-commit/action@v2.0.0 with: - extra_args: --hook-stage manual + extra_args: --hook-stage manual check-manifest checks: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e43f456..4e3aa2db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: hooks: - id: mypy files: ^src - additional_dependencies: ["numpy>=1.20", "matplotlib>=3.3", "boost-histogram~=1.0.0"] + additional_dependencies: ["numpy>=1.20", "matplotlib>=3.3", "boost-histogram~=1.0.1"] - repo: https://github.com/mgedmin/check-manifest rev: "0.46" diff --git a/docs/changelog.rst b/docs/changelog.rst index 1d08bece..d9e23cf4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,11 @@ Version 2.2.1 * Fix static typing with ellipses. `#145 `_ +* Require boost-histogram 1.0.1+, fixing typing related issues, allowing + subclassing Hist without a family and including a important Mean/WeighedMean + summing fix. + `#151 `_ + Version 2.2.0 -------------------- diff --git a/setup.cfg b/setup.cfg index b98311f7..8a6660d5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ keywords = [options] packages = find: install_requires = - boost-histogram~=1.0.0 + boost-histogram~=1.0.1 histoprint>=1.6 numpy>=1.13.3 typing_extensions;python_version<"3.8"