q2rad 0.1.205__tar.gz → 0.1.207__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: q2rad
3
- Version: 0.1.205
3
+ Version: 0.1.207
4
4
  Summary: RAD - database, GUI, reports
5
5
  Author: Andrei Puchko
6
6
  Author-email: andrei.puchko@gmx.de
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "q2rad"
3
- version = "0.1.205"
3
+ version = "0.1.207"
4
4
  description = "RAD - database, GUI, reports"
5
5
  authors = ["Andrei Puchko <andrei.puchko@gmx.de>"]
6
6
  readme = "README.md"
@@ -74,8 +74,7 @@ import json
74
74
  import subprocess
75
75
  import shutil
76
76
  import pkgutil
77
- import pkg_resources
78
- from importlib.metadata import version
77
+ from importlib.metadata import version as version2
79
78
  import logging
80
79
  import traceback
81
80
 
@@ -705,7 +704,7 @@ class Q2RadApp(Q2App):
705
704
  installed_packages = [x.name for x in pkgutil.iter_modules()]
706
705
  if package in installed_packages:
707
706
  try:
708
- current_version = version(package)
707
+ current_version = version2(package)
709
708
  except Exception as error:
710
709
  _logger.error(f"Error checking version of {package}: {error}")
711
710
  current_version = None
@@ -0,0 +1 @@
1
+ __version__ = "0.1.207"
@@ -1 +0,0 @@
1
- __version__ = "0.1.205"
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