pymc-devs / pymc

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

Use something like `versioneer` #4727

Closed brandonwillard closed 2 years ago

brandonwillard commented 3 years ago

Instead of manually updating a version string in code, why don't we use something like versioneer that allows us to utilize git tags?

twiecki commented 3 years ago

+1

maresb commented 2 years ago

I wish I had seen this earlier...

If we were to switch from setuptools to Hatch, this would be just a few lines of config in the pyproject.toml instead of an awkward vendored script. Hatch also eliminates the need for lots of other boilerplate.

twiecki commented 2 years ago

We can always change it.

On Sat, Sep 17, 2022, 15:18 Ben Mares @.***> wrote:

I wish I had seen this earlier...

If we were to switch from setuptools to Hatch https://github.com/pypa/hatch, this would be just a few lines of config https://github.com/ofek/hatch-vcs in the pyproject.toml instead of an awkward vendored script. Hatch also eliminates the need for lots of other boilerplate.

— Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/4727#issuecomment-1250070333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFETGETB6CNASMWRR7XE43V6XAKRANCNFSM45USEBEQ . You are receiving this because you modified the open/close state.Message ID: @.***>