Law

Latest version: v0.1.20

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

0.1.14

Breaking changes

*None*


Features & improvements

- Add dynamic_workflow_condition. (5173f91)
- Handle potential pathlib.Path's throughout law, close 167. (dca607b)
- Add 'law quickstart' cli, close 164. (ce82c5f)
- Improve config handling in remote file interface. (6fb41c1)
- Improve config variable expansion in sandboxing. (e2fc8fc)
- Simplify log file handling and extra data for remote jobs. (e1ccb60)
- Improve sandbox key parsing. (e300819)
- Print contrib package location via 'law location'. (bae1576)


Fixes

- Explicit sandbox config section names, close 165. (52fe3f9)
- Fix sandbox stage-in vs. localization interplaye, fix 168. (d301b94)


`contrib` packages

- Add mechanism to have contrib packages declare configs. (4af6f5f)
- [cms] Add option to include additional files in bundling. (d44a138)
- [cms] Minor fixes in crab config building. (2ca2340)
- [cms] Extract input files in job wrapper. (6b15fac)

0.1.13

Breaking changes

- Combine {cached_,}workflow_property. (d4b12ff)
- Rename cfg.get_expanded_boolean -> cfg.get_expanded_bool. (4c3a503)

Features and improvements

Larger enhancements
- Crab job submission and workflows (c7f39b30) 🎉
- Workflow parameters (159) (cec32d9)
- Pass through requested workflow (155) (f54534a)
- Add support for group jobs. (9cd02d9, 8f2d086, f8ce46c) 🎉
- Deferred config values. (18e32ed)

Workflow and job handling
- Add mechanism to register contrib install scripts. (c718d67)
- Improve separating of workflow and branch attributes. (7d4f679)
- Improve parameter parsing. (d62f1f9)
- Add --assistant to global cli params. (3e5c233)
- Add options to read stdin in interruptable_popen. (8e281ff)
- Allow poll_callback return value to stop polling loop. (574ed58)
- Add additional hook for adding workflow control output postfixes. (aaaa6f6)
- Allow delay before job completeness checks in remote workflow. (b18d4ce)
- Add switch to check task completion after remote jobs finsihed. (e75728b)

General improvements
- Improve generic job script. (8bd879c)
- Mark job section in crab job wrapper. (a2d1d05)
- Add hook to setup job managers. (55515ba)
- Update job error summary grouping. (db1e74c)
- Improve error logs during job status checks in remote workflow. (4caf842)
- Make sandbox executable configurable. (a0c559c)
- Add make_set to utils. (c414b45)
- Add convert_types to util.mask_struct. (71f3796)
- Add classmethod checking to util. (e56e6cf)
- Support brace expansion in module list for 'law index'. (43fee29)
- Improve interactive task status formatting. (91de7b6)
- Better "optional" handling in collections (149) (bdb908d, 752b1a5)
- Streamline sandbox env caching and activity status. (cca3e22)
- Improve control over repr parameters when empty. (991208f)
- Refactor sandbox target stage-in/-out. (a87377d)
- Allow single value parsing in CSVParameter and MultiCSVParameter. (cc2aa0a)

Improvements in contrib packages
- Consistent naming of utils in arc contrib. (d56380d)
- Refactor voms proxy renewal and myproxy delegation. (f9b1d7d)
- Add myproxy delegation tools to wlcg and cms contribs. (d696c93)
- Add rlocks to guard checksum creation in contrib bundle tasks. (04fedbf)
- Catch xrootd listdir error in gfal interface. (f823440)

Fixes

- Backwards compatible lookup of log file in job data. (d067e02)
- Fix username in myproxy_info util in wlcg contrib. (2ae185f)
- Fix is_classmethod util, close 162. (02a71d4)
- Fix disabling of instance caching for proxy tasks. (2751204)
- Fix gfal_transfer_overwrite (160) (6199d42)
- Consistent usage of destination_info. (02d504c)
- Patch luigi run result in sandboxes. (6c02198)
- Fix inheritance issue in contrib ForestMerge task. (a892b9f)
- Fix entry point in example image, close 154. (e470fd3)
- Fix deps in docker and singularity sandboxes. (3b18aff)
- Fix readable_popen util. (e9100d4)
- Fix interactive messages. (cf1dfa3)
- Fix slurm job status queries. (22ced6c)
- Fix bookkeeping of finished jobs in remote workflow. (eee5d26, 6d88cf4)
- Fix job file merging setting in htcondor workflow, fix job id assignment. (fb58ec4)
- Fix cached workflow forwarding (147) (2f99321, f334bd3)
- Fix duration parsing. (09caa5d)
- Fix branch selection workflows. (098ec08)

