diff options
| author | Stefan van der Walt <stefanv@berkeley.edu> | 2021-03-04 07:11:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 09:11:41 -0600 |
| commit | 954605ec08ad833899ffb956395f2d70f8eea2df (patch) | |
| tree | a728df2ab2d8c29e8a36e98cd4a97581e87460ea /numpy/_version.py | |
| parent | 7134dcfe5f43146ffd1ba8d9c58504ec7146ea3f (diff) | |
| download | numpy-954605ec08ad833899ffb956395f2d70f8eea2df.tar.gz | |
MAINT: Update master to main after branch rename (gh-18544)
* Upload docs to main branch of neps/devdocs
* Update `master` to `main` to be consistent with current state of renaming
* Remove badges from README
* Replace remaining instances of `master` with `main`
* Add back logo
* Fix CircleCI branch checks
* Fix GA branch name
* master->main in issue templates.
* master->main for 2 links to numpy archive.
* Change master to main in NEP 23
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'numpy/_version.py')
| -rw-r--r-- | numpy/_version.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/_version.py b/numpy/_version.py index 6605bf4af..dcc0c5573 100644 --- a/numpy/_version.py +++ b/numpy/_version.py @@ -1,4 +1,3 @@ - # This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build @@ -191,7 +190,7 @@ def git_versions_from_keywords(keywords, tag_prefix, verbose): # refs/heads/ and refs/tags/ prefixes that would let us distinguish # between branches and tags. By ignoring refnames without digits, we # filter out many common branch names like "release" and - # "stabilization", as well as "HEAD" and "master". + # "stabilization", as well as "HEAD" and "main". tags = set([r for r in refs if re.search(r'\d', r)]) if verbose: print("discarding '%s', no digits" % ",".join(refs - tags)) |
