B2luigi

Latest version: v1.1.1

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

Scan your dependencies

1.0.2

Summary

The main goal of this release is the implementation of the `--new` flag for `gb2_ds_get` in the [`Gbasf2Process`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2.py?ref_type=heads#L31). With the new changes, the usage of the `--new` is no longer restricted to the `belle` accounting group. Additional changes include the beginning of the depreciation processes for very user-specific implementations in b2luigi such as [`b2luigi/basf_helper/data.py`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/data.py?ref_type=heads) and the [`Basf2PathTask`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/tasks.py?ref_type=heads#L36), and more documentation updates.

Changes

- [**`Gbasf2Process`**](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2.py?ref_type=heads#L31)

The addition of the method [`search_pattern_in_folder`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2_utils/gbasf2_download_utils.py?ref_type=heads) now provides a way to search for the project name in the accounting group folder. This addition is necessary due to Belle II-user-based repositories' different directory structures (accounting group `belle`) and group-based repositories. From a user's point of view, nothing has to be changed. Downloads from the `gabsf2` Grid will always use the `--new` flag.

- **Deprecation**

- [`b2luigi/basf_helper/data.py`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/data.py?ref_type=heads) will be entirely depricated in the future. The tasks in this file are very tailored to user-specific problems and are no longer maintained. All the default paths given for specific file structures are no longer existent.
- The [`Basf2PathTask`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/tasks.py?ref_type=heads#L36) would assert the `basf2` git hash upon running the task. Since this can lead to errors when running tasks from different environments and different `basf2` releases, the assertion is now deleted. The `git_hash` parameter is kept for the `Basf2PathTask`.

- **Documentation**
- Adjusted documentation links to point to `https://b2luigi.belle2.org//`
- Instructions on how to utilise the `git_hash` parameter
- External package linking
- Update the developer instructions
- More links to the `luigi` documentation

Compatibility

The `git_hash` parameter in `Basf2PathTask` is no longer asserted. Tasks specifically depending on this assertion might display unexpected behaviour.

Contributors

Belle II collaboration.

We appreciate the continued support and contributions from the community. Thank you! :raised_hands:

**_Full Changelog_**: [v1.0.1...v1.0.2](https://gitlab.desy.de/belle2/software/b2luigi/-/compare/v1.0.1...v1.0.2)

1.0.1

Summary

The main goal of this release is to restore the functionality of the [gbasf2_proxy_info.py](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2_utils/gbasf2_proxy_info.py?ref_type=heads) tool due to changes in the output format of the grid certificate readout with gabsf2 release 6.0.0. Additionally, parts of the documentation have been improved and caching was added for `gb2_job_status`.

Changes

- [**gbasf2_proxy_info.py**](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2_utils/gbasf2_proxy_info.py?ref_type=heads)

The `X509Chain` certificate chain value now returns the string value of the certificate content instead of a bytes-typed output. To ensure compatibility with older gabsf2 releases, it is checked if the value type is bytes and then decoded. If the type is not bytes, it is assumed that the value is already in string format.

- **Documentation**
- Addition of the Zenodo link
- Update the documentation link
- Update of the release procedure
- Several small cosmetic changes

- **`gb2_job_status` Caching**

b2luigi now caches the state of a gbasf2 Task for 5 minutes before checking again. This reduces the number of checks to Dirac and should improve the performance, especially for large numbers of gbasf2 Tasks run with one scheduler.

Compatibility

No breaking changes from the previous version.

Contributors

Belle II collaboration.

We appreciate the continued support and contributions from the community. Thank you! :raised_hands:

**_Full Changelog_**: [v1.0.0...v1.0.1](https://github.com/belle2/b2luigi/compare/v1.0.0...v1.0.1)

1.0.0

Summary
This release marks the transition of authorship for b2luigi from the previous maintainers on [GitHub](https://github.com/nils-braun/b2luigi) to the [Belle II collaboration](https://github.com/belle2). While there were no major changes to the functionality of b2luigi in this version, the change in authorship signifies a new phase for the project.

Changes
Change of authorship to the Belle II collaboration.

Compatibility

No breaking changes from the previous version.

Contributors

Belle II collaboration.

We appreciate the continued support and contributions from the community. Thank you! :raised_hands:

_**Full Changelog**_: [v0.10.2...v1.0.0](https://github.com/belle2/b2luigi/compare/v0.10.2...v1.0.0)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.