./sysutils/py-invoke, Pythonic task execution

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2.0, Package name: py310-invoke-2.2.0, Maintainer: pkgsrc-users

Invoke is a Python library for managing shell-oriented subprocesses and
organizing executable Python code into CLI-invokable tasks. It draws
inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a
powerful & clean feature set.


Master sites:

Filesize: 292.808 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-18 17:31:12 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-invoke: updated to 2.2.0

2.2.0 2023-07-12
[Feature]: Remove the somewhat inaccurate subclass requirement around Config’s \ 
.clone(into=...) constructor call. It was broken for certain use cases (such as \ 
trying to clone one subclass into a sibling subclass, which would yield a \ 
TypeError) and is irrelevant if one is using the new type annotations.
[Support] Make sure py.typed is in our packaging manifest; without it, users \ 
working from a regular installation can’t perform type checks. Thanks to \ 
Nikita Sobolev for catch & patch.
2.1.3 2023-06-14
[Bug] After the release of 2.1, package-style task modules started looking in \ 
the wrong place for project-level config files (inside one’s eg tasks/ dir, \ 
instead of next to that dir) due to a subtlety in the new import/discovery \ 
mechanism used. This has been fixed. Thanks to Arnaud V. and Hunter Kelly for \ 
the reports and to Jesse P. Johnson for initial debugging/diagnosis.
2.1.2 2023-05-15
[Support] Make sure py.typed is in our packaging manifest; without it, users \ 
working from a regular installation can’t perform type checks. Thanks to \ 
Nikita Sobolev for catch & patch.
2.1.1 2023-05-01
[Bug] Add more rigor around subprocess/runner shutdown to avoid spurious \ 
exceptions & also fix downstream issues in libraries like Fabric. Reported \ 
by Orlando Rodríguez.
[Bug] The importlib upgrade in 2.1 had a corner case bug (regarding from . \ 
import <submodule> functionality within package-like task trees) which in \ 
turn exposed a false-pass in our test suite. Both have now been fixed. Thanks to \ 
Greg Meyer and Robert J. Berger for the bug reports.
2.0.1 2023-04-29
[Bug] Add more rigor around subprocess/runner shutdown to avoid spurious \ 
exceptions & also fix downstream issues in libraries like Fabric. Reported \ 
by Orlando Rodríguez.
[Support] Tweak test suite setup methods to be named setup_method so pytest \ 
stops whining about it. Patch via Jesse P. Johnson.
2.1.0 2023-04-28
[Bug] Resolve equality comparison bug for non-collections. Patch via Jesse P. Johnson
[Support] Tweak test suite setup methods to be named setup_method so pytest \ 
stops whining about it. Patch via Jesse P. Johnson.
[Support] Implement type hints and type checking tests with mypy to reduce \ 
errors and impove code documentation. Patches by Jesse P. Johnson and review by \ 
Sam Bull.
[Support] Implement importlib and deprecate imp module. Patches provided by \ 
Jesse P. Johnson
2.0.0 2023-01-16
[Support]: Task.argspec has changed its return value; it now returns an \ 
inspect.Signature derived from that of the task’s body callable.
   2022-10-25 20:56:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-invoke: updated to 1.7.3

1.7.3 2022-09-30
[Support] Fix a non-fatal bug in our setup.py long_description generation \ 
causing 1.7.0-1.7.2 to have malformed description text on PyPI.

1.7.2 2022-09-30
[Bug] Fix errors thrown when comparing Task objects to non-Task objects; such \ 
comparisons are now always false.
[Bug] Refactor CLI parser instantiation such that the tasks.ignore_unknown_help \ 
feature (added in 1.7) works when Invoke is run in --complete mode, i.e. in \ 
tab-completion scripts.
   2022-07-13 14:11:00 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
py-invoke: added version 1.7.1

Invoke is a Python library for managing shell-oriented subprocesses and
organizing executable Python code into CLI-invokable tasks. It draws
inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a
powerful & clean feature set.