File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed
Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,17 @@ name = "feast"
33description = " Python SDK for Feast"
44readme = " README.md"
55requires-python = " >=3.10.0"
6- license = {file = " LICENSE" }
6+ license = " Apache-2.0"
7+ # Hardcoded version for v0.54-branch quick fix
8+ version = " 0.54.1"
79classifiers = [
8- " License :: OSI Approved :: Apache Software License" ,
910 " Programming Language :: Python" ,
1011 " Programming Language :: Python :: 3" ,
1112 " Programming Language :: Python :: 3.10"
1213]
13- dynamic = [
14- " version" ,
15- ]
14+ # dynamic = [
15+ # "version",
16+ # ]
1617dependencies = [
1718 " click>=7.0.0,<9.0.0" ,
1819 " colorama>=0.3.9,<1" ,
Original file line number Diff line number Diff line change 302302with open (README_FILE , "r" , encoding = "utf8" ) as f :
303303 LONG_DESCRIPTION = f .read ()
304304
305- # Add Support for parsing tags that have a prefix containing '/' (ie 'sdk/go') to setuptools_scm.
306- # Regex modified from default tag regex in:
307- # https://github.com/pypa/setuptools_scm/blob/2a1b46d38fb2b8aeac09853e660bcd0d7c1bc7be/src/setuptools_scm/config.py#L9
308- TAG_REGEX = re .compile (
309- r"^(?:[\/\w-]+)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
310- )
305+ # Hardcoded version for v0.54-branch quick fix
306+ FIXED_VERSION = "0.54.1"
311307
312- # Only set use_scm_version if git executable exists (setting this variable causes pip to use git under the hood)
313- if shutil .which ("git" ):
314- use_scm_version = {"root" : "." , "relative_to" : __file__ , "tag_regex" : TAG_REGEX }
315- else :
316- use_scm_version = None
308+ # Only set use_scm_version if git executable exists and we're not using a fixed version
309+ use_scm_version = None
317310
318311PYTHON_CODE_PREFIX = "sdk/python"
319312
320313
321314setup (
322315 name = NAME ,
316+ version = FIXED_VERSION if FIXED_VERSION else None ,
323317 author = AUTHOR ,
324318 description = DESCRIPTION ,
325319 long_description = LONG_DESCRIPTION ,
You can’t perform that action at this time.
0 commit comments