Skip to content

Commit b299bfb

Browse files
committed
o
1 parent c95a1f9 commit b299bfb

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

scripts/prepare_environment.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,6 @@ def setup_github_repo(
141141
print(f"Error setting up repository: {str(e)}")
142142

143143

144-
def get_latest_version(name: str) -> str:
145-
"""Fetch the latest version from PyPI.
146-
147-
Returns:
148-
str: Latest version number or empty string if not found
149-
"""
150-
try:
151-
return get(f"https://pypi.org/pypi/{name}/json").json()["info"]["version"]
152-
except Exception:
153-
return ""
154-
155144
def run_all() -> None:
156145
"""Execute all environment setup tasks.
157146
@@ -1757,7 +1746,7 @@ def create_zip() -> None:
17571746
"Debuggers",
17581747
],
17591748
},
1760-
"version": get_latest_version(project_name) or "0.1.1", # Project version
1749+
"version": "0.1.1", # Initial project version
17611750
"description": "", # Project description
17621751
# User and maintainer information
17631752
"user_config": {

0 commit comments

Comments
 (0)