Commit dfda009
Report the real package version instead of hardcoded 0.1.0
`pygit --version`, `pygit diagnose`, and `pygit bugreport` all printed a
hardcoded "0.1.0" regardless of the installed version. Derive __version__ from
the installed distribution metadata (single source of truth = pyproject), with
a "0+unknown" fallback for unbuilt source trees, and use it at all three sites.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 976213f commit dfda009
2 files changed
Lines changed: 21 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4879 | 4879 | | |
4880 | 4880 | | |
4881 | 4881 | | |
4882 | | - | |
| 4882 | + | |
| 4883 | + | |
4883 | 4884 | | |
4884 | 4885 | | |
4885 | 4886 | | |
| |||
4903 | 4904 | | |
4904 | 4905 | | |
4905 | 4906 | | |
| 4907 | + | |
4906 | 4908 | | |
4907 | | - | |
| 4909 | + | |
4908 | 4910 | | |
4909 | 4911 | | |
4910 | 4912 | | |
| |||
0 commit comments