Skip to content

Commit

Permalink
Update vendored Versioneer from 0.14 to 0.28
Browse files Browse the repository at this point in the history
This is primarily done to remove its distutils dependency.

Per the upgrade notes (see
https://github.com/python-versioneer/python-versioneer/blob/master/UPGRADING.md),
the configuration of Versioneer is moved into `setup.cfg` from `setup.py`.

The other notes on upgrading between Versions 0.14 and 0.28 don't apply
to our particular configuration as we're not presently using
pyproject.toml.

`versioneer.py` is also added to the Flake8 ignore list, as its format
no longer conforms to our rules.
  • Loading branch information
gmarkall committed Feb 20, 2023
1 parent 566336c commit 3c2cedc
Show file tree
Hide file tree
Showing 5 changed files with 2,376 additions and 787 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ exclude =
__init__.py
# Ignore vendored files
numba/cloudpickle/*
versioneer.py
# Grandfather in existing failing files. This list should shrink over time
numba/stencils/stencil.py
numba/core/transforms.py
Expand Down
Loading

0 comments on commit 3c2cedc

Please sign in to comment.