stan-dev / cmdstanpy

CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.
BSD 3-Clause "New" or "Revised" License
149 stars 67 forks source link

Move to pyproject.toml setup, deduplicate dependencies #735

Closed WardBrian closed 3 months ago

WardBrian commented 4 months ago

Submission Checklist

Summary

This PR moves all of the metadata for the package out of setup.py and into pyproject.toml. More information is available on the setuptools and python packaging docs :

As part of this, the requirements.txt variants have been removed, but the ability to install those optional dependencies with pip install cmdstanpy[test] etc has been maintained.

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e7e6121) 79.82% compared to head (0db1a27) 79.82%. Report is 5 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #735 +/- ## ======================================== Coverage 79.82% 79.82% ======================================== Files 75 75 Lines 11502 11502 ======================================== + Hits 9181 9182 +1 + Misses 2321 2320 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.