dyngle 1.1.0__tar.gz → 1.3.0__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 dyngle might be problematic. Click here for more details.

@@ -1,16 +1,15 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: dyngle
3
- Version: 1.1.0
3
+ Version: 1.3.0
4
4
  Summary: Run lightweight local workflows
5
5
  License: MIT
6
6
  Author: Steampunk Wizard
7
7
  Author-email: dyngle@steamwiz.io
8
- Requires-Python: >=3.11,<4.0
8
+ Requires-Python: >=3.13,<4.0
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.11
12
- Classifier: Programming Language :: Python :: 3.12
13
11
  Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
14
13
  Requires-Dist: requests (>=2.32.3,<3.0.0)
15
14
  Requires-Dist: wizlib (>=3.3.8,<3.4.0)
16
15
  Description-Content-Type: text/markdown
@@ -108,9 +108,9 @@ def _evaluate(expression: str, locals: dict) -> str:
108
108
  """
109
109
  try:
110
110
  result = eval(expression, GLOBALS, locals)
111
- except KeyError:
111
+ except KeyError as error:
112
112
  raise DyngleError(f"The following expression contains " +
113
- f"at least one invalid name: {expression}")
113
+ f"invalid name '{error}:\n{expression}")
114
114
 
115
115
  # Allow the use of a comma to separate sub-expressions, which can then use
116
116
  # warus to set values, and only the last exxpression in the list returns a
@@ -5,6 +5,7 @@ from numbers import Number
5
5
  from yaml import safe_dump
6
6
 
7
7
  from dyngle.error import DyngleError
8
+ from dyngle.model.safe_path import SafePath
8
9
 
9
10
 
10
11
  class LiveData(UserDict):
@@ -27,7 +28,7 @@ class LiveData(UserDict):
27
28
  def _stringify(value) -> str:
28
29
  if isinstance(value, bool):
29
30
  return '.' if value is True else ''
30
- elif isinstance(value, (Number, str, date, timedelta)):
31
+ elif isinstance(value, (Number, str, date, timedelta, SafePath)):
31
32
  return str(value)
32
33
  elif isinstance(value, (list, dict, tuple)):
33
34
  return safe_dump(value)
@@ -8,10 +8,10 @@ description = "Run lightweight local workflows"
8
8
  authors = ["Steampunk Wizard <dyngle@steamwiz.io>"]
9
9
  license = "MIT"
10
10
  readme = "PACKAGE.md"
11
- version = "1.1.0"
11
+ version = "1.3.0"
12
12
 
13
13
  [tool.poetry.dependencies]
14
- python = "^3.11"
14
+ python = "^3.13"
15
15
  wizlib = "~3.3.8"
16
16
  requests = "^2.32.3"
17
17
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes