From 23214d7d32b4a81bd637dfb0c0a7cf190f71fb46 Mon Sep 17 00:00:00 2001 From: CodeByMrFinchum Date: Mon, 10 Feb 2025 13:21:38 +0100 Subject: [PATCH] fix: removed debug leftover --- CHANGELOG.md | 9 ++++++++- src/PyPiUpdater/single_updater.py | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f07c7b0..c7a8815 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/src/PyPiUpdater/single_updater.py b/src/PyPiUpdater/single_updater.py index 851f69b..3e4e6d6 100644 --- a/src/PyPiUpdater/single_updater.py +++ b/src/PyPiUpdater/single_updater.py @@ -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)