BiBiServ / bibigrid

BiBiGrid is a tool for an easy cluster setup inside a cloud environment.
Apache License 2.0
11 stars 8 forks source link

Update seedir requirement from ~=0.4.2 to ~=0.5.0 #530

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 1 month ago

Updates the requirements on seedir to permit the latest version.

Release notes

Sourced from seedir's releases.

v0.5.0

Added

  • The itemlimit now accepts a 2-tuple as an argument, indicating a separate limit for folders and files (respectively).
  • Added two parameters for handling errors when trying to list the children of a directory:
    • acceptable_listdir_errors: One or more error types (Exceptions) which are ignored when occurring during a directory listing call. E.g., a permissions error.
    • denied_string: String to add to follow directory entries for which the error was triggered.
  • More test cases added

Changed

  • The main algorithm for folder tree traversal has been refactored.
  • The unit tests are now structured for pytest.
  • seedir.folderstructure.FolderStructure is now an abstract class that cannot be directly instantiated. The functions that previously needed to be provided as arguments for the constructor must now be implemented as part of a subclass (see getting started for an example)

Deprecated

  • slash is now totally deprecated; use folderend instead.
Changelog

Sourced from seedir's changelog.

0.5.0

Added

  • The itemlimit now accepts a 2-tuple as an argument, indicating a separate limit for folders and files (respectively).
  • Added two parameters for handling errors when trying to list the children of a directory:
    • acceptable_listdir_errors: One or more error types (Exceptions) which are ignored when occurring during a directory listing call. E.g., a permissions error.
    • denied_string: String to add to follow directory entries for which the error was triggered.
  • More test cases added

Changed

  • The main algorithm for folder tree traversal has been refactored.
  • The unit tests are now structured for pytest.
  • seedir.folderstructure.FolderStructure is now an abstract class that cannot be directly instantiated. The functions that previously needed to be provided as arguments for the constructor must now be implemented as part of a subclass (see getting started for an example)

Deprecated

  • slash is now totally deprecated; use folderend instead.

0.4.2

Changed

  • Syntax for accessing the CLI is updated. Now, you can do seedir or python -m seedir; seedir.command_line is renamed to enable this change.

0.4.0

Added

  • pathlib Path objects now accepted by sd.seedir(). All other arguments apply as normal; arguments accepting callables (mask and formatter) will see pathlib objects.

Changed

  • emoji is now an optional dependency. It can be installed with pip install seedir[emoji]. An error is raised if the emoji style is requested without emoji installed.

  • Reorganization of folderstructure.py and the FolderStructure class

    • folderstructurehelpers.py has been removed. Most of the functions implemented there have become methods of FolderStucture.
    • FolderStructure has been made more user-friendly, and can now be initialized with less functions.
    • There are no longer separate "real dir"/"fake dir" functions for handing item filtering/sorting.
  • Item inclusion is now prioritized above exclusion for include/exclude folders/files. The order of precedence now is mask (1), inclusion (2), exclusion (3). The code in this function was generally rewritten to be more concise (FolderStructure._filter_items()).

  • The ~ in paths is now resolved, as well as . and ..

  • More examples in the getting started readme.

Fixed

  • Typos in documentation
  • Removal of IPYNB checkpoints

Removed

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 weeks ago

Looks like seedir is up-to-date now, so this is no longer needed.