Law

Latest version: v0.1.19

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

Scan your dependencies

Page 3 of 8

0.1.7

Features and Improvements

- Add VenvSandbox. (5321b50)
- Slurm workflows 🎉 (5b05715)
- Refactor job file handling in existing remote workflows (39cc5a7, 6dab50c, a400ff6, 9251c3a, 38bae13, 81ddfa6)
- Add awkward contrib package. (9f44202)
- Add dump() to uproot formatter. (8da8e6d)
- Add util.InsertableDict. (f88eeb6)
- Add iter_progress to base task. (e17fa05)
- Refactor human time parsing. (8625955)
- Add BytesParameter. (402201f)
- Optionally add file size to `FileSystemTarget` (114, 5e6153d, 7399a3b)
- Update docker files to latest deps (22faf15, a06d888)
- Add default set of prefered cli parameters to BaseTask. (c8f4589)


Fixes

- Fix missing fetch_output support for target collections. (010f379)
- Fix env encoding in bash sandbox. (87203fd)
- Fix log flushing in sandboxes. (b20629f)

0.1.6

Features and improvements

- Add python 3.10 docker image. (7a2b5baa, 4a6aea2d)
- Update docker images. (03befc2f)
- Identify finished jobs with missing task outputs in remote base workflow. (cce0ef01, 7494addb)
- Use task logger in timeit decorator. (250aab4d)

Fixes

- Fix race conditions during directory creation. (f51adad5)
- Fix remote target path setter. (be56987d)
- Fix stat call in interactive fetch_task_output. (ab5232c2)

0.1.5

Features and improvements

- Update docker images. (04d96f5e)
- Minor update to hadd task in root contrib. (ebeb08a5)
- Safe yaml loading (111, harrypuuter)
- Remove unused parameter job_ids (110, meliache)
- Make job manager and file factory classes configurable in remote workflows. (06d8902e)
- Add additional hook to modify task parameters before instantiation. (09eee5e5)
- Use new logger class across law. (be1f595c)
- Add custom logger class with *_once() methods. (ec76a89c)
- Add option to use unexpanded paths in file target repr. (e4bc244b)
- Add 'return_all' to targets uri(). (06f3283c)
- Rename get and put functions in contrib wlcg tools. (9c90b700)
- Implement mkdir_rec in gfal file interface. (c0fce22b)
- Colorize messages of warning and error logs. (9e488ce6)


Fixes

- Fix bash stderr pipes. (65f523a5)
- Catch special cases in gfal file interface for gsiftp protocol. (bed428f9)


(Minor) breaking changes

- Make FileSystemTarget.stat a method rather than a property. (e992b9cd)

0.1.4

Tasks

- Add law_run() method to all tasks. (a6e796e1)
- Remove deprecated task.colored_repr(). (369b789f)
- Move task logger to instance level and forward to scheduler. (a1762112)


Targets

- Refactor target API, separate remote FS from underlying interface. (c675e542)
- Add NestedSiblingFileCollection. (a070308b, 8e3ecd42)
- Speed up some target collection methods. (6a5b01c7)
- Catch certain SRM messages in gfal file interface. (029625ea)
- Refactor target hashes and uris of targets. (6d50c7e7, 16268a3a, 1f8b2078, 38c399a1)
- Make all repr helpers instance methods for better control. (9bf351e2)
- Allow all targets to declare themselves external. (3c0967c6)
- Avoid race condition in local directory creation. (1f28eb48, 6986368a)
- Update usage of _child_args() in file targets. (d2ddd224)
- Replace mktemp patterns in FileSystemDirectoryTarget.child(). (6ec0eda5)


Workflows

- Refactor branch_map handling of workflows. (7323b99b, d8bd244d)
- Fix initial sleep interval after remote workflow submission. (3f858254)
- Use MultiRangeParameter in --branches parameter of workflows. (12998415)


Jobs

- Fix exit codes in remote job script. (6e24fead)
- Log env variables in job script. (fa1533e3)
- Cleanup iof remote job script. (a93ab91e, f4cb9630)


Misc.

- Add RangeParameter and MultiRangeParameter. (1c81abb7)
- Escape separators in (Multi)CSVParameter and util.brace_expand. (34ce5431)
- Fix parsing of CSV and Range parameters. (bcd989a7)
- Improve encoding and decoloring of notifications. (cc32ae54, e8ab5781)
- Colorize standard luigi logs. (0f8fd2b0, e9699d06, b4195c14)
- Add scheduler destination to common completion hints. (f6be4acf)
- Remove deprecated contrib package access. (7163894c)
- Remove CascadeMerge in contrib tasks in favor of ForestMerge. (2e50db03)
- Remove law db command. (3a6f5fb8)
- Update six version requirement. (9b8371bc)
- Update docker 3.8 and 3.9 images, update software. (c80fd7b2, e37e92a5)
- Use pyenv in docker files. (cc18cc28)
- Update to new sphinx. (8b728f46)
- Minor update to module style. (172c3318)

0.1.3

- Fix type of branches parameter in workflow. (a95626d9)
- Add option to skip output removal on tasks. (41978263)
- Refactor branch map handling in workflow, allow control over caching. (7aff9036)
- Make uri abstract for file targets, allow toggling fs schemes. (3d152038, d729ba0b)
- Filter existing files in git repo bundling. (8469554c)
- Update copyright. (65fe1ec8)
- Add option to run task after output removal. (5f1f510e)
- Add sort option to CSVParameter, simplify value checks. (63bc32be)
- Add choices option to CSVParameter. (8ec625fa)

0.1.2

This release is mainly intended to fix a bug introduced in 0.1.1.

Fixes

- Partially revert 7cd17b4 (abstract workflow properties). (b9168c00)


Improvements

- Update gfal2 setup in docker images. (bc9e5f4a)
- Fix boost version in docker images. (bf7b71bd)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.