q2rad 0.1.188__tar.gz → 0.1.189__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of q2rad might be problematic. Click here for more details.
- {q2rad-0.1.188 → q2rad-0.1.189}/PKG-INFO +1 -1
- {q2rad-0.1.188 → q2rad-0.1.189}/pyproject.toml +1 -1
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2rad.py +24 -22
- q2rad-0.1.189/q2rad/version.py +1 -0
- q2rad-0.1.188/q2rad/version.py +0 -1
- {q2rad-0.1.188 → q2rad-0.1.189}/LICENSE +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/README.md +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/__init__.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/__main__.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2make.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2market.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2reports.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.188 → q2rad-0.1.189}/q2rad/q2utils.py +0 -0
|
@@ -717,15 +717,16 @@ class Q2RadApp(Q2App):
|
|
|
717
717
|
latest_version, current_version = self.get_package_versions(package)
|
|
718
718
|
if self.db_logic is not None and package not in q2_modules:
|
|
719
719
|
pkg_ver = get("packages", f"package_name='{package}'", "package_version", q2_db=self.db_logic)
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
720
|
+
if pkg_ver != "":
|
|
721
|
+
try:
|
|
722
|
+
latest_version = version.parse(pkg_ver)
|
|
723
|
+
except Exception as error:
|
|
724
|
+
q2mess(
|
|
725
|
+
f"Error parsing version for <b>{package}</b>:"
|
|
726
|
+
f"<br> {error}<br>"
|
|
727
|
+
f"<b>{package}</b> packages update interrupted"
|
|
728
|
+
)
|
|
729
|
+
continue
|
|
729
730
|
self.process_events()
|
|
730
731
|
if force or latest_version != current_version and latest_version:
|
|
731
732
|
try:
|
|
@@ -873,20 +874,21 @@ class Q2RadApp(Q2App):
|
|
|
873
874
|
if self.db_logic is not None and package not in q2_modules:
|
|
874
875
|
pkg_ver = get("packages", f"package_name='{package}'", "package_version", q2_db=self.db_logic)
|
|
875
876
|
pkg_ver = pkg_ver if pkg_ver else "99999"
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
877
|
+
if pkg_ver != "":
|
|
878
|
+
try:
|
|
879
|
+
if current_version is None:
|
|
880
|
+
pass
|
|
881
|
+
elif version.parse(current_version) < version.parse(pkg_ver):
|
|
882
|
+
pass
|
|
883
|
+
elif version.parse(latest_version) > version.parse(pkg_ver):
|
|
884
|
+
continue
|
|
885
|
+
except Exception as error:
|
|
886
|
+
q2mess(
|
|
887
|
+
f"Error зparsing version for <b>{package}</b>:"
|
|
888
|
+
f"<br> {error}<br>"
|
|
889
|
+
f"<b>{package}</b> packages update skipped"
|
|
890
|
+
)
|
|
882
891
|
continue
|
|
883
|
-
except Exception as error:
|
|
884
|
-
q2mess(
|
|
885
|
-
f"Error зparsing version for <b>{package}</b>:"
|
|
886
|
-
f"<br> {error}<br>"
|
|
887
|
-
f"<b>{package}</b> packages update skipped"
|
|
888
|
-
)
|
|
889
|
-
continue
|
|
890
892
|
if latest_version != current_version and latest_version:
|
|
891
893
|
list_2_upgrade_message.append(f"<b>{package}</b>: {current_version} > {latest_version}")
|
|
892
894
|
list_2_upgrade.append(package)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.189"
|
q2rad-0.1.188/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.188"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|