fractal-task-tools 0.0.12__py3-none-any.whl → 0.0.14__py3-none-any.whl

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 fractal-task-tools might be problematic. Click here for more details.

@@ -2,4 +2,4 @@ import logging
2
2
 
3
3
  logging.basicConfig(level=logging.INFO)
4
4
 
5
- __VERSION__ = "0.0.12"
5
+ __VERSION__ = "0.0.14"
@@ -65,7 +65,6 @@ def _create_schema_for_function(function: Callable) -> _Schema:
65
65
  from packaging.version import parse
66
66
 
67
67
  if parse(pydantic.__version__) >= parse("2.11.0"):
68
-
69
68
  from pydantic.experimental.arguments_schema import (
70
69
  generate_arguments_schema,
71
70
  ) # noqa
@@ -75,7 +74,6 @@ def _create_schema_for_function(function: Callable) -> _Schema:
75
74
  schema_type="arguments",
76
75
  )
77
76
  elif parse(pydantic.__version__) >= parse("2.9.0"):
78
-
79
77
  from pydantic._internal._config import ConfigWrapper # noqa
80
78
  from pydantic._internal import _generate_schema # noqa
81
79
 
@@ -86,6 +86,12 @@ def create_manifest(
86
86
  # Load DOCS_LINK
87
87
  try:
88
88
  DOCS_LINK = getattr(task_list_module, "DOCS_LINK")
89
+ # Transform empty string into None
90
+ if DOCS_LINK == "":
91
+ DOCS_LINK = None
92
+ logging.warning(
93
+ "`DOCS_LINK=" "` transformed into `DOCS_LINK=None`."
94
+ )
89
95
  except AttributeError:
90
96
  DOCS_LINK = None
91
97
  logging.warning("No `DOCS_LINK` found in task_list module.")
@@ -70,7 +70,6 @@ def _validate_function_signature(function: callable):
70
70
  """
71
71
  sig = signature(function)
72
72
  for param in sig.parameters.values():
73
-
74
73
  # CASE 1: Check that name is not forbidden
75
74
  if param.name in FORBIDDEN_PARAM_NAMES:
76
75
  raise ValueError(
@@ -1,16 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fractal-task-tools
3
- Version: 0.0.12
3
+ Version: 0.0.14
4
4
  Summary: Shared tools for Fractal tasks
5
5
  Author-email: Tommaso Comparin <tommaso.comparin@exact-lab.it>
6
6
  License: BSD-3-Clause
7
7
  Project-URL: homepage, https://github.com/fractal-analytics-platform/fractal-task-tools
8
8
  Project-URL: repository, https://github.com/fractal-analytics-platform/fractal-task-tools
9
9
  Project-URL: changelog, https://github.com/fractal-analytics-platform/fractal-task-tools/blob/main/CHANGELOG.md
10
- Requires-Python: <3.13,>=3.10
10
+ Requires-Python: <3.14,>=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: pydantic<=2.11.2,>=2.0.0
13
+ Requires-Dist: pydantic<=2.11.7,>=2.0.0
14
14
  Requires-Dist: docstring-parser<=0.16,>=0.15
15
15
  Requires-Dist: packaging
16
16
  Provides-Extra: dev
@@ -18,6 +18,8 @@ Requires-Dist: bumpver==2024.1130; extra == "dev"
18
18
  Requires-Dist: devtools==0.12.2; extra == "dev"
19
19
  Requires-Dist: pytest<9.0.0,>=8.3.0; extra == "dev"
20
20
  Requires-Dist: coverage<7.7.0,>=7.6.0; extra == "dev"
21
+ Requires-Dist: jsonschema>=4; extra == "dev"
22
+ Requires-Dist: requests<2.33.0,>2.32.0; extra == "dev"
21
23
  Provides-Extra: docs
22
24
  Requires-Dist: mkdocs<1.7.0,>=1.6.0; extra == "docs"
23
25
  Requires-Dist: mkdocs-material<9.7.0,>=9.6.0; extra == "docs"
@@ -1,21 +1,21 @@
1
- fractal_task_tools/__init__.py,sha256=MFayb4c8b52atdMVNfx1wAY3NYrDTGYeZAP9rqawXeI,80
2
- fractal_task_tools/_args_schemas.py,sha256=8n4OH3judg4FsOSsl-pTa9uN2VOysSrYnkj9IOFFCCk,8681
1
+ fractal_task_tools/__init__.py,sha256=78Rsm5Qaksgx-pt3pQAs5jkJ0Aup2d9w6338p0uo568,80
2
+ fractal_task_tools/_args_schemas.py,sha256=6uPTysKY-WpNcHG1v_ELelDDWq2-ERGwP6uGMcjvhfQ,8679
3
3
  fractal_task_tools/_cli.py,sha256=ARy3PWjAr92hBk0ZHnFIEAqTskipBIaLRW6COTJ4X-k,2936
4
4
  fractal_task_tools/_cli_tools.py,sha256=6G7zXvL6o5t7n4HvVAqP6an0o7qx5fEau5KjtoDXFuc,2622
5
- fractal_task_tools/_create_manifest.py,sha256=aPolxXH5Ug1xh_g5acuEF_GdMCYWApZnrb_N8gA3sqg,5796
5
+ fractal_task_tools/_create_manifest.py,sha256=cNO20ukpHLMmhXQrbNBqquOm1JDR3eaHgY8UyIonFy8,6008
6
6
  fractal_task_tools/_deepdiff.py,sha256=Or9wO0E9Icb_ki_DTjIdgJKd4JpSJrk8UL3DqqUf-5g,2241
7
7
  fractal_task_tools/_descriptions.py,sha256=qYwmpN11UYUmW-PH85ZrHJ3gB6bVjJZ52V9I9Rad3-w,7975
8
8
  fractal_task_tools/_package_name_tools.py,sha256=9CyzFwOw4akvQc5GViBm4g-vU8pCc0ULh9hs3b_7VCY,823
9
9
  fractal_task_tools/_pydantic_generatejsonschema.py,sha256=qZuID7YUXOdAcL8OqsWjNFNumOIAgdJillc1lA2cHIY,3136
10
- fractal_task_tools/_signature_constraints.py,sha256=RzJwoL-NMD0HXEACR4_4aD8OOc59lxqEreT7oTc6xJo,3188
10
+ fractal_task_tools/_signature_constraints.py,sha256=phH-NFCTIfMpKyqcbTgdoKyKiYvxEjz-mnLQb88QyfU,3187
11
11
  fractal_task_tools/_task_arguments.py,sha256=gw9xN3E50pyyvyIqkWfd-WE5D6CRIRIk618Nw96WmDg,2753
12
12
  fractal_task_tools/_task_docs.py,sha256=aEXozSKf3a7weOwJMHyTVJTvHlCKgDr1qoU-AAO3bZI,3401
13
13
  fractal_task_tools/_titles.py,sha256=GLWn-06fgQD6qzOM75H59EV0MMCXc8jVpHqGanYzNbw,3000
14
14
  fractal_task_tools/task_models.py,sha256=4qBDUAoqIgdfAV-7CKkVO5--Y_2Y6CflNVMIiwJxn9g,4177
15
15
  fractal_task_tools/task_wrapper.py,sha256=dhphKgxDm4EUxZnsrAy20hJPD6bGdqx7tNg9N_QzlCo,1878
16
- fractal_task_tools-0.0.12.dist-info/licenses/LICENSE,sha256=1SGAsQ3Jm_nIU7c2TgtTZe_IOKjm9BDsrcf2r98xrdk,1584
17
- fractal_task_tools-0.0.12.dist-info/METADATA,sha256=_bdhso2cL0twaHODZedQNE1W0vZULv7-r5liaHvraMk,4742
18
- fractal_task_tools-0.0.12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
19
- fractal_task_tools-0.0.12.dist-info/entry_points.txt,sha256=zE4qv7QhuiqN6DaPkmJV18X1xyYoUi0HIJ-uAg2M6TU,66
20
- fractal_task_tools-0.0.12.dist-info/top_level.txt,sha256=2VBpiMDIBMJGOEPiHHX3njYEZGLhr4L0nu8vfkcNVzw,19
21
- fractal_task_tools-0.0.12.dist-info/RECORD,,
16
+ fractal_task_tools-0.0.14.dist-info/licenses/LICENSE,sha256=1SGAsQ3Jm_nIU7c2TgtTZe_IOKjm9BDsrcf2r98xrdk,1584
17
+ fractal_task_tools-0.0.14.dist-info/METADATA,sha256=PrPolEK5H6FkURLhfAZ3MS-eI4Q7SdbVVO9huHFh9wg,4842
18
+ fractal_task_tools-0.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ fractal_task_tools-0.0.14.dist-info/entry_points.txt,sha256=zE4qv7QhuiqN6DaPkmJV18X1xyYoUi0HIJ-uAg2M6TU,66
20
+ fractal_task_tools-0.0.14.dist-info/top_level.txt,sha256=2VBpiMDIBMJGOEPiHHX3njYEZGLhr4L0nu8vfkcNVzw,19
21
+ fractal_task_tools-0.0.14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5