GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Fixed 0.54.1 version to publish it to pypi · Marcus-Rosti/feast@8ae05d1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pyproject.toml
  • setup.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pyproject.toml‎

Copy file name to clipboardExpand all lines: pyproject.toml
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ name = "feast"
33
description = "Python SDK for Feast"
44
readme = "README.md"
55
requires-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"
79
classifiers = [
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+
# ]
1617
dependencies = [
1718
"click>=7.0.0,<9.0.0",
1819
"colorama>=0.3.9,<1",
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+5-11Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -302,24 +302,18 @@
302302
with 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

318311
PYTHON_CODE_PREFIX = "sdk/python"
319312

320313

321314
setup(
322315
name=NAME,
316+
version=FIXED_VERSION if FIXED_VERSION else None,
323317
author=AUTHOR,
324318
description=DESCRIPTION,
325319
long_description=LONG_DESCRIPTION,

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.