wnm 0.0.4__tar.gz → 0.0.6__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 wnm might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: Manager for Autonomi nodes
5
5
  Author-email: Troy Johnson <troy@weave.sh>
6
6
  License: GPL-3.0
@@ -15,6 +15,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
15
  Classifier: Topic :: System :: Distributed Computing
16
16
  Requires-Python: >=3.12.3
17
17
  Description-Content-Type: text/markdown
18
+ Requires-Dist: python-dotenv
18
19
  Requires-Dist: requests
19
20
  Requires-Dist: packaging
20
21
  Requires-Dist: sqlalchemy
@@ -1,3 +1,4 @@
1
+ python-dotenv
1
2
  requests
2
3
  packaging
3
4
  sqlalchemy
@@ -1,3 +1,3 @@
1
1
  """A service to manage a cluster of decentralized Autonomi nodes"""
2
2
 
3
- __version__ = "0.0.4"
3
+ __version__ = "0.0.6"
@@ -67,6 +67,13 @@ if os.path.exists("/var/antctl/system"):
67
67
  # Is anm scheduled to run
68
68
  if os.path.exists("/etc/cron.d/anm"):
69
69
  # remove cron to disable old anm
70
+ try:
71
+ subprocess.run(['sudo','rm', '/etc/cron.d/anm'])
72
+ except Exception as error:
73
+ template = "In GAV - An exception of type {0} occurred. Arguments:\n{1!r}"
74
+ message = template.format(type(error).__name__, error.args)
75
+ logging.info(message)
76
+ sys.exit(1)
70
77
  os.remove("/etc/cron.d/anm")
71
78
  # Is anm sitll running? We'll wait
72
79
  if os.path.exists("/var/antctl/block"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: Manager for Autonomi nodes
5
5
  Author-email: Troy Johnson <troy@weave.sh>
6
6
  License: GPL-3.0
@@ -15,6 +15,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
15
  Classifier: Topic :: System :: Distributed Computing
16
16
  Requires-Python: >=3.12.3
17
17
  Description-Content-Type: text/markdown
18
+ Requires-Dist: python-dotenv
18
19
  Requires-Dist: requests
19
20
  Requires-Dist: packaging
20
21
  Requires-Dist: sqlalchemy
@@ -1,3 +1,4 @@
1
+ python-dotenv
1
2
  requests
2
3
  packaging
3
4
  sqlalchemy
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