pymc-devs / pymc

Bayesian Modeling and Probabilistic Programming in Python
https://docs.pymc.io/
Other
8.47k stars 1.97k forks source link

Move tools and build system to pyproject.toml #7382

Open Armavica opened 1 week ago

Armavica commented 1 week ago

Description

Related Issue

Checklist

Type of change


📚 Documentation preview 📚: https://pymc--7382.org.readthedocs.build/en/7382/

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 92.36%. Comparing base (c2c46a7) to head (04f9342).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pymc-devs/pymc/pull/7382/graphs/tree.svg?width=650&height=150&src=pr&token=JFuXtOJ4Cb&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs)](https://app.codecov.io/gh/pymc-devs/pymc/pull/7382?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs) ```diff @@ Coverage Diff @@ ## main #7382 +/- ## ======================================= Coverage 92.36% 92.36% ======================================= Files 102 102 Lines 17190 17190 ======================================= Hits 15877 15877 Misses 1313 1313 ```
maresb commented 1 week ago

I took a very quick look. Very exciting, but there's a problem:

$ python -m build .
...
Successfully built pymc-0.0.0.tar.gz and pymc-0.0.0-py3-none-any.whl

It's picking up the version as 0.0.0. In contrast, on main:

Successfully built pymc-5.15.1+52.gc2c46a764.tar.gz and pymc-5.15.1+52.gc2c46a764-py3-none-any.whl