Law

Latest version: v0.1.18

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

Scan your dependencies

Page 3 of 8

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)

0.1.1

Updates and features

- Add logger property to all tasks. (590d5694)
- Streamline interative task output. (0efd55b3)
- Add MultiCSVParameter. (31d0fa86, 004801c9)
- Add cleaner API to util.readable_popen. (d6204d6f)
- Add helper to workflows to get chunks of branches. (0f48f424)
- Add range_expand and range_join functions to util. (258d93fc)
- Add mechanism to require abstract workflow methods. (7cd17b4f)
- Unify common methods across remote workflows, update repr_params. (a2eaec12)
- Add mechanism to further control excluded parameters in tasks. (5c1767b2)
- Remove only_missing parameter from remote workflow, improve task skipping. (d76fa846)
- Update python and boost versions in docker files. (bc4243db)


Improvements and fixes

- Fix parsing of empty CSVParameter. (adbefb80)
- Fix tar gz compression flag in tar formatter, add lzma support. (d226ede4, 0f719e78, 9c09b735)
- Improve interactive output fetching. (f74f26a1)
- Fix remote job shuffling, add option to append retry jobs to the end. (1a35a99f)
- Fix opening uncached remote targets, fix 105. (732950b4)
- Fix interactive python shells in docker images. (6b6da61e)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.