fix: removed debug leftover

This commit is contained in:
Mr Finchum 2025-02-10 13:21:38 +01:00
parent 712d80a0aa
commit 23214d7d32
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,13 @@
# Changelog
## 0.7.0: Added Function to Install Packages
## 0.7.x
### 0.7.2: Removed Debugging Leftovers
- Cleaned up code used for debugging.
### 0.7.1: Fixed Prerelease Update Detection
- Prevented prerelease versions from being listed as updates, as they must be installed manually.
### 0.7.0: Added Function to Install Packages
- Introduced the `install_package` function, allowing packages to be installed directly through the app.
- Useful for optional dependencies that need to be installed separately. This enables installation via the UI.

View file

@ -39,7 +39,6 @@ class PyPiUpdater:
for item in root.findall(".//item/title"):
version_text = item.text.strip()
parsed_version = parse(version_text)
print(version_text,"\n",parsed_version)
# Check if the version is stable (not a pre-release)
if isinstance(parsed_version, Version) and not parsed_version.is_prerelease:
versions.append(parsed_version)