Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looper v1.8.0 Release #487

Merged
merged 249 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
ad03377
Add `pydantic-argparse` dependency
simeoncarstens Jan 14, 2024
1b08809
Add pydantic model scaffold for top-level parser
simeoncarstens Jan 10, 2024
bbf3c75
Add entrypoint
simeoncarstens Jan 11, 2024
d2ac184
Add scaffold for dynamic command model generation
simeoncarstens Jan 11, 2024
44fa244
Validate type of `default` field
simeoncarstens Jan 11, 2024
7b9273a
Allow `None` as value next to allowed argument types
simeoncarstens Jan 11, 2024
2333870
[WIP] Add missing arguments for hello_looper to run
simeoncarstens Jan 11, 2024
2ecef80
Add `cli_pydantic.py` script to setuptools scripts
simeoncarstens Jan 14, 2024
bed8292
Rework design
simeoncarstens Jan 14, 2024
dfb07cf
Fix typo
simeoncarstens Jan 15, 2024
bc5c78f
Use **kwargs in Argument and ArgumentEnum
zz1874 Jan 16, 2024
c4a20d9
Update looper/cli_pydantic.py
zz1874 Jan 16, 2024
c45deb9
Polish docstring of class Argument
zz1874 Jan 16, 2024
82f84d8
Explicitly list `default` and `description` as args for Argument
simeoncarstens Jan 16, 2024
1e6620f
Refactor into separate module
simeoncarstens Jan 16, 2024
71593e4
Add `CONFIG_FILE` argument
simeoncarstens Jan 16, 2024
b990e62
Add `pydantic` fields
simeoncarstens Jan 16, 2024
74e89db
Add a `with_reduced_default` method to `Argument`
simeoncarstens Jan 16, 2024
a498889
Add `SETTINGS` argument
simeoncarstens Jan 16, 2024
b20ab57
Converted manual `pep_config` option into `Argument`
simeoncarstens Jan 16, 2024
5753a2a
Converted manual `output_dir` option into `Argument`
simeoncarstens Jan 16, 2024
da94064
Converted manual `config_file` option into `Argument`
simeoncarstens Jan 16, 2024
6a6c28d
Converted manual `sample_pipeline_interfaces` option into `Argument`
simeoncarstens Jan 16, 2024
6dcf3dd
Converted manual `project_pipeline_interfaces` option into `Argument`
simeoncarstens Jan 16, 2024
88b1fcf
Converted manual `amend` option into `Argument`
simeoncarstens Jan 16, 2024
6e8aa34
Converted manual `sel_flag` option into `Argument`
simeoncarstens Jan 16, 2024
1339d42
Converted manual `exc_flag` option into `Argument`
simeoncarstens Jan 16, 2024
2aa3a03
Make `sample_pipeline_interfaces` optional
simeoncarstens Jan 16, 2024
c9974c4
Make `project_pipeline_interfaces` optional
simeoncarstens Jan 16, 2024
bb10f1b
Make `amend` optional
simeoncarstens Jan 16, 2024
701afab
Replace dashes by underscores in argument names
simeoncarstens Jan 16, 2024
3fc08b6
Fix argument accessions in `Runner`
simeoncarstens Jan 16, 2024
3fb1aef
Fix `lump` argument type
simeoncarstens Jan 16, 2024
6438a35
Print separator line for better visibility
simeoncarstens Jan 16, 2024
e786ea2
Formatting changes
simeoncarstens Jan 17, 2024
5644b7f
Add LOOPER_CONFIG as an argument
simeoncarstens Jan 17, 2024
a0bf3ff
`run` special treatment: `enrich_args_via_cfg`
simeoncarstens Jan 17, 2024
0845d2f
Add `DIVVY` argument
simeoncarstens Jan 17, 2024
3836613
Fix `divvy` argument accession
simeoncarstens Jan 17, 2024
ea95529
Clean up imports
simeoncarstens Jan 17, 2024
b3debfb
Add docstring to `cli_pydantic.py`
simeoncarstens Jan 17, 2024
f2f3669
Add docstrings
simeoncarstens Jan 17, 2024
7a6495e
Refactor to easily support future commands
simeoncarstens Jan 17, 2024
c6319a4
Run formatter
simeoncarstens Jan 18, 2024
8fc9590
Infer currently used subcommand instead of hardcoding it
simeoncarstens Jan 19, 2024
c2e7ca3
Format `setup.py`
simeoncarstens Jan 19, 2024
4b715c3
Loosen `pydantic-argparse` version constraint
simeoncarstens Jan 19, 2024
b2a1e1c
Apply suggestions from code review
simeoncarstens Jan 19, 2024
2eb2e77
Fix typing to support Python 3.8
zz1874 Jan 26, 2024
8b39b76
Add logging setup
simeoncarstens Jan 29, 2024
97d0e57
Make CLI script accept `looper-config` argument
simeoncarstens Jan 29, 2024
ea11a4f
Add arguments for logging
zz1874 Jan 22, 2024
f2f4cc8
Add `SKIP_FILE_CHECKS`, `PACKAGE` and `COMPUTE` arguments
simeoncarstens Jan 26, 2024
5963357
`run` special treatment: move arguments to a second-level namespace
zz1874 Jan 31, 2024
dfc4664
`run` special treatment: adapt `divvy` argument retrieval
zz1874 Jan 31, 2024
712f08d
Move `limit` and `skip` arguments from `run` to top-level model
simeoncarstens Feb 1, 2024
363cb20
Add `settings` argument to `run` model
simeoncarstens Feb 1, 2024
fcb70e5
`run` special treatment: `_proc_resources_spec`
simeoncarstens Jan 31, 2024
0182e43
`run` special treatment: `validate_post_parse`
simeoncarstens Jan 31, 2024
e3bc215
`run` special treatment: project CLI attributes
simeoncarstens Jan 31, 2024
c21d8ed
Remove debug print statements
simeoncarstens Feb 1, 2024
2229334
Run formatter
simeoncarstens Feb 1, 2024
b0d5b4a
Appease `black` version in CI
simeoncarstens Feb 1, 2024
1601fdd
Add necessary arguments: sel_attr, sel_incl, sel_excl
zz1874 Jan 26, 2024
380de82
clean up publish action
nsheff Feb 1, 2024
5f7b822
Merge pull request #448 from pepkit/tweag/remaining-run-arguments
simeoncarstens Feb 1, 2024
6d70a69
Add Developer documentation for adding new models
zz1874 Feb 1, 2024
bb30bae
Add section: special treatment for the `run` command
zz1874 Feb 2, 2024
d74d608
Detail locations of `run` command special treatments in DEVELOPER.md
simeoncarstens Feb 2, 2024
3e9127a
Fix some capitalizations
simeoncarstens Feb 2, 2024
0a49dd2
finish removing attmap from divvy
nsheff Feb 2, 2024
98ec9f5
lint
nsheff Feb 2, 2024
5ee9a73
lint unrelated file with new black
nsheff Feb 2, 2024
9a5220d
Merge pull request #450 from pepkit/fix-divvy-yacman
nsheff Feb 2, 2024
4b1b222
use FutureYAMLConfigManager
nsheff Feb 2, 2024
f479b80
require yacman with FutureYAMLConfigManager
nsheff Feb 2, 2024
56c3ccc
Merge pull request #449 from pepkit/tweag/add-developer-documentation
simeoncarstens Feb 7, 2024
0c41a9a
add newest pipestat pre-release for yacman 0.9.3 compatibility
donaldcampbelljr Feb 7, 2024
0d9194f
Computing Configuration inherits from FutureYamlConfigManager 0.9.3
donaldcampbelljr Feb 8, 2024
23ea9ab
add schema info via temp_ym
donaldcampbelljr Feb 8, 2024
286893c
control statements for filepath vs entries
donaldcampbelljr Feb 8, 2024
f14af3b
implement write_lock in write func
donaldcampbelljr Feb 8, 2024
dce12d5
Merge pull request #440 from pepkit/tweag/run-hello-world
simeoncarstens Feb 8, 2024
4fdecf3
implement working FutureYamlConfigManager using class methods, rename…
donaldcampbelljr Feb 12, 2024
4c81572
make empty dcc actually empty
donaldcampbelljr Feb 12, 2024
30c4b8d
Merge pull request #451 from pepkit/yacman-update
donaldcampbelljr Feb 12, 2024
1c8a8ad
Update pephubclient requirements per https://github.com/pepkit/looper…
donaldcampbelljr Feb 13, 2024
60051e3
fix pydantic move. Fix #454
nsheff Feb 13, 2024
8d029bf
add looper init idea. See #466
nsheff Feb 16, 2024
0f8efe2
Update write_pipestat_config doc strings and out put message https://…
donaldcampbelljr Feb 20, 2024
199967b
Add fix for accessing psm.pipeline_name https://github.com/pepkit/loo…
donaldcampbelljr Feb 20, 2024
1c7d6ff
Begin skeleton to rethink testing #464
donaldcampbelljr Feb 21, 2024
ad02083
Add cloning hello looper and executing run #464
donaldcampbelljr Feb 22, 2024
6b2c599
Attempt to change test directory to fix pipestat results reporting
donaldcampbelljr Feb 22, 2024
d4cfe23
Modify derived attribute path before running samples #464
donaldcampbelljr Feb 26, 2024
cf74a6d
Add check, report, destroy, and table to tests, add returning debug …
donaldcampbelljr Feb 26, 2024
19a24c2
begin adding more pydantic args: rerun and runp #438
donaldcampbelljr Feb 26, 2024
d3f5505
Add table, report, destroy, check #438
donaldcampbelljr Feb 27, 2024
ca77d58
add remaining commands #438
donaldcampbelljr Feb 27, 2024
10cce80
check for none values during pydantic arg parsing #438
donaldcampbelljr Feb 27, 2024
4ad60db
get rerun to work
donaldcampbelljr Feb 28, 2024
5614975
get runp to work, tests are broken for the time being
donaldcampbelljr Feb 28, 2024
c4c3fde
add init functionality to new cli in cli_pydantic.py
donaldcampbelljr Feb 28, 2024
2ff51e1
add init_piface
donaldcampbelljr Feb 28, 2024
492a4ed
add working destroy to cli_pydantic.py
donaldcampbelljr Feb 28, 2024
3981849
add working table command to cli_pydantic.py
donaldcampbelljr Feb 28, 2024
87d70bd
add working report, link, check, clean commands to cli_pydantic.py
donaldcampbelljr Feb 28, 2024
24bdbbd
switch to using cli_pydantic only
donaldcampbelljr Feb 29, 2024
bdd5ee2
fix bug with getattr being False with default of 0
donaldcampbelljr Feb 29, 2024
89f0da7
fix test via test_args
donaldcampbelljr Feb 29, 2024
c165de3
fix more tests, rethink test_args expansion
donaldcampbelljr Feb 29, 2024
b68cb8c
Merge branch 'drc_feature-pydantic-argparse-cli' into dev_rethink_tes…
donaldcampbelljr Feb 29, 2024
935ce5a
Merge pull request #473 from pepkit/dev_rethink_testing
donaldcampbelljr Feb 29, 2024
d59de5e
lint
donaldcampbelljr Feb 29, 2024
973e660
re-add lumpj to pydantic arguments
donaldcampbelljr Feb 29, 2024
1e2e50b
Fix portable argument for report
donaldcampbelljr Feb 29, 2024
e924682
Add tests skipping for tests using outdated pep
donaldcampbelljr Feb 29, 2024
066e661
Switch to pydantic2-argparse
donaldcampbelljr Mar 1, 2024
eaafb64
Fix comprehensive looper-pipestat test
donaldcampbelljr Mar 1, 2024
5287863
Fix comprehensive looper-basic test
donaldcampbelljr Mar 1, 2024
2249711
attempt to fix selecting multiple flags, does not work
donaldcampbelljr Mar 1, 2024
9fdf85a
Add exc_flag and sel_flag to Run command as a poc #438
donaldcampbelljr Mar 4, 2024
debb45c
Move all optional arguments to be under each command as appropriate …
donaldcampbelljr Mar 4, 2024
0589a03
Re-add optional commands to ensure manual tests pass, refactor #438
donaldcampbelljr Mar 5, 2024
83950e9
re-arrange arguments to be consistent
donaldcampbelljr Mar 5, 2024
ebc2eb7
remove unused code
donaldcampbelljr Mar 5, 2024
b447b5c
fix comprehensive tests per refactor
donaldcampbelljr Mar 5, 2024
1219451
fix broken tests, change SEL_FLAG and SEL_INCL to default to lists
donaldcampbelljr Mar 5, 2024
6c61500
refactor to reduce code duplication
donaldcampbelljr Mar 5, 2024
f1eac9c
remove original looper cli
donaldcampbelljr Mar 5, 2024
a9c38f7
implement temp_pep from hello_looper repo, begin fixing tests
donaldcampbelljr Mar 6, 2024
153ec4c
lint
donaldcampbelljr Mar 6, 2024
e3dce56
re-add validating and checking for mutually exclusive commands post p…
donaldcampbelljr Mar 7, 2024
6c9a78e
fix more tests within test_run
donaldcampbelljr Mar 7, 2024
1f09f70
remove redundant test
donaldcampbelljr Mar 7, 2024
6f5ae24
finish TestLooperRunBehavior fixes
donaldcampbelljr Mar 7, 2024
a3eb5eb
finish TestLooperRunPBehavior fixes
donaldcampbelljr Mar 7, 2024
0f8055f
fix Compute Tests
donaldcampbelljr Mar 7, 2024
5333436
fix TestLooperRunPreSubmissionHooks
donaldcampbelljr Mar 7, 2024
b8e2f8e
fix config tests
donaldcampbelljr Mar 7, 2024
14cdfa0
add shell script to download hello_looper branch
donaldcampbelljr Mar 11, 2024
61cea90
replace cloning repo with copying local hello_looper copy
donaldcampbelljr Mar 11, 2024
faba7c8
remove skips if not connected, add prep_temp_pep_basic, and refactor …
donaldcampbelljr Mar 11, 2024
fabe283
fix check tests with new pipestat PEP
donaldcampbelljr Mar 11, 2024
8f72506
fix Selector tests, add advanced pipestat fixture
donaldcampbelljr Mar 11, 2024
cded639
fix test_looper_cfg_required
donaldcampbelljr Mar 11, 2024
30c54a1
use local pep for pipestat comprehensive test
donaldcampbelljr Mar 11, 2024
1275d15
Merge branch 'dev_rethink_testing' into feature-pydantic-argparse-cli
donaldcampbelljr Mar 12, 2024
246c5ef
Merge branch 'feature-pydantic-argparse-cli' into drc_feature-pydanti…
donaldcampbelljr Mar 12, 2024
4125b78
Update tests/conftest.py
donaldcampbelljr Mar 12, 2024
54f0b1f
add todo
donaldcampbelljr Mar 12, 2024
5da3fc9
use == instead of in for assessing subcommands
donaldcampbelljr Mar 12, 2024
3d277c8
add one line function explanations
donaldcampbelljr Mar 12, 2024
98ef5f2
re-add inspect command and information
donaldcampbelljr Mar 12, 2024
953d6d9
revert lumpj, lumpn to lump-j and lump-n
donaldcampbelljr Mar 12, 2024
a3a736d
Merge pull request #472 from pepkit/drc_feature-pydantic-argparse-cli
donaldcampbelljr Mar 12, 2024
676ad6b
Merge pull request #477 from pepkit/feature-pydantic-argparse-cli
donaldcampbelljr Mar 12, 2024
23827a7
add local hello_looper to ensure tests do not fail on github
donaldcampbelljr Mar 13, 2024
a813890
adjust .gitignore to include relevant .looper.yaml files
donaldcampbelljr Mar 13, 2024
c5dcb40
remove other .looper files from .gitignore
donaldcampbelljr Mar 13, 2024
209919c
Merge pull request #478 from pepkit/dev_add_local_hello_looper
donaldcampbelljr Mar 13, 2024
fe68c7d
re-add looper inspect command to cli_pydantic
donaldcampbelljr Mar 13, 2024
0252578
change from using eido inspect for PEP to inspecting looper_config_dict
donaldcampbelljr Mar 13, 2024
76b2100
add eido inspect back as well
donaldcampbelljr Mar 13, 2024
f67affa
Merge pull request #479 from pepkit/dev_fix_inspect
donaldcampbelljr Mar 13, 2024
20e94f6
potential fix for #463
donaldcampbelljr Mar 13, 2024
2d8b46b
reduce to one-liner
donaldcampbelljr Mar 13, 2024
e0cd85d
add assertion to test
donaldcampbelljr Mar 13, 2024
7a52dfd
add waiting status to rerun test
donaldcampbelljr Mar 13, 2024
ce92419
Merge pull request #480 from pepkit/dev_fix_463
donaldcampbelljr Mar 13, 2024
15a7a9f
fix for #467
donaldcampbelljr Mar 13, 2024
c39a7bd
Merge pull request #481 from pepkit/dev_fix_467_rerun
donaldcampbelljr Mar 13, 2024
e99b5d0
change looper_pipestat_config.yaml to debug output instead fo simple …
donaldcampbelljr Mar 13, 2024
c089082
fix for https://github.com/pepkit/looper/issues/470
donaldcampbelljr Mar 13, 2024
08824da
first attempt at https://github.com/pepkit/looper/issues/469
donaldcampbelljr Mar 13, 2024
fd05c04
correct retrieving reports directory, use pipestat rm_record for filt…
donaldcampbelljr Mar 14, 2024
2952f1a
correct destroy bug, gather aggregate_results https://github.com/pepk…
donaldcampbelljr Mar 14, 2024
bd17553
add checks to destroy test https://github.com/pepkit/looper/issues/469
donaldcampbelljr Mar 14, 2024
19b81bb
Merge pull request #482 from pepkit/dev_destroy_pipestat_results
donaldcampbelljr Mar 14, 2024
25f438d
add simple tests, and return false if path ends with csv for is_regis…
donaldcampbelljr Mar 14, 2024
199ba63
skip simple test since functionality is broken
donaldcampbelljr Mar 19, 2024
b6aeda0
skip simple test since functionality is broken
donaldcampbelljr Mar 19, 2024
11517ed
add checking for pep file type and simple test
donaldcampbelljr Mar 19, 2024
c9781d7
Merge remote-tracking branch 'origin/dev_registry_path_csv' into dev_…
donaldcampbelljr Mar 19, 2024
089f9ee
add check for PEP file types first THEN attempt registry path, some t…
donaldcampbelljr Mar 19, 2024
f300c83
fix tests by changing expected Exception
donaldcampbelljr Mar 20, 2024
a383391
add basic pephub test
donaldcampbelljr Mar 20, 2024
fad869f
refactor remove unnecessary tests
donaldcampbelljr Mar 20, 2024
8d5b406
Merge pull request #483 from pepkit/dev_registry_path_csv
donaldcampbelljr Mar 20, 2024
e3f1681
potential fix for attribute error when inferring project name from a …
donaldcampbelljr Mar 20, 2024
db70fe7
Merge pull request #485 from pepkit/dev_fix_csv_Load
donaldcampbelljr Mar 20, 2024
fd588e7
Fix for #474
donaldcampbelljr Mar 21, 2024
32697a0
add test skipping for pephub test
donaldcampbelljr Mar 21, 2024
8d57742
Merge pull request #486 from pepkit/dev_474
donaldcampbelljr Mar 21, 2024
c85fa8d
change pulling tests from hello looper dev branch instead of dev-deriv
donaldcampbelljr Mar 21, 2024
ac94fac
lint
donaldcampbelljr Mar 21, 2024
2f0946d
fix test related to #475
donaldcampbelljr Mar 21, 2024
ac8cd2b
update version and changelog for 1.8.0
donaldcampbelljr Mar 27, 2024
13499b5
test workaround for shortform arguments
donaldcampbelljr May 13, 2024
d1b93f1
add more arguments dictionaries, doc strings,
donaldcampbelljr May 13, 2024
c35dcb0
revert skipping 1 test for pephub
donaldcampbelljr May 13, 2024
1cf1f9b
new approach to add short arguments by adding them to the parser obje…
donaldcampbelljr May 15, 2024
833c41c
fix force argument, add clarification for overlapping short form argu…
donaldcampbelljr May 15, 2024
eca5c64
add docstrings
donaldcampbelljr May 15, 2024
db8f064
use alias on ArgumentEnum to do key value replacement for short args
donaldcampbelljr May 15, 2024
6bcc2cd
pass ArgumentEnums to function to make it explicit and not use lexica…
donaldcampbelljr May 15, 2024
206e47b
lint
donaldcampbelljr May 15, 2024
36bc061
Merge pull request #489 from pepkit/dev_pydantic_arguments_fix
donaldcampbelljr May 15, 2024
74f9cf8
update black gha to stable branch
donaldcampbelljr May 20, 2024
3899672
lint jupyter notebooks
donaldcampbelljr May 20, 2024
5bb45ec
skip pephub test comprehensive for now
donaldcampbelljr May 21, 2024
ba8c3db
first pass at creating pipestat config and associating psms with pifaces
donaldcampbelljr May 22, 2024
1ce86fb
fix bug with pipestat key present but value being None
donaldcampbelljr May 23, 2024
8040e29
use_pipestat = is_pipestat_configured
donaldcampbelljr May 23, 2024
396ea40
ensure a pipestatmanager is created if a config file does already exist
donaldcampbelljr May 23, 2024
970f18b
modify comprehensive tests to have correct paths
donaldcampbelljr May 23, 2024
99c2e24
refactor Checker code
donaldcampbelljr May 23, 2024
f54f85d
refactor Reporter code
donaldcampbelljr May 23, 2024
946b408
refactor Linker and Tabulator
donaldcampbelljr May 23, 2024
9989c9f
refactor Destroyer
donaldcampbelljr May 23, 2024
08e4fa0
attempt refactor for obtaining project level pifaces and associated psms
donaldcampbelljr May 23, 2024
25d5d6a
bump pipestat req to 0.9.2a1
donaldcampbelljr May 24, 2024
e1b3aef
set multi_pipelines to True so that sample and project pipelines can …
donaldcampbelljr May 24, 2024
f63e1ca
Add warning for mismatched pipeline names
donaldcampbelljr May 24, 2024
318b8fe
bump peppy req to 0.40.2 for issue #458
donaldcampbelljr May 28, 2024
a0e1167
update changelog #458
donaldcampbelljr May 28, 2024
e95b62a
refactor _set_pipestat_namespace
donaldcampbelljr Jun 3, 2024
2e1d136
remove unused code, finish Destroyer refactor
donaldcampbelljr Jun 3, 2024
55eb51f
refactor func names
donaldcampbelljr Jun 3, 2024
60d807c
remove unnecessary variable duplication
donaldcampbelljr Jun 3, 2024
f476e68
remove commented code
donaldcampbelljr Jun 3, 2024
64c81f1
add "--project" argument back to Looper
donaldcampbelljr Jun 3, 2024
ba7f03e
refactor obtaining results_file_path during pipestat configuration cr…
donaldcampbelljr Jun 3, 2024
19d3130
remove commented code
donaldcampbelljr Jun 3, 2024
5c9ea75
remove print statements, change info to debug
donaldcampbelljr Jun 3, 2024
c1825c1
ensure we are checking for project level pipestat configuration if us…
donaldcampbelljr Jun 3, 2024
5411139
reduce looper verbosity by switching to logger.debug in some places
donaldcampbelljr Jun 3, 2024
d4f576c
bumbp pipestat req to v0.9.2
donaldcampbelljr Jun 3, 2024
4ec9bed
Merge branch 'dev' into dev_492_refactor_pipestat
donaldcampbelljr Jun 3, 2024
affd8d4
add enum for pipeline type #360
donaldcampbelljr Jun 3, 2024
7c95e6e
Merge pull request #496 from pepkit/dev_492_refactor_pipestat
donaldcampbelljr Jun 4, 2024
6fb615c
add looper/command_models to MANIFEST.in
donaldcampbelljr Jun 4, 2024
f451e71
update changelog for alpha release
donaldcampbelljr Jun 4, 2024
8b5d025
Revert "update changelog for alpha release"
donaldcampbelljr Jun 4, 2024
6b1cf9b
add -v and --version, change version to 1.8.1a1
donaldcampbelljr Jun 4, 2024
92ca137
update changelog.md
donaldcampbelljr Jun 4, 2024
f5347d2
fix --project
donaldcampbelljr Jun 5, 2024
78dea99
update versions for 1.8.1 release
donaldcampbelljr Jun 6, 2024
ffc569e
Merge branch 'master' into dev
donaldcampbelljr Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,18 @@ jobs:
runs-on: ubuntu-latest
name: upload release to PyPI
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ open_pipelines/
.coverage*
.pytest_cache
.vscode/
.looper.yaml
/tests/data/hello_looper-dev/.gitignore