Misc

- Update project list. (d277954)
- Update install instructions. (ba8c4f2)
- Restructure readme. (830a5e3, eceea23)
- Modernize docs. (4a9c2f3, 9d2d55c, a0cd688)
- Use LFS. (6450ef5)

0.1.12

New features

- Add load and dump support for directory targets. (fa18d328)
- Add localization support for directory targets. (21082952)
- Add TFSavedModelFormatter to tensorflow contrib. (78e5ef71)
- Add DaskAwkwardFormatter to awkward contrib. (a36219ac)
- Add notebook example. (e92fb58d)

Improvements

- Forward some requests from remote to local fs. (585e3de5)
- Refactor parquet file merging in pyarrow contrib. (f13d6a5e)
- Improve %ilaw ipython magic. (e4a213aa)
- Parse left-over string parameters. (b1abe377)

Breaking changes

*None*.

Fixes

- Fix legacy getargspec usage. (097245cc)
- Fix stat messages after file merigng in root contrib. (d9bc203d)
- Fix logging on colab. (b8d00e3a)
- Reset parser objects after law_run util. (8105deec)

0.1.11

Features

- Add parameter copy helper. (118f977)
- Make c8-py310 image default one. (eef8289, a84fea3)

Fixes & improvements

- Fix interactive output of tasks' fetch_output. (02dc374)
- Improve branch boundary updates in workflows. (5ba9d74)
- Disable instance caching for proxy tasks. (❗️a2a8e49) (**Note:** this fix solves issues with sandboxes complaining about `LAW_SANDBOX_WORKER_ID` not being set)

0.1.10

Features

- Add OptionalBoolParameter for transparently handling None's. (9c2e0d6)
- Update examples. (b9adec9, d7d8e9a)
- Allow and invoke auto load hooks in contrib packages. (2f6246e)
- Pass-through multi-core setting to remote jobs. (🎉, 70a223f)
- Allow non-parameter values in task repr. (f98d92d)

Fixes & improvements

- Fix remote target cache invalidation. (❗️, 239454d)
- Enforce abspaths in contrib packages. (dbcc1b5)
- Fix prog in %ilaw ipython magic, use auto_load. (fa84765)
- Fix interactive task output. (c845aeb)

0.1.9

Features

- Add smart line breaks to interactive task outputs by default. (cdd2f67a)
- Refine interactive task messages. (56fb7fdd)
- Add sync mechanism between env and law config. (faa032ce)
- Add davix error parsers to gfal remote interface. (dc8a78e6)
- Recursively flatten target collections in fetch_output handler. (4230365a)
- Add centos8 images based on conda. (a8d9a053, 06212e64, 389bbb72)
- Use lzma-devel in docker images. (1e2b4b08)
- Add sequential_htcondor_at_cern example. (ddab2d5d)
- Refactor base path handling in local file system. (e3fb0252)
- Add wrap method to DotDict. (e8a37f81)
- Allow configuring base paths for local file systems. (438212ae)
- Add target formatter loading python scripts. (baa112d0)
- Add names to file systems. (b38dab27)
- Add gzip target formatter. (b6db2926)


Fixes & improvements

- Fix typo in 'localize' decorator. (42723ded)
- Better interface with dynamic dependencies in forest merge contrib task. (c45f5e93)
- Fix config file inheritence and extensions. (7756cb61)
- Minor cleanup of remote workflow examples. (ab27ab44)
- Fix DotDict for legacy python 2 support. (22898ab3)
- Refine zsh compatibility. (a87212ec, ff3aa35b)
- Propagate fs between local targets in parent and child methods. (fbba65c7)
- Improve auto completion on zsh. (e2f04b2e)
- Fix querying slurm jobs after they're gone (470073ef)

Page 2 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.