Merge branch 'fix/debugging' into 'main'

fix: removed debug leftover

See merge request CodeByMrFinchum/PyPiUpdater!10
This commit is contained in:
Mr Finchum 2025-02-10 12:22:08 +00:00
commit b210223803
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,13 @@
# Changelog # 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. - 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. - 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"): for item in root.findall(".//item/title"):
version_text = item.text.strip() version_text = item.text.strip()
parsed_version = parse(version_text) parsed_version = parse(version_text)
print(version_text,"\n",parsed_version)
# Check if the version is stable (not a pre-release) # Check if the version is stable (not a pre-release)
if isinstance(parsed_version, Version) and not parsed_version.is_prerelease: if isinstance(parsed_version, Version) and not parsed_version.is_prerelease:
versions.append(parsed_version) versions.append(parsed_version)