Fix version in metadata
This commit is contained in:
parent
c8af79dc2b
commit
ce5e5ff0bf
21
_version.py
Normal file
21
_version.py
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
# This file was generated by 'versioneer.py' (0.16) from
|
||||
# revision-control system data, or from the parent directory name of an
|
||||
# unpacked source archive. Distribution tarballs contain a pre-generated copy
|
||||
# of this file.
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
||||
version_json = '''
|
||||
{
|
||||
"dirty": false,
|
||||
"error": null,
|
||||
"full-revisionid": "a3299586b05d422800ff8a618a2ba35e00e62665",
|
||||
"version": "2022.01.0"
|
||||
}
|
||||
''' # END VERSION_JSON
|
||||
|
||||
|
||||
def get_versions():
|
||||
return json.loads(version_json)
|
@ -14,6 +14,8 @@ Summary: Parallel PyData with Task Scheduling
|
||||
License: BSD
|
||||
URL: https://github.com/dask/dask/
|
||||
Source0: https://github.com/dask/dask/archive/%{tag}/%{srcname}-%{tag}.tar.gz
|
||||
# Grab this from the sdist until we switch back to it.
|
||||
Source1: _version.py
|
||||
# https://github.com/dask/dask/issues/6725
|
||||
Patch0001: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
|
||||
|
||||
@ -75,6 +77,7 @@ Documentation for dask.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{tag} -p1
|
||||
cp %SOURCE1 %{srcname}/
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
|
Loading…
Reference in New Issue
Block a user