Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: Remove versioneer #24196

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

Merged
merged 30 commits into from
Aug 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3577579
Remove versioneer
stefanv Jul 16, 2023
28d3c16
Store git version to disk
stefanv Jul 17, 2023
1592713
Fix version imports
stefanv Jul 17, 2023
f9f4230
Satisfy linter
stefanv Jul 17, 2023
bee36bb
Fix version regex; remove check for removed np.version
stefanv Aug 3, 2023
4550ead
Read version from pyproject.toml
stefanv Aug 8, 2023
0711d75
Update gitignore
stefanv Aug 8, 2023
2afee19
Satisfy linter
stefanv Aug 8, 2023
6b1dc56
Handle missing .git directory
stefanv Aug 8, 2023
2b181ef
Update setuppy pyproject.toml variant
stefanv Aug 8, 2023
f44045d
doc: grab git version using git, not versioneer
stefanv Aug 8, 2023
fbb0254
Remove versioneer from linter exclude
stefanv Aug 8, 2023
79553c8
Fix base version number, should be `.dev0` (with a dot) to be valid
rgommers Aug 9, 2023
27b4c51
Fix and restore tests in `test_numpy_version.py`
rgommers Aug 9, 2023
6a6d63a
Fix CircleCI doc build error due to git hash
rgommers Aug 9, 2023
1fedea3
Always re-generate version.py during the build
stefanv Aug 9, 2023
7d1fc7f
No need to write version in meson config
stefanv Aug 10, 2023
75132ee
git hash is optional in, e.g., sdist build
stefanv Aug 10, 2023
3a9aec1
Always use 7 characters for shortened git hash
stefanv Aug 10, 2023
e0a3f86
Generate version.py as part of sdist
stefanv Aug 10, 2023
f827e86
Make gitversion aware of meson
stefanv Aug 10, 2023
ac1b69a
Run successfully on non-dev builds also
stefanv Aug 10, 2023
e36ab98
Version is not printed on cmd line when writing to file
stefanv Aug 10, 2023
12ed9f0
Calculate git version also for non-dev versions
stefanv Aug 11, 2023
5695abf
Do not generate version.py if it already exists in source tree
stefanv Aug 11, 2023
9ee4da9
Install version.py only when pre-built (build from sdist)
stefanv Aug 11, 2023
4abc3c7
Fix git version query
stefanv Aug 11, 2023
8287648
Merge branch 'main' into rm-versioneer
rgommers Aug 11, 2023
4b81f94
BUG: fix `python setup.py sdist` and the multiarray import error msg
rgommers Aug 11, 2023
6aff0bc
MAINT: revert change to setup.py for sdist/wheel versioning
rgommers Aug 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove versioneer from linter exclude
  • Loading branch information
stefanv committed Aug 11, 2023
commit fbb02549784a86db34b79c08b51fc1645c2358b4
2 changes: 1 addition & 1 deletion tools/lint_diff.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
max_line_length = 79
statistics = True
ignore = E121,E122,E123,E125,E126,E127,E128,E226,E241,E251,E265,E266,E302,E402,E704,E712,E721,E731,E741,W291,W293,W391,W503,W504
exclude = versioneer.py,numpy/_version.py,numpy/__config__.py,numpy/typing/tests/data,.spin/cmds.py
exclude = numpy/__config__.py,numpy/typing/tests/data,.spin/cmds.py