Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump statrs from 0.17.1 to 0.18.0 #3426

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps statrs from 0.17.1 to 0.18.0.

Changelog

Sourced from statrs's changelog.

[0.18.0] - 2024-12-02

✨ Added

  • Added more inverse cumulative distribution functions.
  • Introduced feature flags: rand and nalgebra.
  • Added the std_dev method to the Distribution trait explicitly.
  • Supported sampling integers from discrete distributions.
  • Added support for the Gumbel distribution.

⚠️ Breaking Changes

  • Migrated multivariate distributions to generic dimensions.
  • Replaced StatsError with module-level error types in distribution and its children.
  • Changed checked_logit, checked_multinomial, and similar methods to return Option to handle invalid inputs.
  • Changed Chi distribution to use u64 for degrees of freedom.

🛠️ Changed

  • Upgraded nalgebra to version 0.33.
    • Upgrades MSRV to 1.65+
  • Improved documentation and added examples (e.g., for Hypergeometric distribution).
  • Added MSRV (Minimum Supported Rust Version) metadata to Cargo.toml and documentation.
  • Introduced coverage reporting with llvm-cov.
  • Updated CI to check all feature combinations and ensure MSRV compliance.
  • Added an MSRV badge to crates.io.

✅ Fixed

  • Corrected formatting issues in documentation.
  • Fixed several rustdoc warnings.
  • Expanded test coverage for Dirichlet and Multinomial distributions.
  • Improved ergonomics at cli for tests and ensured compatibility with updated NIST data.

❌ Removed

  • Replaced StatsError with module-level error types.
  • Deprecated the error module and preformatted NIST data.
  • Removed rustfmt.toml as part of CI clean-up.

🎉 New Contributors

Commits
  • 2f40250 ci: update lockfile to use statrs@0.18.0
  • 5bfd9c2 chore: update changelog and version in manifest for release
  • 650fe7d refactor: impl MeanN over generic dimension
  • ab55c61 Fixed typo in MultivariateNormal PDF equation
  • 748aa55 refactor!: Empirical::new -> Result<_, Infallible>
  • b73f189 refactor: Empirical::add: Use and_modify
  • 6ad4291 refactor: Empirical::remove: Try to modify inplace
  • af648be refactor: Rewrite Empirical::cdf and ::sf
  • 7456947 refactor: Separate Empirical::mean_and_var
  • f685851 refactor: Use u64 to store Empirical::sum
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust labels Dec 9, 2024
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.42%. Comparing base (8079997) to head (39418fe).
Report is 1 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #3426      +/-   ##
==========================================
+ Coverage   86.36%   86.42%   +0.05%     
==========================================
  Files         137      137              
  Lines       16103    16103              
  Branches     2219     2219              
==========================================
+ Hits        13908    13917       +9     
+ Misses       1888     1879       -9     
  Partials      307      307              
Flag Coverage Δ
hypothesis-py 25.43% <ø> (ø)
python 92.40% <ø> (+0.07%) ⬆️
rust 62.11% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ctb ctb enabled auto-merge (squash) December 10, 2024 12:23
@dependabot dependabot bot force-pushed the dependabot/cargo/statrs-0.18.0 branch 2 times, most recently from 4d3e98d to 2ce09f2 Compare December 10, 2024 13:49
Bumps [statrs](https://github.com/statrs-dev/statrs) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/statrs-dev/statrs/releases)
- [Changelog](https://github.com/statrs-dev/statrs/blob/master/CHANGELOG.md)
- [Commits](statrs-dev/statrs@v0.17.1...v0.18.0)

---
updated-dependencies:
- dependency-name: statrs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/statrs-0.18.0 branch from 2ce09f2 to 39418fe Compare December 10, 2024 14:48
@ctb ctb merged commit 7362b43 into latest Dec 10, 2024
44 checks passed
@ctb ctb deleted the dependabot/cargo/statrs-0.18.0 branch December 10, 2024 15:23
ctb added a commit that referenced this pull request Dec 20, 2024
## [0.18.0] - 2024-12-20

MSRV: 1.66

Changes/additions:

* add skipmer capacity to sourmash python layer via ffi (#3446)
* add skipmers; switch to reading frame approach for translation,
skipmers (#3395)
* Refactor: Use to_writer/from_reader across the codebase (#3443)
* adjust `Signature::name()` to return `Option<String>` instead of
`filename()` and `md5sum()` (#3434)
* propagate zipfile errors (#3431)

Updates:

* Bump proptest from 1.5.0 to 1.6.0 (#3437)
* Bump roaring from 0.10.8 to 0.10.9 (#3438)
* Bump serde from 1.0.215 to 1.0.216 (#3436)
* Bump statrs from 0.17.1 to 0.18.0 (#3426)
* Bump roaring from 0.10.7 to 0.10.8 (#3423)
* Bump needletail from 0.6.0 to 0.6.1 (#3427)
* Bump web-sys from 0.3.72 to 0.3.74 (#3411)
* Bump js-sys from 0.3.72 to 0.3.74 (#3412)
* Bump roaring from 0.10.6 to 0.10.7 (#3413)
* Bump serde_json from 1.0.132 to 1.0.133 (#3402)
* Bump serde from 1.0.214 to 1.0.215 (#3403)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant