Releases: luispedro/jug
Release 2.4.0
User-visible improvements
- Adds support for lambda functions in
Tasklets - Adds
NoHashclass to disable hashing for some arguments. This is injug.unsafeas it can be used to fool Jug, but it can be useful when there are nuisance arguments that are not relevant for the task (e.g., number of threads) jug.file_store: create files with better permissions
Internal improvements
- Convert to
pyproject.tomlfor building
Bugfixes
- Better error detection for permission problems
- Bugfix when using local imports and
jug pack
This release drops support for versions of Python older than 3.7. Technically, it should still work, but they are too old to test in Github CI, so we will not support them.
Version 2.3.1
Update for Python 3.12
Version 2.3.0
Several minor improvements
jug shell: Addget_filtered_tasks()jug: Fixjug --version(which had been broken in the refactoring to use subcommands)jug shell: Fix message in jug shell when there are no dependencies (it would repeatedly print the message stating "this will only be run once")jug pack: Make it much faster to invalidate elementsfile_store: ensure that the temporary directory exists- Drops support for Python 3.4
Version 2.2.3
Fix jug shell on newer versions of IPython
Version 2.2.2
Fix jug cleanup when packs are being used (after jug pack)
Version 2.2.0
Major change is addition of jug pack subcommand.
Full Changelog: v2.1.1...v2.2.0
Version 2.1.1
Important are the fixes for Python 3.8 and redis.
Compared to 2.1.0, this patch release includes some missing files in the package.
Full list of changes
* Removed Python 2.7 support
* Fix output encoding for Python 3.8
* Fix bug mixing mapreduce() & status --cache
* Make block_access (used in mapreduce()) much faster (20x)
* Fix important redis bug
* More precise output in cleanup command
Version 2.0.2
Bugfix release.
Compared to 2.0.0:
- Fix handling of
JUG_EXIT_IF_FILE_EXISTSenvironmental variable - Fix passing an argument to jug.main() function
- Extend
--pdbto exceptions raised while importing the jugfile (issue #79)
Version 2.0.1
This version is not recommended: use v2.0.2
Version 2.0.0
The big changes are failed tasks (contributed by @unode).
Also, environmental variables are now always checked and creating a file called __jug_please_stop.txt will stop a jug execute run in a clean way.
Full ChangeLog
- jug.backend.base_store has 1 new method
listlocks - jug.backend.base_lock has 2 new methods
failandis_failed - Add 'jug execute --keep-failed' to preserve locks on failing tasks.
- Add 'jug cleanup --failed-only' to remove locks from failed tasks
- 'jug status' and 'jug graph' now display failed tasks
- Check environmental exit variables by default (suggested by Renato Alves, issue #66)
- Fix 'jug sleep-until' in the presence of barrier() (issue #71)