# Reserved files for comparison
*RESERVE*
Expand Down
5 changes: 5 additions & 0 deletions .looper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pep_config: example/pep/path
output_dir: .
pipeline_interfaces:
sample: []
project: []
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ include looper/default_config/*
include looper/default_config/divvy_templates/*
include looper/jinja_templates_old/*
include looper/schemas/*
include looper/command_models/*
29 changes: 29 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.


## [1.8.1] -- 2024-06-06

### Fixed
- added `-v` and `--version` to the CLI
- fixed running project level with `--project` argument

## [1.8.0] -- 2024-06-04

### Added
- looper destroy now destroys individual results when pipestat is configured: https://github.com/pepkit/looper/issues/469
- comprehensive smoketests: https://github.com/pepkit/looper/issues/464
- allow rerun to work on both failed or waiting flags: https://github.com/pepkit/looper/issues/463

### Changed
- Migrated `argparse` CLI definition to a pydantic basis for all commands. See: https://github.com/pepkit/looper/issues/438
- during project load, check if PEP file path is a file first, then check if it is a registry path: https://github.com/pepkit/looper/issues/456
- Looper now uses FutureYamlConfigManager due to the yacman refactor v0.9.3: https://github.com/pepkit/looper/issues/452

### Fixed
- inferring project name when loading PEP from csv: https://github.com/pepkit/looper/issues/484
- fix inconsistency resolving pipeline interface paths if multiple paths are supplied: https://github.com/pepkit/looper/issues/474
- fix bug with checking for completed flags: https://github.com/pepkit/looper/issues/470
- fix looper destroy not properly destroying all related files: https://github.com/pepkit/looper/issues/468
- looper rerun now only runs failed jobs as intended: https://github.com/pepkit/looper/issues/467
- looper inspect now inspects the looper config: https://github.com/pepkit/looper/issues/462
- Load PEP from CSV: https://github.com/pepkit/looper/issues/456
- looper now works with sample_table_index https://github.com/pepkit/looper/issues/458

## [1.7.1] -- 2024-05-28

### Fixed
Expand Down
976 changes: 583 additions & 393 deletions docs/usage.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion looper/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys

from .cli_looper import main
from .cli_pydantic import main
from .cli_divvy import main as divvy_main

if __name__ == "__main__":
Expand Down
3 changes: 2 additions & 1 deletion looper/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
__version__ = "1.7.1"
__version__ = "1.8.1"
# You must change the version in parser = pydantic2_argparse.ArgumentParser in cli_pydantic.py!!!
Loading
Loading