aboutsummaryrefslogtreecommitdiffstats
path: root/poetry.lock (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-03-21Remove poetry lockfileEugene Triguba1-102/+0
2026-03-19Bump back down version constraints for mslex and coloramaEugene Triguba1-0/+102
2026-03-19Replace poetry with uvEugene Triguba1-1356/+0
2026-03-19Setup taskipy2 fork from taskipy v1.14.1Eugene Triguba1-62/+880
2024-11-26fix: Update psutil dep to allow version > 6 (#88)Alban Escalier1-21/+23
2024-06-22Add Tests to ensure Python 3.11, 3.12 support (#82)Roy Sommer1-179/+285
* Taskipy used an old version of pylint for development, which does not run on recent versions of python * Updated pylint for python >= 3.11 * Added Python 3.11, 3.12 to the CI matrix
2023-09-09GH-68: Update mslex to v1 (#69)Eugene Triguba1-63/+63
* Update mslex to v1 * Fix resolution issues on poetry v1.1.5 The resolver on this version isn't quite as good as newer poetry versions. To help it out, the dev dependencies are exact versions so it doesn't have to sift through as many combinations/options. Without this, I was getting into a state where it was resolving dependencies for over 30,000 seconds and showed no signs of stopping anytime soon.
2023-05-13Conservative dependency update (Python >= 3.6) (#57)Dan Clayton1-105/+102
* bump mypy version and poetry update * add python 3.10 to CI * fix python 3.10 in CI and base image
2023-04-22Revert build changesEugene Triguba1-552/+208
2023-04-08gh-32: Update development dependencies for newer python versionsEugene Triguba1-165/+461
2023-04-08gh-32: Downgrade parametrized versionEugene Triguba1-5/+5
2023-04-08gh-32: Fix poetry lockfile to be compatible with older poetry versionEugene Triguba1-169/+165
2023-04-08gh-32: Bump dependency versionsEugene Triguba1-292/+344
2022-03-02Add tomli test case for different python versions (#48)Eugene Triguba1-4/+14
* Add tomli test case for different python versions * Fix function name style
2022-02-10Add support for recursive variables (#44)Eugene Triguba1-1/+16
* Use `self` in pyproject * Add support for recursive variables * Remove duplicate psutil from pyproject * Tweak implementation based on issue feedback * Add type hint to vars_dict * Use `count_of_previously_resolved_vars` name * Clarify test name * Revert refactor and use tuple for variable type return * Add non recursive variable test case * Alter test case name * Add recursive variable docs * Add recursive variables to table of contents * Use PyProject to access static methods * Add better handling of invalid variables * Fix lockfile hash * Move variable import * Only resolve variables once if we are using vars * Fix minor type issue * Reword error message
2022-02-09Replace toml with tomli for TOML v1 support (#43)Eugene Triguba1-78/+159
* Replace toml with tomli for TOML v1 support
2021-09-07Only use and install `mslex` on Windows (#36)Eugene Triguba1-8/+26
* Fix lint issues where encoding was not specified * Only use and install mslex on Windows * Escape backslash in test_windows * Alter Windows CI name Since we actually have some tests other than the path sanity test, it probably makes sense to just call it a Windows test now. * Disable pylint issue with mslex import It's raising an unable to import issue with that line, which makes sense since mslex wouldn't be installed on any other platform other than Windows, but it also wouldn't be run on any other platform so it seems to be a non issue. Co-authored-by: Eugene Triguba <etriguba@sonifi.com>
2021-05-16Allow Declaring Tasks with Descriptions (#35)Roy Sommer1-89/+92
adds the ability to declare tasks explicitly, including command and description text
2021-03-28Add usage printout when no task is given (#31)Eugene Triguba1-152/+158
* Add usage printout when no task is given This addresses issue #30 where 'could not find task "None"' would be outputted when simply `task` is ran without an task name. * Simplify InvalidUsageError's __str__ method * Ignore pyenv's local python version file * Update dependencies in lockfile a.k.a. ran `poetry update` * Disable W0707 in pylint
2020-11-28Support Windows-Style Paths (#27)Roy Sommer1-1/+22
use mslex instead of shlex when running on windows. added a new windows sanity ci test.
2020-08-08Propagate SIGTERM to child processes (#19)RobinFrcd1-15/+15
SIGTERM sent to taskipy are handed over to task subprocess
2020-06-15Refactor taskipy into Task, PyProject, and TaskRunner (#15)Eugene Triguba1-58/+59
* Run `poetry update` * Sort test imports & convert unused f strings to strings There were some f strings that weren't interpolating anything. * Create custom exceptions * Refactor taskipi package into task, pyproject, and task_runner * Add docstrings & types to task & task_runner. Also, a small refactoring of __bail_on_first_fail() in task_runner.py. * Remove docstrings * Add MissingTaskipySettingsSectionError * Make path & items in PyProject private * Check runner is string rather than catching AttributeError * Add default exception case to cli * Add exit_code class variable to exceptions * Change PyProject to take in the file_path This also converts the instance variables to be private and has __load_toml_file convert the file_path to a Path if it is a str. We also no longer store the file_path since __load_toml_file is the only place it is needed so it is just passed in. * Task now builds the commands & takes in args + project I think args could possibly be moved over to commands since that is the only place it is used and that would reduce the amount of things we are passing in to Task. commands would just have to be converted to a method instead of a property then. * TaskRunner only runs the commands now with the project passed in Instead of putting the commands together, that is now delegated to Task. The run_commands_and_bail_on_first_fail method is now gone as that is what `run` does now. Furthermore, the instance variables of TaskRunner are private now. A single instance of the TaskRunner can now run many tasks now, since it is not tied to any particular task. * Update cli to use updated TaskRunner The pyproject.toml path is now passed in with the command name and args being passed to `run`. * Use single quotes * Extract pre_task & post_task to use __find_hooks They are basically the same method, with a one word difference.
2020-02-01Ignore SIGINT While Running Tasks (#8)Roy Sommer1-1/+25
fix: sigint is now ignored by taskipy process, reflects output of task instead